Convert _Complex cosine functions to generated code
[glibc.git] / ChangeLog
bloba9eb75d926ee7f9a1de57a7f790c02a548ed8880
1 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * math/Makefile (libm-gen-calls): Move
4         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5         (libm-calls): Remove above.
7         * math/s_cacos_template.c: Update using type-generic macros.
8         * math/s_cacosh_template.c: Likewise.
9         * math/s_ccos_template.c: Likewise.
10         * math/s_ccosh_template.c: Likwise.
12         * math/s_cacosf.c: Removed.
13         * math/s_cacos.c: Removed.
14         * math/s_cacosl.c: Removed.
15         * math/s_cacoshf.c: Removed.
16         * math/s_cacosh.c: Removed.
17         * math/s_cacoshl.c: Removed.
18         * math/s_ccosf.c: Removed.
19         * math/s_ccos.c: Removed.
20         * math/s_ccosl.c: Removed.
21         * math/s_ccoshf.c: Removed.
22         * math/s_ccosh.c: Removed.
23         * math/s_ccoshl.c: Removed.
25         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
26         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
27         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
28         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
29         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
30         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
32         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
33         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
34         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
35         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
37         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
38         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
39         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
40         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
42 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
44         * s_cacos_template.c: Copy of s_cacos.c.
45         * s_cacosh_template.c: Copy of s_cacosh.c.
46         * s_ccos_template.c: Copy of s_ccos.c.
47         * s_ccosh_template.c: Copy of s_ccosh.c.
49 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
51         * stdlib/tst-strtod-round-skeleton.c:
52         Refactored from tst-strtod-round.c.
54         (L_): New macro to apply literal modifier.
55         (FNPFX): New macro to select str or wcs prefix.
56         (CHAR): New macro to choose wchar_t or char.
57         (STRM): New macro to choose printf for tested character type.
59         (STRTO): New macro to choose appropriate string -> real function.
60         (FNPFXS): Stringitized version of FNPFX.
61         (STR): Support for above macro.
62         (STRX): Likewise.
64         (TEST): Update with above macros.
65         (test): Likewise.
66         (GEN_ONE_TEST): Likewise.
67         (test_in_one_mode): Likewise.
69         * stdlib/tst-strtod-round.c: New file.
70         * wcsmbs/tst-wcstod-round.c: New file.
72         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
73         (tst-wcstod-round): Add libm depencency for fesetround.
75 2016-08-19  Zack Weinberg  <zackw@panix.com>
77         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
79 2016-08-18  Torvald Riegel  <triegel@redhat.com>
81         [BZ #20477]
82         * resolv/res_hconf.c (do_init): Use atomic access.
83         * resolv/res_hconf.h: Add comments.
84         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
85         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
86         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
90         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
91         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
92         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
93         Likewise.
95 2016-08-18  Florian Weimer  <fweimer@redhat.com>
97         [BZ #16907]
98         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
99         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
100         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
101         (__attribute__): Remove definition.
103 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
105         * sysdeps/ieee754/ldbl-128/e_asinl.c:
106         Remove unused sqrtl declaration.
108 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
110         * math/Makefile: (gen-libm-templates.stmp): New rule.
111         (libm-calls): Move carg conj cimag and cabs into ...
112         (gen-libm-calls): New variable.
113         (generated): Inform Make objects from gen-libm-calls
114         may be generated.
116         * sysdeps/generic/math-type-macros.h: New file.
117         * sysdeps/generic/math-type-macros-float.h: Likewise.
118         * sysdeps/generic/math-type-macros-double.h: Likewise.
119         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
120         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
121         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
123         * math/cabs.c: Refactor into
124         * math/cabs_template.c: new file.
125         * math/cabsf.c: Removed.
126         * math/cabsl.c: Removed.
127         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
128         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
130         * math/carg.c: Refactor into
131         * math/carg_template.c: new file.
132         * math/cargf.c: Removed.
133         * math/cargl.c: Removed.
134         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
135         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
137         * math/conj.c: Refactor into
138         * math/conj_template.c: new file.
139         * math/conjf.c: Removed.
140         * math/conjl.c: Removed.
141         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
142         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
144         * math/cimag.c: Refactor into
145         * math/cimag_template.c: new file.
146         * math/cimagf.c: Removed.
147         * math/cimagl.c: Removed.
148         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
149         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
151         * math/cimag.c: Refactor into
152         * math/cimag_template.c: new file.
153         * math/cimagf.c: Removed.
154         * math/cimagl.c: Removed.
155         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
156         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
158 2016-08-17  Florian Weimer  <fweimer@redhat.com>
160         Reduce time to expected nptl/tst-once5 failure.
161         * nptl/tst-once5.cc (TIMEOUT): Define.
163 2016-08-17  Florian Weimer  <fweimer@redhat.com>
165         [BZ #20452]
166         Avoid additional copies of objects in libc.a in static libraries.
167         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
168         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
169         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
170         rt-sysdep.
171         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
172         Add nptl-sysdep.
173         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
174         Add ptw-sysdep.
175         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
176         rt-sysdep.
177         * sysdeps/unix/sysv/linux/alpha/Makefile
178         (libpthread-shared-only-routines): Add ptw-sysdep,
179         ptw-sigprocmask, ptw-rt_sigaction.
180         * sysdeps/unix/sysv/linux/ia64/Makefile
181         (librt-shared-only-routines): Add rt-sysdep.
182         * sysdeps/unix/sysv/linux/i386/Makefile
183         (libpthread-shared-only-routines): Add libc-do-syscall.
184         * sysdeps/unix/sysv/linux/microblaze/Makefile
185         (libpthread-shared-only-routines): Add sysdep.
186         * sysdeps/unix/sysv/linux/powerpc/Makefile
187         (librt-shared-only-routines): Add rt-sysdep.
188         (libpthread-shared-only-routines): Add sysdep.
189         * sysdeps/unix/sysv/linux/s390/Makefile
190         (librt-shared-only-routines): Add rt-sysdep.
191         * sysdeps/unix/sysv/linux/sparc/Makefile
192         (librt-shared-only-routines): Add rt-sysdep.
193         (libpthread-shared-only-routines): Add sysdep.
194         * sysdeps/unix/sysv/linux/tile/Makefile
195         (libpthread-shared-only-routines): Likewise.
197 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
199         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
200         Mask implicit bit out of unpacked value.
201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
205         * sysdeps/sparc/fpu/fesetexcept.c: New file.
207         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
209         * sysdeps/s390/fpu/fesetexcept.c: New file.
211         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
212         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
213         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
215         * sysdeps/mips/fpu/fesetexcept.c: New file.
217         * sysdeps/m68k/fpu/fesetexcept.c: New file.
219         * sysdeps/ia64/fpu/fesetexcept.c: New file.
221         * sysdeps/hppa/fpu/fesetexcept.c: New file.
223         * sysdeps/arm/fesetexcept.c: New file.
225         * sysdeps/alpha/fpu/fesetexcept.c: New file.
227         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
229         * math/fesetexcept.c: New file.
230         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
231         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
232         * math/fenv.h: Define
233         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
234         <bits/libc-header-start.h> instead of including <features.h>.
235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
236         declaration.
237         * manual/arith.texi (fesetexcept): Document function.
238         * math/Versions (fesetexcept): New libm symbol at version
239         GLIBC_2.25.
240         * math/Makefile (libm-support): Add fesetexcept.
241         (tests): Add test-fesetexcept and test-fesetexcept-traps.
242         * math/test-fesetexcept.c: New file.
243         * math/test-fesetexcept-traps.c: Likewise.
244         * sysdeps/nacl/libm.abilist: Update.
245         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
246         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
247         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
248         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
249         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
250         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
251         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
252         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
255         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
256         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
258         Likewise.
259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
260         Likewise.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
262         Likewise.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
264         Likewise.
265         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
266         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
271         Likewise.
272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
273         Likewise.
274         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
278 2016-08-16  Florian Weimer  <fweimer@redhat.com>
280         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
281         New.
282         (do_test): Apply default_stack_size_in_mb if not set.
283         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
285 2016-08-15  Andreas Schwab  <schwab@suse.de>
287         [BZ #20435]
288         CVE-2016-6323
289         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
290         as .cantunwind.
292 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
294         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
295         comment from fraiseexcpt.c.
297         * math/test-fexcept.c (feraiseexcept_exact): New function.
298         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
299         (test_except): Likewise.
301 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
303         [BZ #20455]
304         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
305         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
306         to be restored.
308         * math/test-fexcept-traps.c: New file.
309         * math/test-fexcept.c: Likewise.
310         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
311         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
312         macro.
313         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
314         (EXCEPTION_SET_FORCES_TRAP): Likewise.
316 2016-08-09  Torvald Riegel  <triegel@redhat.com>
318         * include/atomic.h (atomic_fetch_and_relaxed,
319         atomic_fetch_and_release, atomic_fetch_or_release,
320         atomic_fetch_xor_release): New.
322 2016-08-06  Christian Seiler  <christian@iwakd.de>
324         [BZ #20444]
325         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
326         MACH_PORT_NULL.
328 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
330         * math/s_fdim.c: Avoid alias renamed.
331         * math/s_fdimf.c: Likewise.
332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
333         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
334         Add s_fdimf-vis3, s_fdim-vis3.
335         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
336         (CFLAGS-s_fdim-vis3.c): Likewise.
337         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
338         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
340 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
343         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
344         Remove s_fdimf-vis3, s_fdim-vis3.
345         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
346         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
353         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
354         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
356 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
358         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
359         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
360         -Wa,-Av9a -mvis.
362 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
364         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
365         LIT() to individual constants in simple expressions
366         after splitting on spaces.
367         (_apply_lit): Rename replaced version, and use it to
368         apply to what appears to be a token.
370         * math/libm-test.inc: Fix many, many issues with
371         spacing.
373 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
375         * math/math.h: Move comment about <bits/mathdef.h> definitions
376         above inclusion of <bits/mathdef.h>.  Do not mention
377         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
379 2016-08-05  Torvald Riegel  <triegel@redhat.com>
381         * include/atomic.h (atomic_exchange_relaxed): New.
383 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
385         * math/e_scalb.c: Do not include <fenv.h>.
386         (invalid_fn): Do calculation resulting in NaN instead of raising
387         FE_INVALID and returning a NaN explicitly.
388         * math/e_scalbf.c: Do not include <fenv.h>.
389         (invalid_fn): Do calculation resulting in NaN instead of raising
390         FE_INVALID and returning a NaN explicitly.
391         * math/e_scalbl.c: Do not include <fenv.h>.
392         (invalid_fn): Do calculation resulting in NaN instead of raising
393         FE_INVALID and returning a NaN explicitly.
395 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
397         * po/de.po: Updated from Translation Project.
398         * po/fi.po: Likewise.
399         * po/sv.po: Likewise.
401 2016-08-04  Florian Weimer  <fweimer@redhat.com>
403         [BZ #20452]
404         Use sysdep.o from libc.a in static libraries.
405         * sysdeps/unix/sysv/linux/i386/Makefile
406         (libpthread-shared-only-routines): Add sysdep.
407         (librt-shared-only-routines): Likewise.
409 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
411         * math/tgmath.h (nextdown): Define if
412         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
413         (nextup): Likewise.
415         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
416         macro.
417         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
418         Document.
419         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
420         Document macro.
421         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
422         (exp10f): Likewise.
423         (exp10l): Likewise.
424         * math/bits/mathcalls.h (exp10): Declare if
425         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
427         * manual/arith.texi (nextup): Fix typo in last change.
429 2016-08-03  Zack Weinberg  <zackw@panix.com>
431         [BZ #19239]
432         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
433         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
434         define major, minor, and makedev to issue deprecation warnings on use.
435         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
436         previously-activated deprecation warnings for these macros and prevent
437         subsequent inclusions of this header from having any effect.
438         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
439         including <sys/sysmacros.h>, and undefine it again afterward.
441 2016-08-03  Zack Weinberg  <zackw@panix.com>
443         * sysdeps/generic/sys/sysmacros.h: Delete file.
444         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
445         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
446         * bits/sysmacros.h: ... here; this encoding is now the generic
447         encoding.  Now defines only the following macros:
448         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
449         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
450         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
452         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
453         bits/sysmacros.h and the above new macros to generate the
454         public implementations of major, minor, and makedev.
455         * misc/tst-makedev.c: New test.
456         * include/sys/sysmacros.h: New wrapper.
458         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
459         (routines): Add makedev.
460         (tests): Add tst-makedev.
461         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
462         gnu_dev_makedev.
463         * posix/Makefile (headers): Remove sys/sysmacros.h.
464         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
466         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
467         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
468         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
469         * sysdeps/unix/sysv/linux/alpha/libc.abilist
470         * sysdeps/unix/sysv/linux/arm/libc.abilist
471         * sysdeps/unix/sysv/linux/hppa/libc.abilist
472         * sysdeps/unix/sysv/linux/i386/libc.abilist
473         * sysdeps/unix/sysv/linux/ia64/libc.abilist
474         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
475         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
476         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
477         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
478         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
479         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
480         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
481         * sysdeps/unix/sysv/linux/nios2/libc.abilist
482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
486         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
487         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
488         * sysdeps/unix/sysv/linux/sh/libc.abilist
489         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
490         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
493         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
494         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
495         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
496         Add GLIBC_2.25.
498         * include/features.h (__glibc_clang_prereq): New macro.
499         * misc/sys/cdefs.h (__glibc_clang_has_extension)
500         (__attribute_deprecated_msg__): New macros.
502 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
504         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
505         macro.
506         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
507         * manual/arith.texi (issignaling): Document as ISO from TS
508         18661-1:2014.
509         (nextup): Likewise.
510         (nextupf): Likewise.
511         (nextupl): Likewise.
512         (nextdown): Likewise.
513         (nextdownf): Likewise.
514         (nextdownl): Likewise.
515         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
516         macro.
517         * math/math.h: Define
518         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
519         <bits/libc-header-start.h> instead of including <features.h>.
520         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
521         [__USE_GNU].
522         * math/bits/mathcalls.h (nextdown): Declare if
523         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
524         (nextup): Likewise.
525         (__issignaling): Likewise.
527 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
529         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
530         check, and remove __glibc_likely hint
531         from FP_INFINITE check.
532         * s_csinhf.c (__csinhf): Likewise.
534         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
535         hint from FP_INFINITE check.
536         * s_csinhl.c (__csinhl): Likewise.
538 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
540         * math/Makefile (libm-calls): Insert F placeholder into
541         object names.  Move w_lgamma_compat* routines into
542         (libm-compat-calls): New variable.
543         (libm-compat-calls-ldouble-yes): New variable.
544         (calls): Insert F placeholder.
545         (generated): Redefine using new type-foreach macro call.
546         (routines): Likewise.
548         (types): New variable to hold a list of symbolic names
549         for each type supported by the target machine.
550         (libm-routines): Redefine using new types variable.
551         (type-foreach): macro to replace fooF with the
552         appropriately suffixed foo for each types.
554         (type-ldouble-suffix): New variable.
555         (type-ldouble-routines): Likewise.
556         (type-ldouble-yes): Likewise.
557         (type-double-suffix): Likewise.
558         (type-double-routines): Likewise.
559         (type-float-suffix): Likewise.
560         (type-float-routines): Likewise.
562         (dbl-only-routines): Remove.
563         (long-c-yes): Likewise.
564         (long-m-routines): Likewise.
565         (long-m-support): Likewise.
566         (long-m-yes): Likewise.
567         (test-longdouble-yes): Likewise.
569         (test-float.o): Simplify by increasing the scope of the
570         recipe which adds libm-test.stmp to the vector types.
571         (test-ifloat.o): Likewise.
572         (test-float-finite.o): Likewise.
573         (test-double.o): Likewise
574         (test-idouble.o): Likewise.
575         (test-double-finite.o): Likewise.
576         (test-ldouble.o): Likewise
577         (test-ildoubl.o): Likewise.
578         (test-ldouble-finite.o): Likewise.
580         (libm-tests): Redefine type tests using foreach and the
581         list of types in types.
583         (CPPFLAGS-test-ildoubl.c): Rename to
584         (CPPFLAGS-test-ildouble.c): New variable
586         * math/test-ildoubl.c: Rename to
587         * math/test-ildouble.c: New file.
589 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
591         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
592         Use fabsl instead of fabs.
593         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
594         Likewise.
595         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
596         Add long double suffix to constant to ensure proper
597         promotion to long double.
599 2016-08-03  Tom Tromey  <tom@tromey.com>
601         [BZ #20311]
602         * nptl_db/Makefile (headers): Add proc_service.h.
603         * nptl_db/proc_service.h: Add include guard.  Use
604         __BEGIN/__END_DECLS.
605         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
606         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
607         arguments.
610 2016-08-03  Florian Weimer  <fweimer@redhat.com>
612         [BZ #17730]
613         Avoid using memalign for TCB allocations.
614         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
615         (_dl_allocate_tls_storage): Use malloc and manual alignment.
616         Avoid alignment gap in the TLS_DTV_AT_TP case.
617         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
618         determine the pointer to free.
619         * nptl/tst-tls3-malloc.c: New test.
620         * nptl/Makefile (tests): Add it.
621         (tst-tls3-malloc): Link with libdl, libpthread.
622         (LDFLAGS-tst-tls3-malloc): Set.
623         (tst-tls3-malloc.out): Depend on DSO used in test.
625 2016-08-03  Florian Weimer  <fweimer@redhat.com>
627         [BZ #17730]
628         Avoid using memalign for TLS allocations.
629         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
630         is_static member with to_free member.
631         (union dtv): Use struct dtv_pointer.
632         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
633         dtv_pointer instead of is_static.
634         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
635         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
636         instead of val.
637         (allocate_dtv_entry): New function.
638         (allocate_and_init): Return struct dtv_pointer.  Call
639         allocate_dtv_entry instead of __libc_memalign.
640         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
641         instead of val.
642         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
643         instead of is_static.  Adjust call to allocate_and_init.
644         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
645         struct dtv_pointer instead of val.
647 2016-08-03  Florian Weimer  <fweimer@redhat.com>
649         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
650         (MALLOC_ALIGN_MASK): Move ...
651         * malloc/malloc-internal.h: ... to here.
652         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
654 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
656         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
657         (UDP_ENCAP_GTP1U): Likewise.
659         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
660         (PF_MAX): Update value.
661         (AF_QIPCRTR): New macro.
663 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
665         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
666         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
667         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
668         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
669         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
670         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
671         s_truncf-vis3, s_trunc-vis3.
672         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
673         (CFLAGS-s_ceil-vis3.c): Likewise.
674         (CFLAGS-s_floorf-vis3.c): Likewise.
675         (CFLAGS-s_floor-vis3.c): Likewise.
676         (CFLAGS-s_truncf-vis3.c): Likewise.
677         (CFLAGS-s_trunc-vis3.c): Likewise.
678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
686         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
687         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
688         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
689         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
691 2016-08-02  David S. Miller  <davem@davemloft.net>
693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
694         (__nearbyint_vis3): Don't check for sNaN before float register is
695         loaded with the incoming argument.
696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
697         (__nearbyintf_vis3): Likewise.
698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
699         Likewise.
700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
701         Likewise.
703         * string/test-strncmp.c (do_test_limit): Make sure the test data
704         stream is aligned as required for the type "CHAR".
705         (do_test): Likewise.
707 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
709         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
710         by beq instructions jumping to the end of the function.
711         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
712         clobber list. Use "i" constraint instead of "X".
713         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
714         of "X".
716 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
718         * bits/libc-header-start.h: New file.
719         * Makefile (headers): Add bits/libc-header-start.h.
720         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
721         (__GLIBC_USE): New macro.
722         * libio/stdio.h: Define
723         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
724         <bits/libc-header-start.h> instead of including <features.h>.
725         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
726         (open_memstream): Likewise.
727         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
728         (__asprintf): Likewise.
729         (asprintf): Likewise.
730         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
731         (getdelim): Likewise.
732         (getline): Likewise.
733         * string/string.h: Define
734         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
735         <bits/libc-header-start.h> instead of including <features.h>.
736         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
737         (strndup): Likewise.
738         * wcsmbs/wchar.h: Define
739         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
740         <bits/libc-header-start.h> instead of including <features.h>.
741         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
742         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
744 2016-08-02  Florian Weimer  <fweimer@redhat.com>
746         Support linking against compatibility symbols, for use in tests.
747         * include/libc-symbols.h (symbol_version_reference): New macro.
748         (symbol_version): Use it.
749         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
750         (compat_symbol): Use compat_symbol_reference.
751         (compat_symbol_1, compat_symbol_2): Remove.
752         (compat_symbol_reference, compat_symbol_reference_1)
753         (compat_symbol_reference_2): New macro.  Use
754         symbol_version_reference.
756 2016-08-02  Florian Weimer  <fweimer@redhat.com>
758         [BZ #19469]
759         * malloc/Makefile (CPPFLAGS): Compile tests with
760         -DTEST_NO_MALLOPT.
761         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
763 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
765         [BZ #20033]
766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
767         finite version.
768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
769         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
770         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
771         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
772         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
777         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
778         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
784         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
785         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
786         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
787         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
788         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
789         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
790         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
791         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
792         in zero power.
794 2016-08-02  Florian Weimer  <fweimer@redhat.com>
796         [BZ #20370]
797         * malloc/arena.c (get_free_list): Update comment.  Assert that
798         arenas on the free list have no attached threads.
799         (remove_from_free_list): New function.
800         (reused_arena): Call it.
802 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
804         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
805         when it is a NaN.
806         [_IEEE_FP_INEXACT] Remove.
807         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
808         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
809         when it is a NaN.
810         [_IEEE_FP_INEXACT] Remove.
811         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
812         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
813         when it is a NaN.
814         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
815         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
816         when its absolute value is greater than 0x1.0p52.
817         [_IEEE_FP_INEXACT] Remove.
818         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
819         when its absolute value is greater than 0x1.0p23.
820         [_IEEE_FP_INEXACT] Remove.
822 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
824         * version.h (RELEASE): Set to "development"
825         (VERSION): Set to 2.24.90.
826         * NEWS: Add 2.25 section.
828         * version.h (RELEASE): Set to "stable"
829         (VERSION): Set to 2.24.
830         * include/features.h (__GLIBC_MINOR__): Set to 24.
832         * NEWS: Add 2.24 fixed bugs.
833         * po/libc.pot: Regenerate.
835 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
838         [$(subdir) = math] (libm-sysdep_routines): Remove.
839         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
840         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
841         s_truncf-vis3, s_trunc-vis3.
842         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
844         file.
845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
878         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
879         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
880         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
881         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
882         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
883         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
884         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
885         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
886         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
887         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
889 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
891         [BZ #20384]
892         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
893         test-double-libmvec-sincos-avx-main.o,
894         test-double-libmvec-sincos-avx2-main.o,
895         test-double-libmvec-sincos-main.o,
896         test-float-libmvec-sincosf-avx-main.o,
897         test-float-libmvec-sincosf-avx2-main.o and
898         test-float-libmvec-sincosf-main.o.
899         test-float-libmvec-sincosf-avx512-main.o.
900         ($(objpfx)test-double-libmvec-sincos): Also link with
901         $(objpfx)test-double-libmvec-sincos-main.o.
902         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
903         $(objpfx)test-double-libmvec-sincos-avx-main.o.
904         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
905         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
906         ($(objpfx)test-float-libmvec-sincosf): Also link with
907         $(objpfx)test-float-libmvec-sincosf-main.o.
908         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
909         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
910         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
911         test-double-libmvec-sincos-avx512-main.o and
912         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
913         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
914         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
915         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
916         (CFLAGS-test-double-libmvec-sincos.c): Removed.
917         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
918         (CFLAGS-test-double-libmvec-sincos-main.c): New.
919         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
920         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
921         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
922         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
923         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
924         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
925         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
926         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
927         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
928         -DREQUIRE_AVX2.
929         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
930         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
931         -DREQUIRE_AVX512F.
932         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
933         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
934         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
935         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
936         file.
937         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
938         Likewise.
939         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
940         Likewise.
941         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
942         Likewise.
943         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
944         Likewise.
945         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
946         Likewise.
947         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
948         Likewise.
949         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
950         Likewise.
952 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
954         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
956 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
958         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
959         and typo in a comment about AT_HWCAP entry.
961 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
963         * sysdeps/aarch64/libm-test-ulps: Updated.
965 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
967         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
968         of r13 as it is not restored in mvcle case.
970 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
972         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
973         Rename "ret" to "__ret".
974         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
975         inline_syscall5, inline_syscall6): Likewise.
977 2016-07-19   Will Newton  <will.newton@gmail.com>
979         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
980         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
981         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
982         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
983         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
985 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
987         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
988         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
989         -mfpmath=387 with $(rtld-CFLAGS).
990         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
991         $(rtld-CFLAGS).
993 2016-07-18   Ross Burton  <ross.burton@intel.com>
994              Khem Raj  <raj.khem@gmail.com>
996         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
997         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
998         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
999         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1000         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1001         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1002         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1003         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1004         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1005         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1006         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1007         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1008         R_METAG_TLS_DTPOFF): New.
1010 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1011             Matt Clay  <mclay@lycos.com>
1013         [BZ #20357]
1014         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1015         to call __mpsin/__mpcos and to negate values.
1016         * math/auto-libm-test-in: Add test.
1017         * math/auto-libm-test-out: Regenerate.
1019 2016-07-18  Zack Weinberg  <zackw@panix.com>
1021         * grp/Makefile: Don't install the internal header grp-merge.h.
1023 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1025         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1027 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1029         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1031 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1033         [BZ #15368]
1034         * sysdeps/unix/sysv/linux/nptl-signals.h
1035         (__nptl_clear_internal_signals): New function.
1036         (__libc_signal_block_all): Likewise.
1037         (__libc_signal_block_app): Likewise.
1038         (__libc_signal_restore_set): Likewise.
1039         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1040         implementation.
1041         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1042         the cached pid/tid value in pthread structure.
1044 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1046         [BZ #20347]
1047         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1049 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1051         [BZ #20348]
1052         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1053         preadv64, pwrite64 and pwritev64.
1055 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1057         [BZ #20350]
1058         * posix/tst-preadwrite.c: Renamed to ...
1059         * posix/tst-preadwrite-common.c: This.
1060         (PREAD): Removed.
1061         (PWRITE): Likewise.
1062         (STRINGIFY): Likewise.
1063         (STRINGIFY2): Likewise.
1064         (do_prepare): Make it static and remove function arguments.
1065         (do_test): Likewise.
1066         (PREPARE): Updated.
1067         (TEST_FUNCTION): New.
1068         (name): Make it static.
1069         (fd): Likewise.
1070         (do_prepare): Use create_temp_file.
1071         (do_test): Renamed to ...
1072         (do_test_with_offset): This.  Make it static and accept offset.
1073         Properly check return value of PWRITE and PREAD.  Return bytes
1074         read.  Don't close fd nor unlink name.
1075         * posix/tst-preadwrite.c: Rewrite.
1076         * posix/tst-preadwrite64.c: Likewise.
1078 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1080         [BZ #20309]
1081         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1082         -mtls-dialect=gnu2 works.
1083         * configure: Regenerated.
1084         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1085         (tests): Add tst-gnu2-tls1.
1086         (modules-names): Add tst-gnu2-tls1mod.
1087         ($(objpfx)tst-gnu2-tls1): New.
1088         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1089         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1090         * elf/tst-gnu2-tls1.c: New file.
1091         * elf/tst-gnu2-tls1mod.c: Likewise.
1092         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1093         bytes for push in the PLT entry to align the stack.
1095 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1097         [BZ #20349]
1098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1100 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1102         [BZ #18707]
1103         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1104         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1106 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1108         * sysdeps/unix/sysv/linux/sysdep.h
1109         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1110         guards.
1111         * misc/tst-preadvwritev-common.c: New file.
1112         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1113         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1114         a check for files larger than 2GB.
1116         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1117         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1118         * sysdeps/unix/sysv/linux/pread.c
1119         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1120         __OFF_T_MATCHES_OFF64_T.
1121         * sysdeps/unix/sysv/linux/pread64.c
1122         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1123         * sysdeps/unix/sysv/linux/preadv.c
1124         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1125         * sysdeps/unix/sysv/linux/preadv64.c
1126         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1127         * sysdeps/unix/sysv/linux/pwrite.c
1128         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1129         * sysdeps/unix/sysv/linux/pwrite64.c
1130         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1131         * sysdeps/unix/sysv/linux/pwritev.c
1132         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1133         * sysdeps/unix/sysv/linux/pwritev64.c
1134         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1136 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1138         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1139         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1141 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1143         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1145 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1147         [BZ #20240]
1148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1149         (CFLAGS-s_modf-ppc32.c): New variable.
1150         (CFLAGS-s_modff-ppc32.c): Likewise.
1151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1152         (CFLAGS-s_modf-ppc64.c): Likewise.
1153         (CFLAGS-s_modff-ppc64.c): Likewise.
1155 2016-07-07  Andreas Schwab  <schwab@suse.de>
1157         [BZ #20263]
1158         * nptl/tst-robust10.c: New test.
1159         * nptl/Makefile (tests): Add tst-robust10.
1161 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1163         [BZ #20263]
1164         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1166 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1168         * sysdeps/s390/linkmap.h (struct link_map_machine):
1169         Remove member gotplt and add member jmprel.
1170         * sysdeps/s390/s390-32/dl-machine.h
1171         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1172         instead of gotplt with &got[3].
1173         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1174         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1176 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1178         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1180 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1182         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1183         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1184         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1185         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1186         * libio/vtables.c (_IO_vtable_check)
1187         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1188         * libio/libioP.h (IO_set_accept_foreign_vtables)
1189         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1191 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1193         [BZ #20314]
1194         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1195         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1196         $(common-objpfx)cmath.
1197         ($(common-objpfx)cstdlib): New target.
1198         ($(common-objpfx)cmath): Likewise.
1200 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1202         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1204 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1206         [BZ #20327]
1207         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1208         are not part of the string.
1210 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1212         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1213         * nptl/tst-cancel4-common.h (fifoname): New variable.
1214         (fifofd): Likewise.
1215         (cl_fifo): New function.
1216         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1217         SIGINT.
1218         (tf_open): Add early cancel test.
1220 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1222         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1224 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1226         * sysdeps/generic/ldsodefs.h
1227         (dl_symbol_visibility_binds_local_p): New inline function.
1228         * elf/dl-addr.c (determine_info): Treat hidden and internal
1229         symbols as local.
1230         * elf/dl-lookup.c (do_lookup_x): Likewise.
1231         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1233 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1235         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1236         invalid exception for a sNaN input.
1237         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1238         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1239         (__nearbyint_vis3): Likewise
1240         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1241         (__nearbyintf_vis3): Likewise
1242         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1243         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1244         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1245         Likewise.
1246         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1247         Likewise.
1249 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1251         [BZ #20139]
1252         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1253         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1254         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1255         2.24 or above.
1256         (HAVE_AVX512_ASM_SUPPORT): Removed.
1257         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1258         * sysdeps/x86_64/configure: Regenerated.
1259         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1260         check unconditional.
1261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1262         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1264         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1265         Likewise.
1266         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1267         Likewise.
1268         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1269         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1270         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1272         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1273         Likewise.
1274         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1275         Likewise.
1276         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1277         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1279         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1281         Likewise.
1282         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1283         Likewise.
1284         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1285         Likewise.
1286         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1287         Likewise.
1288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1289         Likewise.
1290         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1291         Likewise.
1292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1293         Likewise.
1294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1295         Likewise.
1296         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1297         Likewise.
1298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1299         Likewise.
1300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1301         Likewise.
1303 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1305         [BZ #20024]
1306         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1308         of this implementation of vector function.
1309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1311         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1312         Likewise.
1313         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1314         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1315         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1316         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1317         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1318         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1319         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1320         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1321         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1322         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1323         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1324         for testing vector sincos with fixed ABI.
1325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1326         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1327         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1328         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1329         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1330         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1331         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1332         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1333         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1334         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1335         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1336         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1337         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1338         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1339         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1340         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1342 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1344         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1346 2016-06-30  Anton Blanchard  <anton@samba.org>
1348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1349         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1350         s_sinf-ppc64.
1351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1354         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1356 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1360         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1361         e_expf-ppc64.
1362         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1365         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1367 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1369         [BZ #20277]
1370         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1371         when SHARED is defined.
1373 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1375         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1376         (index_arch_Prefer_ERMS): Likewise.
1377         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1378         __memcpy_erms for Prefer_ERMS.
1379         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1380         (__memmove_erms): Enabled for libc.a.
1381         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1382         __memmove_erms or Prefer_ERMS.
1383         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1384         __mempcpy_erms for Prefer_ERMS.
1385         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1386         __memset_erms for Prefer_ERMS.
1388 2016-06-30  Andreas Schwab  <schwab@suse.de>
1390         [BZ #20262]
1391         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1392         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1393         of memory.
1395 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1397         [BZ #18645]
1398         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1399         (test-extras): Add tst-cleanupx4aux.
1400         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1401         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1402         tst-cleanupx4aux.o.
1403         * nptl/tst-cleanupx4aux.c: New file.
1405 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1407         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1409 2016-06-29  Andreas Schwab  <schwab@suse.de>
1411         [BZ #20260]
1412         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1413         address before the beginning of the string as an integer to avoid
1414         array-bounds warning.
1416 2016-06-28  Richard Henderson  <rth@redhat.com>
1418         * elf/elf.h (EM_BPF): New.
1419         (EM_NUM): Update.
1420         (R_BPF_NONE, R_BPF_MAP_FD): New.
1422         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1423         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1424         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1425         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1426         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1427         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1428         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1429         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1430         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1431         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1432         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1433         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1434         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1435         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1436         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1437         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1438         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1439         (EM_NUM): Update.
1441 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1443         [BZ #18960]
1444         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1445         Set _nl_current_LC_CATEGORY_used to two instead of one.
1447 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1449         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1450         (do_test): ... this.
1451         (TEST_FUNCTION): New macro.
1452          Include test-skeleton.c.
1453         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1454         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1456 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1458         [BZ #15479]
1459         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1460         floating-point environment rather than just control word.
1461         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1462         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1463         floating-point environment, with "invalid" exceptions merged in,
1464         rather than just control word.
1465         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1466         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1467         "inexact" exceptions.
1469         [BZ #15479]
1470         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1471         floating-point environment rather than just control word.
1472         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1473         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1474         floating-point environment, with "invalid" exceptions merged in,
1475         rather than just control word.
1476         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1477         * math/libm-test.inc (floor_test_data): Do not allow spurious
1478         "inexact" exceptions.
1480         [BZ #15479]
1481         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1482         floating-point environment rather than just control word.
1483         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1484         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1485         floating-point environment, with "invalid" exceptions merged in,
1486         rather than just control word.
1487         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1488         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1489         "inexact" exceptions.
1491 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1493         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1494         __libc_vfork.
1495         (__vfork) [IS_IN (libc)]: Remove alias.
1496         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1497         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1498         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1500 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1502         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1503         of atomic_compare_and_exchange_bool_rel.
1504         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1505         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1506         catomic_compare_and_exchange_bool_rel): Remove.
1507         * sysdeps/aarch64/atomic-machine.h
1508         (atomic_compare_and_exchange_bool_rel): Likewise.
1509         * sysdeps/alpha/atomic-machine.h
1510         (atomic_compare_and_exchange_bool_rel): Likewise.
1511         * sysdeps/arm/atomic-machine.h
1512         (atomic_compare_and_exchange_bool_rel): Likewise.
1513         * sysdeps/mips/atomic-machine.h
1514         (atomic_compare_and_exchange_bool_rel): Likewise.
1515         * sysdeps/microblaze/atomic-machine.h
1516         ( __arch_compare_and_exchange_bool_8_rel,
1517         __arch_compare_and_exchange_bool_16_rel): Likewise.
1518         * sysdeps/powerpc/atomic-machine.h
1519         ( __arch_compare_and_exchange_bool_8_rel,
1520         __arch_compare_and_exchange_bool_16_rel): Likewise.
1521         * sysdeps/powerpc/powerpc32/atomic-machine.h
1522         ( __arch_compare_and_exchange_bool_32_rel,
1523         __arch_compare_and_exchange_bool_64_rel): Likewise.
1524         * sysdeps/powerpc/powerpc64/atomic-machine.h
1525         ( __arch_compare_and_exchange_bool_32_rel,
1526         __arch_compare_and_exchange_bool_64_rel): Likewise.
1527         * sysdeps/tile/atomic-machine.h
1528         (atomic_compare_and_exchange_bool_rel): Likewise.
1530 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1532         [BZ #20296]
1533         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1534         when either argument is a NaN.
1535         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1536         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1538         * math/libm-test.inc (snan_value_ld): New macro.
1539         (isgreater_test_data): Add sNaN tests.
1540         (isgreaterequal_test_data): Likewise.
1541         (isless_test_data): Likewise.
1542         (islessequal_test_data): Likewise.
1543         (islessgreater_test_data): Likewise.
1544         (isunordered_test_data): Likewise.
1545         (nextafter_test_data): Likewise.
1546         (nexttoward_test_data): Likewise.
1547         (remainder_test_data): Likewise.
1548         (remquo_test_data): Likewise.
1549         (significand_test_data): Likewise.
1550         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1552 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1554         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1555         environment macros are defined.
1556         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1558 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1560         [BZ #20191]
1561         Implement vtable verification in libio.
1562         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1563         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1564         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1565         _IO_new_file_init_internal instead of _IO_file_init.
1566         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1567         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1568         * libio/Makefile (routines): Add vtables.
1569         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1570         (_IO_init): Remove, not for internal use.
1571         (_IO_init_internal): Declare, internal replacement for _IO_init.
1572         (_IO_file_init): Remove, not for internal use.
1573         (_IO_new_file_init): Remove, not for internal use.
1574         (_IO_new_file_init_internal): Declare, internal replacement for
1575         _IO_new_file_init.
1576         (_IO_old_file_init): Remove, not for internal use.
1577         (_IO_old_file_init_internal): Declare, internal replacement for
1578         _IO_old_file_init.
1579         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1580         internal use.
1581         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1582         Declare.
1583         (libio_vtable): New macro.
1584         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1585         functions.
1586         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1587         _IO_new_file_init.
1588         (_IO_new_file_init): New externally visible wrapper which disables
1589         vtable verification.
1590         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1591         Define as vtables.
1592         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1593         (_IO_init): New externally visible wrapper which disables
1594         vtable verification.
1595         * libio/iofdopen.c (_IO_new_fdopen): Call
1596         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1597         comment.
1598         * libio/iofopen.c (__fopen_internal): Call
1599         _IO_new_file_init_internal instead of _IO_file_init.
1600         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1601         Define as vtables.
1602         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1603         _IO_new_file_init_internal instead of _IO_file_init.
1604         * libio/iopopen.c (_IO_new_popen): Likewise.
1605         (_IO_proc_jumps): Define as vtable.
1606         * libio/iovdprintf.c (_IO_vdprintf): Call
1607         _IO_new_file_init_internal instead of _IO_file_init.
1608         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1609         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1610         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1611         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1612         _IO_old_file_init.
1613         (_IO_old_file_init): New externally visible wrapper which disables
1614         vtable verification.
1615         (_IO_old_file_jumps): Define as vtable.
1616         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1617         _IO_old_file_init_internal instead of _IO_old_file_init.
1618         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1619         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1620         (_IO_old_proc_jumps): Define as vtable.
1621         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1622         Define as vtables.
1623         * libio/vtables.c: New file.
1624         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1625         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1626         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1627         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1628         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1629         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1630         instead of _IO_init.
1632 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1634         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1636 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1638         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1639         potentially unused.
1641 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1643         * test-skeleton.c (write_message): New function.
1644         * malloc/tst-mallocfork2.c (write_message): Remove.
1645         * debug/tst-longjmp_chk2.c (write_indented): New function.
1646         (write_message): Remove.
1647         (stackoverflow_handler): Call write_indented.
1649 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1651         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1652         "inexact" exceptions after fnstenv.
1653         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1654         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1655         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1657 2015-06-22  Zack Weinberg  <zackw@panix.com>
1659         * sysdeps/generic/bits/hwcap.h: Moved to ...
1660         * bits/hwcap.h: Here.
1662 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1664         * sysdeps/aarch64/memcpy.S (memcpy):
1665         Further tuning for performance.
1667 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1669         [BZ #20284]
1670         * malloc/arena.c (reused_arena): Do not return NULL if we start
1671         out with a non-corrupted arena.
1673 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1675         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1676         * misc/tst-preadvwritev.c: New file.
1677         * misc/tst-preadvwritev64.c: Likewise.
1678         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1679         usage.
1680         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1681         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1682         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1683         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1685 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1687         [BZ #19654]
1688         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1689         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1690         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1691         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1692         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1693         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1694         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1695         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1696         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1697         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1698         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1699         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1700         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1701         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1702         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1703         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1704         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1705         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1706         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1707         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1708         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1709         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1710         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1711         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1712         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1713         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1715 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1717         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1718         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1720 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1722         * sysdeps/aarch64/memcpy.S (memcpy):
1723         Rewrite of optimized memcpy and memmove.
1724         * sysdeps/aarch64/memmove.S (memmove): Remove
1725         memmove code (merged into memcpy.S).
1727 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1729         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1730         * sysdeps/generic/dl-dtv.h: New file.
1731         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1732         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1733         (dtv_t): Remove.
1734         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1735         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1736         (dtv_t): Remove.
1737         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1738         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1739         (dtv_t): Remove.
1740         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1741         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1742         (dtv_t): Remove.
1743         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1744         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1745         (dtv_t): Remove.
1746         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1747         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1748         (dtv_t): Remove.
1749         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1750         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1751         (dtv_t): Remove.
1752         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1753         (dtv_t): Remove.
1754         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1755         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1756         (dtv_t): Remove.
1757         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1758         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1759         (dtv_t): Remove.
1760         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1761         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1762         (dtv_t): Remove.
1763         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1764         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1765         (dtv_t): Remove.
1766         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1767         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1768         (dtv_t): Remove.
1769         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1770         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1771         (dtv_t): Remove.
1772         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1773         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1774         (dtv_t): Remove.
1775         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1776         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1777         (dtv_t): Remove.
1779 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1781         Revert symbol poisoning of  __malloc_initialize_hook.
1782         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1783         poisoning.
1784         * malloc/Makefile: Remove un-poisoning.
1785         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1786         instead of old__malloc_initialize_hook.
1787         * malloc/malloc-hooks.h: Likewise.
1788         * malloc/malloc.c: Likewise.
1789         * malloc/mcheck-init.c: Likewise.
1791 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1793         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1795 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1797         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1798         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1799         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1800         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1802 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1804         * NEWS: Mention addition of nextup and nextdown.
1805         * manual/arith.texi: Document nextup and nextdown.
1806         * manual/libm-err-tab.pl: Add nextup and nextdown.
1807         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1808         * math/Versions (libm): Add GLIBC_2.24.
1809         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1810         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1811         Add new test.
1812         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1813         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1814         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1815         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1816         (nextup_test_data): Likewise.
1817         (nextdown_test_data): Likewise.
1818         * math/s_nextdown.c: New file.
1819         * math/s_nextdownf.c: Likewise.
1820         * math/s_nextdownl.c: Likewise.
1821         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1822         F(nextup): New function.
1823         F(nextdown): Likewise.
1824         * math/tgmath.h: Add nextup and nextdown.
1825         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1826         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1827         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1828         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1829         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1830         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1831         Add nextup and nextdown.
1832         (CFLAGS-nldbl-nextup.c): New variable.
1833         (CFLAGS-nldbl-nextdown.c): Likewise.
1834         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1835         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1836         * sysdeps/nacl/libm.abilist: Update.
1837         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1866 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1868         * manual/pattern.texi: Fix typos & grammar errors.
1870 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1872         * manual/search.texi: Fix typos & grammar errors.
1874 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1876         * manual/message.texi: Fix typos & grammar errors.
1878 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1880         * manual/contrib.texi: Fix spelling typos.
1881         * manual/crypt.texi: Likewise.
1882         * manual/filesys.texi: Likewise.
1883         * manual/locale.texi: Likewise.
1884         * manual/message.texi: Likewise.
1885         * manual/nss.texi: Likewise.
1886         * manual/string.texi: Likewise.
1888 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1890         * manual/locale.texi: Fix typos & grammar errors.
1892 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1894         * manual/charset.texi: Fix typos & grammar errors.
1896 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1898         * manual/string.texi: Fix typos.
1900 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1902         * manual/ctype.texi: Fix typos.
1904 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1906         * manual/memory.texi: Fix various typos & grammar errors.
1908 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1910         [BZ #20255]
1911         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1912         * math/libm-test.inc (fdim_test_data): Add another test.
1914         [BZ #6796]
1915         [BZ #20255]
1916         [BZ #20256]
1917         * math/s_fdim.c: Include <math_private.h>.
1918         (__fdim): Use math_narrow_eval on result.
1919         * math/s_fdimf.c: Include <math_private.h>.
1920         (__fdimf): Use math_narrow_eval on result.
1921         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1922         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1923         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1924         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1925         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1926         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1927         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1928         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1929         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1930         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1931         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1932         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1933         overflow.  Add sNaN tests.
1935         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1936         fpclassify.
1937         * math/s_fdimf.c (__fdimf): Likewise.
1938         * math/s_fdiml.c (__fdiml): Likewise.
1940 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1942         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1943         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1945         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1946         ifunc'ed strcasecmp/strncasecmp.
1947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1948         [EALIGN]: Removed.
1949         [END]: Likewise.
1950         [__strcasecmp]: Define instead of the above to control symbol name.
1951         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1952         for __strcasecmp_power8.
1953         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1954         for __strncasecmp_power8.
1955         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1956         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1957         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1958         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1959         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1960         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1962 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1964         [BZ #20252]
1965         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1966         arguments when second argument is a NaN.
1967         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1968         qNaN tests.
1970         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1971         (conj_test_data): Likewise.
1972         (copysign_test_data): Likewise.
1973         (creal_test_data): Likewise.
1974         (fma_test_data): Likewise.
1975         (fmod_test_data): Likewise.
1977         [BZ #20250]
1978         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1979         itself.
1980         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1981         zero input to itself.
1982         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1983         Likewise.
1984         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1985         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1986         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1987         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1988         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1990 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1992         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1993         * nptl/tst-cancel4-common.c: New file.
1994         * nptl/tst-cancel4-common.h: Likewise.
1995         * nptl/tst-cancel4.c: Move common definitions to
1996         tst-cancel4-common.{c,h} file.
1997         * nptl/tst-cancel4_1.c: New test.
1998         * nptl/tst-cancel4_2.c: New test.
2000 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2002         [BZ #20248]
2003         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2004         (write_message): New function.
2005         (stackoverflow_handler): Call it instead of printf, to avoid
2006         excessive stack usage by printf.
2007         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2009 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2011         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2012         (prio_inherit_missing): Remove define.
2013         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2014         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2016         Likewise.
2017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2018         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2019         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2020         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2022         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2024 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2026         [BZ #19670]
2027         [BZ #19672]
2029         * io/test-lfs.c (do_prepare): Use xmalloc.
2030         * io/tst-fcntl.c (do_prepare): Likewise.
2031         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2032         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2033         * login/tst-utmp.c (do_prepare): Likewise.
2034         * posix/tst-exec.c (do_prepare): Likewise.
2035         * posix/tst-pathconf.c (prepare): Likewise.
2036         * posix/tst-spawn.c (do_prepare): Likewise.
2037         * posix/tst-truncate.c (do_prepare): Likewise.
2038         * rt/tst-aio.c (do_prepare): Likewise.
2039         * rt/tst-aio64.c (do_prepare): Likewise.
2041 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2043         [BZ #20237]
2044         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2045         (get*ent): Set entidx to NULL during initialization.  If entidx is
2046         NULL, start iteration from the beginning.
2048 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2050         * malloc/malloc.c (musable): Return correct size for dumped fake
2051         mmapped chunk.
2053 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2055         [BZ #20222]
2056         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2057         (_IO_cookie_write): Likewise.
2058         (_IO_cookie_seek): Likewise.
2059         (_IO_cookie_close): Likewise.
2060         (_IO_old_cookie_seek): Likewise.
2061         (set_callbacks): New function.
2062         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2064 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2066         * locale/programs/localedef.c (oldstyle_tables): Remove.
2067         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2069 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #20240]
2072         * math/Makefile (CFLAGS-s_modf.c): New variable.
2073         (CFLAGS-s_modff.c): Likewise.
2074         (CFLAGS-s_modfl.c): Likewise.
2075         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2077 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2079         [BZ #20215]
2080         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2081         [!__GNUC_PREREQ (3,2)]: Likewise.
2083 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2085         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2086         (msghdr.msg_controllen): Likewise.
2087         (cmsghdr.cmsg_len): Likewise.
2088         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2089         ptw-oldsendmsg.
2090         (CFLAGS-oldrecvmsg.c): Remove rule.
2091         (CFLAGS-oldsendmsg.c): Likewise.
2092         (CFLAGS-recvmsg.c): Add rule.
2093         (CFLAGS-sendmsg.c): Likewise.
2094         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2095         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2096         (CFLAGS-recvmsg.c): Remove rule.
2097         (CFLAGS-sendmsg.c): Likewise.
2098         (CFLAGS-oldrecvmsg.c): Likewise.
2099         (CFLAGS-oldsendmsg.c): Likewise.
2100         (CFLAGS-recvmmsg.c): Likewise.
2101         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2102         to kernel defined interfaces.
2103         (msghdr.msg_controllen): Likewise.
2104         (cmsghdr.cmsg_len): Likewise.
2105         (msghdr.__glibc_reserved1): Remove member.
2106         (msghdr.__glibc_reserved2): Likewise.
2107         (cmsghdr.__glibc_reserved1): Likewise.
2108         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2109         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2110         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2111         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2112         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2113         version.
2114         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2115         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2116         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2117         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2118         Remove recvmsg and sendmsg.
2119         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2124         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2125         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2126         Likewise.
2127         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2128         Likewise.
2129         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2130         [libc] (GLIBC_2.24): Likewise.
2131         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2134         Likewise.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2136         [libc] (GLIBC_2.24): Likewise.
2137         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2138         Likewise.
2139         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2140         Likewise.
2141         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2142         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2143         Likewise.
2144         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2145         Likewise.
2146         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2147         Likewise.
2148         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2149         Likewise.
2150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2151         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2152         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2153         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2154         version for {recv,send,recm,sendm}msg.
2155         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2156         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2157         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2158         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2159         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2160         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2161         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2162         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2163         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2164         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2165         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2166         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2170         Likewise.
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2175         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2176         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2185 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2187         [BZ #19564]
2188         Remove __malloc_initialize_hook from the API.
2189         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2190         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2191         #pragma GCC poison.
2192         * malloc/malloc-hooks.h: New file.
2193         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2194         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2195         (old__malloc_initialize_hook): Rename from
2196         __malloc_initialize_hook to evade poisoning.  Turn into compat
2197         symbol.
2198         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2199         __malloc_initialize_hook.
2200         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2201         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2202         * manual/memory.texi (Hooks for Malloc): Remove
2203         __malloc_initialize_hook.  Adjust hook example.
2205 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2207         [BZ #20235]
2208         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2209         itself.
2210         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2211         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2213         [BZ #20234]
2214         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2215         infinity or NaN input to itself.
2217         [BZ #20233]
2218         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2219         to itself.
2221         [BZ #20232]
2222         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2223         itself.
2225 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2227         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2228         __libc_start_main via GOT.
2230 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2232         * sysdeps/x86_64/memcopy.h: New file.
2233         * sysdeps/x86_64/wordcopy.c: Likewise.
2235 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2237         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2238         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2239         <cstdlib>.
2240         (optimization_barrier): New.
2241         (do_test): Use it.  Call quick_exit in the global namespace.
2242         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2243         instead of <cstdlib>, <thread>.
2244         (optimization_barrier): New.
2245         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2246         Call quick_exit in the global namespace.
2247         (do_test): Call optimization_barrier.  Use pthread_create,
2248         pthread_join instead of std::thread.
2250 2016-06-09  Andreas Schwab  <schwab@suse.de>
2252         [BZ #19755]
2253         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2254         new entries in auto-propagate mode.
2255         * nscd/grpcache.c (cache_addgr): Likewise.
2257 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2259         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2260         New functions.
2261         (add_temp_file): Use them.
2263 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2265         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2267 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2269         [BZ #20229]
2270         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2271         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2272         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2274         [BZ #20228]
2275         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2276         itself.
2277         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2278         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2280         [BZ #20227]
2281         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2282         itself.
2283         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2284         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2285         * math/libm-test.inc (log_test_data): Add sNaN tests.
2287         [BZ #20226]
2288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2289         itself.
2290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2291         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2292         (exp10_test_data): Likewise.
2293         (expm1_test_data): Likewise.
2295         [BZ #20225]
2296         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2297         itself.
2298         * math/s_ldexpf.c (__ldexpf): Likewise.
2299         * math/s_ldexpl.c (__ldexpl): Likewise.
2300         * math/w_scalbln.c (__w_scalbln): Likewise.
2301         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2302         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2303         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2304         (scalbln_test_data): Likewise.
2306         [BZ #20224]
2307         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2308         argument to itself.
2309         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2311 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2313         [BZ #19776]
2314         * sysdeps/x86_64/memcpy.S: Make it dummy.
2315         * sysdeps/x86_64/mempcpy.S: Likewise.
2316         * sysdeps/x86_64/memmove.S: New file.
2317         * sysdeps/x86_64/memmove_chk.S: Likewise.
2318         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2319         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2320         * sysdeps/x86_64/memmove.c: Removed.
2321         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2322         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2323         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2324         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2325         Likewise.
2326         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2329         memcpy-sse2-unaligned, memmove-avx-unaligned,
2330         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2332         (__libc_ifunc_impl_list): Replace
2333         __memmove_chk_avx512_unaligned_2 with
2334         __memmove_chk_avx512_unaligned.  Remove
2335         __memmove_chk_avx_unaligned_2.  Replace
2336         __memmove_chk_sse2_unaligned_2 with
2337         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2338         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2339         with __memmove_avx512_unaligned.  Replace
2340         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2341         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2342         with __memcpy_chk_avx512_unaligned.  Remove
2343         __memcpy_chk_avx_unaligned_2.  Replace
2344         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2345         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2346         Replace __memcpy_avx512_unaligned_2 with
2347         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2348         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2349         with __mempcpy_chk_avx512_unaligned.  Remove
2350         __mempcpy_chk_avx_unaligned_2.  Replace
2351         __mempcpy_chk_sse2_unaligned_2 with
2352         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2353         Replace __mempcpy_avx512_unaligned_2 with
2354         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2355         Replace __mempcpy_sse2_unaligned_2 with
2356         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2357         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2358         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2359         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2360         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2361         (ENTRY): Removed.
2362         (END): Likewise.
2363         (ENTRY_CHK): Likewise.
2364         (libc_hidden_builtin_def): Likewise.
2365         Don't include ../memcpy.S.
2366         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2367         __memcpy_chk_avx512_unaligned_erms and
2368         __memcpy_chk_avx512_unaligned.  Use
2369         __memcpy_chk_avx_unaligned_erms and
2370         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2371         Default to __memcpy_chk_sse2_unaligned.
2372         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2373         Change function suffix from unaligned_2 to unaligned.
2374         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2375         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2376         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2377         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2378         (ENTRY): Removed.
2379         (END): Likewise.
2380         (ENTRY_CHK): Likewise.
2381         (libc_hidden_builtin_def): Likewise.
2382         Don't include ../mempcpy.S.
2383         (mempcpy): New.  Add a weak alias.
2384         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2385         __mempcpy_chk_avx512_unaligned_erms and
2386         __mempcpy_chk_avx512_unaligned.  Use
2387         __mempcpy_chk_avx_unaligned_erms and
2388         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2389         Default to __mempcpy_chk_sse2_unaligned.
2391 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2393         [BZ #19881]
2394         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2395         into ...
2396         * sysdeps/x86_64/memset.S: This.
2397         (__bzero): Removed.
2398         (__memset_tail): Likewise.
2399         (__memset_chk): Likewise.
2400         (memset): Likewise.
2401         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2402         defined.
2403         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2404         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2405         (__memset_zero_constant_len_parameter): Check SHARED instead of
2406         PIC.
2407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2408         memset-avx2 and memset-sse2-unaligned-erms.
2409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2410         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2411         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2412         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2413         (__bzero): Enabled.
2414         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2415         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2416         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2417         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2418         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2419         (memset): Removed.
2420         (__memset_chk): Likewise.
2421         (MEMSET_SYMBOL): New.
2422         (libc_hidden_builtin_def): Replace __memset_sse2 with
2423         __memset_sse2_unaligned.
2424         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2425         __memset_chk_sse2 and __memset_chk_avx2 with
2426         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2427         Use __memset_chk_sse2_unaligned_erms or
2428         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2429         __memset_chk_avx512_unaligned_erms and
2430         __memset_chk_avx512_unaligned.
2432 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2434         * math/gen-auto-libm-test.c (fp_format_desc): remove
2435         suffix member.
2436         (output_generic_value): Remove usage of suffix member,
2437         and the resulting unuse of the fp_format argument.
2438         (output_for_one_input_case): Remove unused fp_format
2439         parameter.
2441         * math/auto-libm-test-out: Regenerate.
2443         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2444         usage with TEST_COND_ibm128.
2445         (TEST_COND_flt_32): Remove.
2446         (TEST_COND_dbl_64): Remove.
2447         (TEST_COND_ldbl_96_intel): Remove.
2448         (TEST_COND_ldbl_96_m68k): Remove.
2449         (TEST_COND_ldbl_128): Remove.
2451 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2453         * auto-libm-test-in:
2454         Replace flt-32 usage with binary32.
2455         Replace dbl-64 usage with binary64.
2456         Replace ldbl-intel-96 usage with intel96.
2457         Replace ldbl-m68k-96 usage with m68k96.
2458         Replace ldbl-128ibm usage with ibm128.
2459         Replace ldbl-128 usage with binary128.
2461         * auto-libm-test-out: Regenerate.
2463 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2465         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2466         (parse_ulps): Dynamically generate type name matching
2467         string from all_floats.
2468         (get_ulps): Generate the ulps as an array instead.
2469         (output_ulps): Dynamically compose the type based
2470         on the number of supported formats, and print
2471         the indices as type specific helper macros.
2473         * math/libm-test.inc: Remove comment about CHOOSE.
2474         (ulp_data): Generate the type in libm-test-ulps.h.
2475         (ULP_IDX): New macro.
2476         (find_ulps): Update usage of max_ulp.
2478         * math/test-double-vlen2.h (CHOOSE): Remove.
2479         * math/test-double-vlen4.h (CHOOSE): Likewise.
2480         * math/test-double-vlen8.h (CHOOSE): Likewise.
2481         * math/test-float.c (CHOOSE): Likewise.
2482         * math/test-float-finite.c (CHOOSE): Likewise.
2483         * math/test-double.c (CHOOSE): Likewise.
2484         * math/test-double-finite.c (CHOOSE): Likewise.
2485         * math/test-idouble.c (CHOOSE): Likewise.
2486         * math/test-ifloat.c (CHOOSE): Likewise.
2487         * math/test-ildoubl.c (CHOOSE): Likewise.
2488         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2489         * math/test-ldouble.c (CHOOSE): Likewise.
2491         * math/test-float.h (TEST_FLOAT): Remove.
2492         * math/test-double.h (TEST_DOUBLE): Likewise.
2493         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2495 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2497         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2498         (parse_args): Strip C suffix from floating point literals
2499         typed with 'f' and wrap them with LIT().
2501         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2502         (test_ff_f_data_nexttoward): Rename to
2503         (test_fj_f_data): New struct.
2504         (nexttoward_test_data): Relabel tests as
2505         TEST_fj_f instead of TEST_ff_f.
2507 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2509         Emacs bug 23726.
2510         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2511         (__libc_realloc): Correct size computation for dumped fake mmapped
2512         chunks.
2514 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #20219]
2517         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2518         to itself.
2519         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2521         [BZ #20218]
2522         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2523         to itself.
2524         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2526 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2528         [BZ #20195]
2529         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2530         check to ...
2531         (init_cpu_features): Here.
2533 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2535         [BZ #20214]
2536         * sysdeps/unix/sysv/linux/bits/in.h
2537         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2538          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2539         Define to 1.
2540         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2541          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2542         Define to 0.
2543         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2544         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2546 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2548         [BZ #20198]
2549         * stdlib/Makefile (tests): Add tst-quick_exit, and
2550         tst-thread-quick_exit.
2551         [ifeq ($(have-cxx-thread_local),yes)]
2552         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2553         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2554         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2555         (LDLIBS-tst-thread-quick_exit): Likewise.
2556         [ifneq ($(have-cxx-thread_local),yes)]
2557         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2558         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2559         If run_dtors is true call __call_tls_dtors.
2560         (exit): Call __run_exit_handlers with run_dtors set to true.
2561         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2562         definition.
2563         * stdlib/quick_exit.c (quick_exit): Remove function.
2564         (__new_quick_exit): New function.
2565         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2566         function.
2567         * stdlib/tst-quick_exit.cc: New file.
2568         * stdlib/tst-thread-quick_exit.cc: New file.
2569         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2570         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2571         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2572         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2573         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2574         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2575         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2576         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2577         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2578         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2579         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2580         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2581         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2582         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2583         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2584         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2589         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2590         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2591         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2592         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2593         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2597         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2598         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2600 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2602         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2603         a typo in comments.
2605 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2607         [BZ #20213]
2608         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2609         argument to itself.
2610         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2612 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2614         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2615         required flags.
2616         (CFLAGS-pwritev64.c): Likewise.
2617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2619         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2620         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2621         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2622         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2623         syscall from auto-generation.
2624         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2625         [WORDSIZE == 64] (pwritev64): Remove macro.
2626         [!PWRITEV] (PWRITEV): Likewise.
2627         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2628         [!PWRITEV] (PWRITE): Likewise.
2629         [!PWRITEV] (OFF_T): Likewise.
2630         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2631         (LO_HI_LONG): Remove macro.
2632         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2633         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2634         (PWRITEV): Remove macro.
2635         (PWRITEV_REPLACEMENTE): Likewise.
2636         (PWRITE): Likewise.
2637         (OFF_T): Likewise.
2638         (pwritev64): New function.
2639         * nptl/tst-cancel4.c (tf_writev): Add test.
2641         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2642         required flags.
2643         (CFLAGS-preadv64.c): Likewise.
2644         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2645         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2646         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2647         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2648         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2649         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2650         syscall from auto-generation.
2651         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2652         [WORDSIZE == 64] (preadv64): Remove macro.
2653         [!PREADV] (PREADV): Likewise.
2654         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2655         [!PREADV] (PREAD): Likewise.
2656         [!PREADV] (OFF_T): Likewise.
2657         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2658         (LO_HI_LONG): Remove macro.
2659         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2660         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2661         (PREADV): Remove macro.
2662         (PREADV_REPLACEMENTE): Likewise.
2663         (PREAD): Likewise.
2664         (OFF_T): Likewise.
2665         (preadv64): New function.
2666         * nptl/tst-cancel4.c (tf_preadv): Add test.
2668 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2670         [BZ #20212]
2671         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2672         argument to itself.
2673         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2675 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2677         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2678         New symbol defined as libc_hidden_def.
2679         (strcasestr): Became a weak alias to __strcasestr.
2680         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2681         according to multi-arch support.  Move __stpncpy hidden
2682         definition from here to...
2683         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2684         symbol stpncpy.
2685         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2686         libc_hidden_builtin_def.
2687         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2688         memset symbol to use when multi-arch support is available.
2690 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2692         * dlfcn/tst-rec-dlopen.c: Include string.h.
2694 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2696         * manual/install.texi: Remove mention of --without-tls
2697         * INSTALL: Regenerate.
2699 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2701         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2702         Remove.
2703         (call_function, interposed_malloc_called): New variables.
2704         (malloc): New function.
2705         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2706         and clear call_function as needed.
2708 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2710         * include/wchar.h (__wmemset): Use __typeof.
2712 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2714         * include/wchar.h (__wmemset): Declare function without typeof.
2716 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2718         [BZ #20205]
2719         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2720         exponent when incrementing negative subnormal with low mantissa
2721         word zero.
2722         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2723         Add another test.
2725 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2727         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2728         __wmemset instead of wmemset.
2730 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2732         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2733         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2734         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2735         __USE_KERNEL_IPV6_DEFS to 0.
2736         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2737         Update comment.
2739 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2741         [BZ #19861]
2742         Do not use IFUNC resolver with potentially unrelocated symbol.
2743         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2744         (DEFINE_FORK): Remove macro and inline definition.
2745         (fork_alias): Renamed from fork_ifunc.
2746         (__fork_alias): Renamed from __fork_ifunc.
2748 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2750         [BZ 19653]
2751         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2752         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2754 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2756         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2757         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2758         i386-linux-gnu).
2759         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2760         Set to no.
2761         * sysdeps/mach/hurd/configure: Refresh.
2763 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2765         [BZ #20178]
2766         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2767         on failure instead of exit.
2769 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2771         [BZ #3629]
2772         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2773         of POSIX.1-2008.
2775 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2777         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2778           Use PLT entry for calling _hurd_self_sigstate.
2780 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2782         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2783         available logical processors with SMT level type sharing L2
2784         cache for Intel processors.
2786 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2788         [BZ #20160]
2789         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2790         argument to itself before returning the result.
2791         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2792         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2793         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2795         Likewise.
2796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2797         Likewise.
2798         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2799         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2800         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2801         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2802         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2803         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2805         [BZ #20160]
2806         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2807         argument to itself before returning the result.
2808         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2809         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2810         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2812         Likewise.
2813         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2814         Likewise.
2815         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2816         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2817         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2818         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2819         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2820         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2822 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2824         * libm-test.inc: Replace usage of M_El with
2825         (lit_e): New macro.
2827 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2829         * libm-test.inc: Replace usage of M_PI_4l with
2830         (lit_pi_4_d): New macro.
2832 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2834         * libm-test.inc: Replace usage of M_PIl with
2835         (lit_pi): New macro.
2837 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2839         * libm-test.inc: Replace usage of M_PI2l with
2840         (lit_pi_2_d): New macro.
2842         * math/test-double.h (LITM): New macro.
2843         * math/test-float.h (LITM): Likewise.
2844         * math/test-ldouble.h (LITM): Likewise.
2846 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2848         * libm-test.inc (M_PI_34l): Rename to
2849         (lit_pi_3_m_4_d): New Macro.
2850         (M_PI_34_LOG10El): Rename to
2851         (lit_pi_3_m_4_ln10_m_d): New Macro.
2852         (M_PI2_LOG10El): Rename to
2853         (lit_pi_2_ln10_m_d):  New Macro.
2854         (M_PI4_LOG10El): Rename to
2855         (lit_pi_4_ln10_m_d):  New Macro.
2856         (M_PI_LOG10El): Rename to
2857         (lit_pi_ln10_d):  New Macro.
2859 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2861         [BZ #20157]
2862         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2863         determine whether to negate low half if [_ARCH_PPCGR], and integer
2864         comparison otherwise.
2865         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2866         determine whether to negate low half.
2868         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2869         (NO_TEST_INLINE_DOUBLE): Likewise.
2870         (TEST_COND_x86_64): Likewise.
2871         (TEST_COND_x86): Likewise.
2872         (M_PI_6l): Likewise.
2874 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2876         * math/libm-test.inc:
2877         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2878         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2879         (TEST_LDOUBLE): Update usage to evaluate as true if
2880         the guarded tests match the property being tested.
2881         (LDBL_MAX_EXP): Change to MAX_EXP.
2882         (LDBL_MIN_EXP): Change to MIN_EXP.
2883         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2884         nexttoward tests.
2886 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2888         * math/libm-test.inc:
2889         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2890         (TYPE_MIN): Likewise.
2891         (TYPE_TRUE_MIN): Likewise.
2892         (TYPE_MAX): Likewise.
2893         (MIN_EXP): Likewise.
2894         (MAX_EXP): Likewise.
2895         (MANT_DIG): Likewise.
2897         (FSTR_MAX): New macro.
2898         (__CONCATX): Likewise.
2899         (QTYPE_STR): Likewise.
2900         (TEST_COND_binary32): Likewise.
2901         (TEST_COND_binary64): Likewise.
2902         (TEST_COND_binary128): Likewise.
2903         (TEST_COND_ibm128): Likewise.
2904         (TEST_COND_intel96): Likewise.
2905         (TEST_COND_m68k96): Likewise.
2907         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2908         (TEST_COND_dbl_64): Likewise.
2909         (TEST_COND_ldbl_96_intel): Likewise.
2910         (TEST_COND_ldbl_96_m68k): Likewise.
2911         (TEST_COND_ldbl_128): Likewise.
2912         (TEST_COND_ldbl_128ibm): Likewise.
2914         (plus_zero): Redefine using LIT macro.
2915         (minus_zero): Likewise.
2916         (plus_infty): Redefine as (INF).
2917         (minux_infty): Redefine as (-INF).
2918         (max_value): Redefine as TYPE_MAX.
2919         (min_value): Redefine as TYPE_MIN.
2920         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2922         (print_float): Refactor to use snprintf to convert FLOAT values
2923         to string. This brings it closer to dropin replacement of strtof
2924         for the TS 18661 defined types.
2925         (update_stats): Likewise.
2926         (print_complex_function_ulps): Likewise.
2927         (print_max_error): Likewise.
2928         (print_complex_max_error): Likewise.
2929         (check_float_internal): Likewise.
2931         * math/test-float.h (PREFIX): New macro.
2932         (LIT): Likewise.
2933         (TYPE_STR): Likewise.
2934         (FTOSTR): Likewise.
2936         * math/test-double.h (PREFIX): New macro.
2937         (LIT): Likewise.
2938         (TYPE_STR): Likewise.
2939         (FTOSTR): Likewise.
2941         * math/test-ldouble.h (PREFIX): New macro.
2942         (LIT): Likewise.
2943         (TYPE_STR): Likewise.
2944         (FTOSTR): Likewise.
2946 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2948         [BZ #20156]
2949         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2950         to itself when zero or not finite.
2951         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2956 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2958         [BZ #20153]
2959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2960         x * x + x for infinities and NaNs.
2962         [BZ #20151]
2963         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2964         argument to itself before returning result.
2965         (__ieee754_y0l): Likewise.
2966         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2967         (__ieee754_y1l).
2969         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2970         (atan_test_data): Likewise.
2971         (ceil_test_data): Likewise.
2972         (cos_test_data): Likewise.
2973         (cosh_test_data): Likewise.
2974         (erf_test_data): Likewise.
2975         (exp2_test_data): Likewise.
2976         (fabs_test_data): Likewise.
2977         (floor_test_data): Likewise.
2978         (ilogb_test_data): Likewise.
2979         (j0_test_data): Likewise.
2980         (j1_test_data): Likewise.
2981         (jn_test_data): Likewise.
2982         (lgamma_test_data): Likewise.
2983         (lrint_test_data): Likewise.
2984         (llrint_test_data): Likewise.
2985         (logb_test_data): Likewise.
2986         (lround_test_data): Likewise.
2987         (llround_test_data): Likewise.
2988         (nearbyint_test_data): Likewise.
2989         (rint_test_data): Likewise.
2990         (round_test_data): Likewise.
2991         (sin_test_data): Likewise.
2992         (sincos_test_data): Likewise.
2993         (sinh_test_data): Likewise.
2994         (sqrt_test_data): Likewise.
2995         (tan_test_data): Likewise.
2996         (tanh_test_data): Likewise.
2997         (tgamma_test_data): Likewise.
2998         (trunc_test_data): Likewise.
2999         (y0_test_data): Likewise.
3000         (y1_test_data): Likewise.
3001         (yn_test_data): Likewise.
3003         * math/libm-test.inc: Update comment about NaN testing.
3004         (TEST_SNAN): New macro.
3005         (snan_value): Likewise.
3006         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3007         (fpclassify_test_data): Add sNaN tests.
3008         (isfinite_test_data): Likewise.
3009         (isinf_test_data): Likewise.
3010         (isnan_test_data): Likewise.
3011         (isnormal_test_data): Likewise.
3012         (issignaling_test_data): Likewise.
3013         (signbit_test_data): Likewise.
3014         * math/gen-libm-test.pl (%beautify): Add snan_value.
3015         (show_exceptions): Add argument $test_snan.
3016         (parse_args): Handle snan_value as non-finite.  Update call to
3017         show_exceptions.
3018         * math/Makefile (libm-test-no-inline-cflags): Add
3019         -fsignaling-nans.
3021 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3023         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3024         (CFLAGS-oldsendmsg.c): Add rule.
3025         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3026         Correct recvmsg symbol name.
3027         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3028         Likewise.
3030 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3032         * sysdeps/unix/sysv/linux/Makefile
3033         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3034         oldsendmmsg.
3035         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3036         sendmmsg.
3037         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3040         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3048         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3049         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3050         iovlen and controllen fields to adjust to POSIX specification.
3051         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3053         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3054         and change to correct expected type.
3055         (msghdr.msg_controllen): Likewise.
3056         (cmsghdr.cmsg_len): Likewise.
3057         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3058         expected POSIX assumption about the size.
3059         (msghdr.msg_controllen): Likewise.
3060         (msghdr.__glibc_reserved1): Likewise.
3061         (msghdr.__glibc_reserved2): Likewise.
3062         (cmsghdr.cmsg_len): Likewise.
3063         (cmsghdr.__glibc_reserved1): Likewise.
3064         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3065         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3066         (CFLAGS-sendmsg.c): Remove rule.
3067         (CFLAGS-recvmsg.c): Likewise.
3068         (CFLAGS-oldsendmsg.c): Add rule.
3069         (CFLAGS-oldrecvmsg.c): Likewise.
3070         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3071         recvmsg and sendmsg.
3072         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3073         Likewise.
3074         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3075         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3076         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3077         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3078         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3079         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3080         Likewise.
3081         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3082         Likewise.
3083         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3084         Likewise.
3085         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3086         Likewise.
3087         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3088         Likewise.
3089         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3092         (GLIBC_2.24): Likewise.
3093         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3094         Likewise.
3095         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3096         Likewise.
3097         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3098         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3101         Likewise.
3102         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3105         (GLIBC_2.24): Likewise.
3106         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/Makefile
3111         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3112         (CFLAGS-sendmsg.c): Add rule.
3113         (CFLAGS-recvmsg.c): Likewise.
3114         (CFLAGS-oldsendmsg.c): Likewise.
3115         (CFLAGS-oldrecvmsg.c): Likewise.
3116         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3117         initialization.
3118         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3119         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3120         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3121         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3122         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3123         iovlen and controllen fields to adjust to POSIX specification.
3124         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3125         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3126         added recvmsg and sendmsg.
3127         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3128         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3129         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3130         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3131         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3132         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3133         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3134         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3135         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3138         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3140         Likewise.
3141         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3143         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3144         Likewise.
3145         Likewise.
3146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3149         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3150         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3155         Likewise.
3156         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3160         from auto-generation.
3161         (sendmsg): Likewise.
3162         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3163         (sendmsg): Likewise.
3164         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3165         (sendmsg): Likewise.
3166         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3167         (sendmsg): Likewise.
3168         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3169         (sendmsg): Likewise.
3170         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3171         (sendmsg): Likewise.
3172         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3173         Likewise.
3174         (sendmsg): Likewise.
3175         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3176         (sendmsg): Likewise.
3177         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3179         Remove.
3180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3181         Likewise.
3182         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3183         Undefine.
3184         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3185         Likewise.
3186         * sysdeps/unix/sysv/linux/kernel-features.h
3187         (__ASSUME_SENDMSG_SYSCALL): Define.
3188         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3189         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3191         Remove.
3192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3193         Likewise.
3194         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3195         Undefine.
3196         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3197         Likewise.
3198         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3200         Remove.
3201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3202         Likewise.
3203         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3204         Undefine.
3205         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3206         Likewise.
3207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3208         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3209         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3210         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3211         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3212         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3213         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3214         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3215         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3217 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3219         * stdlib/gen-tst-strtod-round.c: Add backslash to
3220         compile command in comment.
3221         (printfp): Remove the literal suffix, and define an infinite
3222         value as INF to avoid expansion clash with INFINITY.
3223         (round_str): Remove the literal suffix.
3224         (round_for_all): Likewise, remove the now duplicate ldbl-64
3225         entry, and remove some magic constants.
3227         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3228         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3229         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3230         (_CONCAT): New macro.
3231         (CONCAT): Likewise.
3232         (CHOOSE_ld): Likewise.
3233         (CHOOSE_f): Likewise.
3234         (CHOOSE_d): Likewise.
3235         (FTYPE_MEMBER): Likewise.
3236         (BOOL_MEMBER): Likewise.
3237         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3238         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3239         (_XNTRY): Likewise.
3240         (XNTRY): Likewise.
3241         (_ENTRY): Likewise.
3242         (ENTRY): Likewise.
3243         (test_exactness): Generate members via macro.
3244         (test_results): Likewise.
3245         (test): Update members.
3246         (TEST): Redefine using new macros.
3247         (INF): New macro.
3248         (fetestmodes): New structure.
3249         (do_test): Refactor to be type generic.
3250         (test_in_one_mode): Refactor duplicate code into
3251         (GEN_ONE_TEST): New macro.
3253         * stdlib/tst-strtod-round-data.h: Regenerate.
3255         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3256         Extend to pass additional arbitrary parameters to
3257         generators.
3259 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #15479]
3262         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3263         floating-point state after first floating-point operation on
3264         input.  Restore full floating-point state instead of just rounding
3265         mode.
3266         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3267         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3268         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3269         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3270         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3272         [BZ #15479]
3273         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3274         floating-point state after first floating-point operation on
3275         input.  Restore full floating-point state instead of just rounding
3276         mode.
3277         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3278         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3279         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3280         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3281         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3283 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3285         [BZ #19727]
3286         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3287         valid high surrogate.
3288         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3289         of an utf16 surrogate.
3290         * iconv/gconv_simple.c (BODY): Likewise.
3291         * iconvdata/bug-iconv12.c: New file.
3292         * iconvdata/Makefile (tests): Add bug-iconv12.
3294 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3296         [BZ #19726]
3297         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3298         outptrp in case of an illegal input.
3299         * iconv/tst-iconv6.c: New file.
3300         * iconv/Makefile (tests): Add tst-iconv6.
3302 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3304         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3305         an error in case of a value in range of an utf16 low surrogate.
3307 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3309         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3310         an error in case of a value in range of an utf16 low surrogate.
3312 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3314         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3315         Move to ...
3316         * sysdeps/s390/Makefile: ... here.
3317         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3318         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3319         (BRANCH_ON_COUNT): New define.
3320         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3321         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3322         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3323         run on s390-32, too.
3324         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3325         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3326         run on s390-32, too.
3327         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3328         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3329         run on s390-32, too.
3331 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3333         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3334         etf3eh or new vector loop-variant.
3336 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3338         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3339         etf3eh or new vector loop-variant.
3341 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3343         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3344         or new vector loop-variant.
3346 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3348         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3349         Rename to TR_LOOP and usage of tr instead of troo instruction.
3351 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3353         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3356 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3358         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3359         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3360         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3361         New override define.
3362         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3364 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3366         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3367         * sysdeps/s390/configure.ac: Add test for S390 vector register
3368         support in gcc.
3369         * sysdeps/s390/configure: Regenerated.
3371 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3373         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3374         Install file from $(objpfx)gconv-modules.
3375         ($(objpfx)gconv-modules): Concatenate architecture specific file
3376         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3377         * sysdeps/s390/gconv-modules: New file.
3378         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3379         Deleted.
3380         ($(objpfx)gconv-modules-s390): Deleted.
3381         (sysdeps-gconv-modules): New variable.
3383 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3385         [BZ #15479]
3386         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3387         of immediate operand to rounding instruction.
3388         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3389         Likewise.
3390         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3391         Likewise.
3392         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3393         Likewise.
3395 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3397         * math/libm-test.inc (MIN_EXP): Directly define as
3398         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3400 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3402         * math/libm-test.inc (MANT_DIG): Directly define as
3403         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3405 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3407         * stdlib/gen-tst-strtod-round.c (main):
3408           Change usage to more closely match the generated
3409           output.  Add usage and compilation instructions.
3410           (string_to_fp): Add and use FILE* parameter as
3411           output target.
3412           (print_fp): Likewise.
3413           (round_str): Likewise.
3414           (round_for_all): Likewise.
3415         * stdlib/tst-strtod-round.c (tests): Move into
3416         * stdlib/tst-strtod-round-data.h: New file.
3418 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #15479]
3421         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3422         (__round): Do not force "inexact" exception.
3423         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3424         variable.
3425         (__round): Do not force "inexact" exception.
3426         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3427         (__roundf): Do not force "inexact" exception.
3428         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3429         (__roundl): Do not force "inexact" exception.
3430         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3431         (__roundl): Do not force "inexact" exception.
3432         * math/libm-test.inc (round_test_data): Do not allow spurious
3433         "inexact" exceptions.
3435         [BZ #15479]
3436         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3437         exception in comment.
3438         (huge): Remove variable.
3439         (__floor): Do not force "inexact" exception.
3440         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3441         "inexact" exception in comment.
3442         (huge): Remove variable.
3443         (__floor): Do not force "inexact" exception.
3444         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3445         exception in comment.
3446         (huge): Remove variable.
3447         (__floorf): Do not force "inexact" exception.
3448         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3449         exception in comment.
3450         (huge): Remove variable.
3451         (__floorl): Do not force "inexact" exception.
3453         [BZ #15479]
3454         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3455         exception in comment.
3456         (huge): Remove variable.
3457         (__ceil): Do not force "inexact" exception.
3458         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3459         "inexact" exception in comment.
3460         (huge): Remove variable.
3461         (__ceil): Do not force "inexact" exception.
3462         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3463         (__ceilf): Do not force "inexact" exception.
3464         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3465         exception in comment.
3466         (huge): Remove variable.
3467         (__ceill): Do not force "inexact" exception.
3469 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3471         * config.h.in (BIND_NOW): New.
3472         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3473         * configure: Regenerated.
3474         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3475         indirect branch via the GOT slot.
3477 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3479         [BZ #19765]
3480         * sysdeps/s390/mempcpy.S: New File.
3481         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3483         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3484         Add mempcpy variants.
3485         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3486         (memcpy): Adjust to be usable from mempcpy entry point.
3487         (__memcpy_mvcle): Likewise.
3488         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3489         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3490         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3491         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3492         (__memcpy_z10): Likewise.
3493         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3495 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3497         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3498         Remove __GI_ symbol.
3499         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3500         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3501         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3502         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3503         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3504         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3506 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3508         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3509         Use cghi instead of chi to compare 64bit value.
3511 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3513         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3514         Jump to 1MB check before executing mvc-loop.
3516 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3518         [BZ #6527]
3519         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3520         unconditionally.
3521         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3523 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3525         * stdlib/tst-strtod6.c (do_test): Use new type generic
3526         invocation of the test function.
3527         (test): Refactor into ...
3528         (TEST_STRTOD): New macro base function.
3530 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3532         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3533         (TEST_STRTOD): New macro.
3534         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3536 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3538         * stdlib/tst-strtod6.c (do_test): Use new type generic
3539         invocation of the test function.
3540         (test): Refactor into ...
3541         (TEST_STRTOD): New macro base function.
3543 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3545         CVE-2016-4429
3546         [BZ #20112]
3547         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3548         payload.
3550 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3552         [BZ #20111]
3553         * bits/sockaddr.h (_SS_SIZE): Define.
3554         * bits/socket.h (_SS_SIZE): Remove.
3555         (_SS_PADSIZE): Adjust to account for all padding.
3556         (struct sockaddr_storage): Update comment.  Avoid implicit
3557         padding.
3558         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3559         (_SS_PADSIZE): Adjust to account for all padding.
3560         (struct sockaddr_storage): Update comment.  Avoid implicit
3561         padding.
3562         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3563         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3564         (_SS_PADSIZE): Adjust to account for all padding.
3565         (struct sockaddr_storage): Update comment.  Avoid implicit
3566         padding.
3567         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3568         __SS_SIZE is 126 in this version.
3569         * inet/tst-sockaddr.c: New file.
3570         * inet/Makefile (tests): Add tst-sockaddr.c
3571         (tst-sockaddr.c): Compile with non-strict aliasing.
3573 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3575         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3576         [XPG3 || XPG4].
3577         (NL_ARGMAX): Also expect for [XPG3].
3578         (NL_LANGMAX): Likewise.
3579         (NL_MSGMAX): Likewise.
3580         (NL_NMAX): Likewise.
3581         (NL_SETMAX): Likewise.
3582         (NL_TEXTMAX): Likewise.
3583         (NZERO): Likewise.
3584         (TMP_MAX): Likewise.
3585         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3586         variable.
3588         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3589         (PF_MAX): Update value.
3590         (AF_KCM): New macro.
3591         (SOL_NETBEUI): Likewise.
3592         (SOL_LLC): Likewise.
3593         (SOL_DCCP): Likewise.
3594         (SOL_NETLINK): Likewise.
3595         (SOL_TIPC): Likewise.
3596         (SOL_RXRPC): Likewise.
3597         (SOL_PPPOL2TP): Likewise.
3598         (SOL_BLUETOOTH): Likewise.
3599         (SOL_PNPIPE): Likewise.
3600         (SOL_RDS): Likewise.
3601         (SOL_IUCV): Likewise.
3602         (SOL_CAIF): Likewise.
3603         (SOL_ALG): Likewise.
3604         (SOL_NFC): Likewise.
3605         (SOL_KCM): Likewise.
3606         (MSG_BATCH): New enum value and macro.
3608 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3610         [BZ #18185]
3611         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3612         sharing L2 cache to 2 for Knights Landing.
3614 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3616         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3617         (FTW_DP): Do not expect for [XPG3 || XPG4].
3618         (FTW_SL): Do not expect for [XPG3].
3619         (FTW_SLN): Likewise.
3620         (FTW_PHYS): Likewise.
3621         (FTW_MOUNT): Likewise.
3622         (FTW_DEPTH): Likewise.
3623         (FTW_CHDIR): Likewise.
3624         (nftw): Likewise.
3625         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3626         variable.
3628 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3630         * manual/errno.texi: Fix various typos & grammar errors.
3632 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3634         * manual/intro.texi: Fix duplicated typo.
3636 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3638         [BZ #13304]
3639         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3640         <float.h>, <math_private.h> and <stdlib.h>.
3641         (add_split): New function.
3642         (mul_split): Likewise.
3643         (ext_val): New typedef.
3644         (store_ext_val): New function.
3645         (mul_ext_val): New function.
3646         (compare): New function.
3647         (add_split_ext): New function.
3648         (__fmal): After checking for Inf, NaN and zero, compute result as
3649         an exact sum of scaled double values in round-to-nearest before
3650         adding those up and adjusting for other rounding modes.
3651         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3652         tests of fma.
3653         * math/auto-libm-test-out: Regenerated.
3655 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3657         [BZ #20119]
3658         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3659         processor level type mask for CPUID with EAX == 11.
3661 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3663         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3664         logical threads if the HTT bit is 0.
3665         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3666         (index_cpu_HTT): Likewise.
3667         (reg_HTT): Likewise.
3669 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3671         [BZ #20115]
3672         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3673         Remove alignments on jump targets.
3675 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3677         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3678         (getpwent): Likewise.
3679         (setpwent): Likewise.
3680         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3681         variable.
3683         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3684         (remque): Likewise.
3685         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3686         variable.
3688 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3690         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3691         not being tested.
3693 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3695         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3696         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3697         call.
3698         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3699         (__condvar_cleanup1): Likewise.
3701 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3703         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3704         New
3705         (__pthread_unwind): Renamed to ...
3706         (PTHREAD_UNWIND): This.
3707         (__pthread_enable_asynccancel): Replace
3708         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3710 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3712         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3713         (CLONE_NEWCGROUP): New macro.
3715         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3716         (Q_GETNEXTQUOTA): New macro.
3718 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3720         [BZ #19907]
3721         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3722         buffer updated by the previous run.
3723         * string/test-memcpy.c (do_one_test): Likewise.
3724         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3725         * string/test-memmove.c (do_one_test): Likewise.
3727 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3729         [BZ #20094]
3730         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3731         not [__USE_XOPEN].
3732         (unlockpt): Likewise.
3733         (ptsname): Likewise.
3734         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3735         variable.
3737         [BZ #20076]
3738         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3739         instead of [__USE_UNIX98].
3740         (S_ISSOCK): Likewise.
3741         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3742         variable.
3744         [BZ #20074]
3745         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3746         [__USE_POSIX].
3747         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3748         variable.
3750         [BZ #20051]
3751         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3752         (ttyslot): Do not declare.
3753         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3754         (ttyslot): New prototype.
3755         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3756         variable.
3757         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3759 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3761         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3763 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3765         Fix race condition in tst-mallocfork2, use fewer resources.
3766         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3767         to current process group.
3768         (signal_sender): Yield in the non-sleeping case.
3770 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3772         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3773         (ecvt): Likewise.
3774         (fcvt): Likewise.
3775         (gcvt): Likewise.
3776         (getsubopt): Likewise.
3777         (grantpt): Likewise.
3778         (initstate): Likewise.
3779         (l64a): Likewise.
3780         (mktemp): Likewise.
3781         (mkstemp): Likewise.
3782         (ptsname): Likewise.
3783         (random): Likewise.
3784         (realpath): Likewise.
3785         (setstate): Likewise.
3786         (srandom): Likewise.
3787         (ttyslot): Likewise.
3788         (unlockpt): Likewise.
3789         (valloc): Likewise.
3791         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3792         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3793         variable.
3795 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3797         [BZ #20072]
3798         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3799         init_cpu_features only if SHARED is defined.
3800         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3802 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3804         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3805         non-inclusive caches on Intel processors.
3807 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3809         * malloc/malloc.c (dumped_main_arena_start)
3810         (dumped_main_arena_end): New variables.
3811         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3812         (do_check_chunk): Skip dumped fake mmapped chunks.
3813         (munmap_chunk): Likewise.
3814         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3815         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3816         mmapped chunks.
3817         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3818         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3819         and dumped_main_arena_end to cover the dumped heap.
3821 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3823         * conform/data/time.h-data (getdate_err): Do not expect for
3824         [XPG3].
3825         (getdate): Likewise.
3826         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3827         variable.
3829         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3830         (F_ULOCK): Likewise.
3831         (F_TEST): Likewise.
3832         (F_TLOCK): Likewise.
3833         (useconds_t): Likewise.
3834         (intptr_t): Do not expect for [XPG3] or [XPG4].
3835         (brk): Do not expect for [XPG3]
3836         (fchown): Likewise.
3837         (fchdir): Likewise.
3838         (ftruncate): Likewise.
3839         (getdtablesize): Likewise.
3840         (gethostid): Likewise.
3841         (getpagesize): Likewise.
3842         (getpgid): Likewise.
3843         (getsid): Likewise.
3844         (getwd): Likewise.
3845         (lchown): Likewise.
3846         (lockf): Likewise.
3847         (readlink): Likewise.
3848         (sbrk): Likewise.
3849         (setpgrp): Likewise.
3850         (setregid): Likewise.
3851         (setreuid): Likewise.
3852         (symlink): Likewise.
3853         (sync): Likewise.
3854         (truncate): Likewise.
3855         (ualarm): Likewise.
3856         (usleep): Likewise.
3857         (vfork): Likewise.
3858         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3859         variable.
3861         [BZ #20054]
3862         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3863         not [__USE_UNIX98].
3864         * conform/data/unistd.h-data (gethostname): Do not expect for
3865         [XPG3].
3867         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3868         [!POSIX] (S_IFBLK): Likewise.
3869         [!POSIX] (S_IFCHR): Likewise.
3870         [!POSIX] (S_IFIFO): Likewise.
3871         [!POSIX] (S_IFREG): Likewise.
3872         [!POSIX] (S_IFDIR): Likewise.
3873         [!POSIX] (S_IFLNK): Likewise.
3874         [!POSIX] (S_IFSOCK): Likewise.
3875         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3876         variable.
3877         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3879 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3881         * sysdeps/aarch64/memset.S (__memset):
3882         Rewrite of optimized memset.
3884 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3886         [BZ #19703]
3887         Partially async-signal-safe fork for single-threaded processes.
3888         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3889         variable.  Do not acquire and reset/release malloc and libio locks
3890         in single-threaded processes.
3891         * malloc/tst-mallocfork2.c: New file.
3892         * malloc/Makefile (tests): Add it.
3894 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3896         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3897         argument.  Use scratch buffer instead of extend_alloca.
3898         (gethosts): Use scratch buffer instead of extend_alloca.
3899         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3900         extend_alloca.
3901         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3903 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3905         [BZ #20055]
3906         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3907         instead of [__USE_UNIX98].
3908         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3909         [__USE_UNIX98].
3910         * conform/data/termios.h-data (tcgetsid): Do not expect for
3911         [XPG3].
3912         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3913         variable.
3914         (test-xfail-XPG4/termios.h/conform): Likewise.
3916 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3918         Do not use mcheck in localedef.
3919         * locale/programs/localedef.c (turn_on_mcheck)
3920         (__malloc_initialize_hook): Remove.
3922 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3924         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3925         * sysdeps/s390/s390-64/Makefile: Likewise.
3927 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3929         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3930         Remove ifunc-defines.sym.
3931         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3932         Likewise.
3933         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3934         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3935         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3936         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3937         rtld-global-offsets.sym.
3938         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3939         * sysdeps/x86/cpu-features-offsets.sym: This.
3940         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3941         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3943 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3945         [BZ #20073]
3946         * io/sys/stat.h (fchmod): Declare for
3947         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3948         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3949         variable.
3951         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3952         [XPG3] (S_IFSOCK): Likewise.
3953         [XPG3] (S_ISVTX): Likewise.
3954         [XPG3] (S_ISLNK): Likewise.
3955         [XPG3] (S_ISSOCK): Likewise.
3956         [XPG3] (fchmod): Likewise.
3957         [XPG3] (lstat): Likewise.
3958         [XPG3] (mknod): Likewise.
3960         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3961         [XPG3].  Expect type long and XFAIL for [XPG4].
3962         (st_blocks): Likewise.
3964         [BZ #20044]
3965         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3966         (pthread_atfork): New prototype.
3967         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3968         variable.
3970         [BZ #20043]
3971         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3972         prototype.
3974 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3976         [BZ #20017]
3977         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3978         gmtime.
3980 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3982         [BZ #19994]
3983         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3984         flag in _res.options.
3986 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3988         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3989         [XPG3 || XPG4].
3990         (blksize_t): Likewise.
3991         (clockid_t): Likewise.
3992         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3993         variable.
3994         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3996 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3998         * sysdeps/unix/sysv/linux/s390/init-first.c:
3999         Add VDSO_SYMBOL(getcpu).
4000         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4001         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4002         Add VDSO_SYMBOL(getcpu).
4003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4004         New define HAVE_GETCPU_VSYSCALL.
4005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4007 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4009         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4010         instead of <sysdeps/x86_64/cacheinfo.c>.
4011         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4012         * sysdeps/x86/cacheinfo.c: Here.
4014 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4016         * malloc/malloc-internal.h: Adjust header file guard.
4018 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4020         [BZ #19787]
4021         * inet/getnameinfo.c (check_sprintf_result): New function.
4022         (CHECKED_SNPRINTF): New macro.
4023         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4024         to the host buffer.
4025         (gni_host_local): Use checked_copy to copy the host name.
4026         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4027         (gni_serv_local): Use checked_copy to copy the service name.
4028         (getnameinfo): Remove unnecessary truncation of result buffers.
4030 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4032         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4033         in case of inet_ntop failure.
4035 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4037         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4038         avoid long lines.
4039         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4040         variables.
4041         (gni_host_inet, gni_host_local): Add comment.
4042         (gni_host): Add comment.  Use temporary to avoid long lines.
4044 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4046         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4047         registers specifiers where general purpose registers specifiers should
4048         have been used.
4050 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4052         [BZ #19779]
4053         CVE-2016-1234
4054         Avoid copying names of directory entries.
4055         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4056         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4057         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4058         (struct readdir_result): New type.
4059         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4060         (GL_READDIR): New macros.
4061         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4062         (convert_dirent, convert_dirent64): New functions.
4063         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4064         convert_dirent64.  Adjust references to the readdir result.
4065         * sysdeps/unix/sysv/linux/i386/glob64.c:
4066         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4067         * posix/bug-glob2.c (LONG_NAME): Define.
4068         (filesystem): Add LONG_NAME.
4069         (my_DIR): Increase the size of room_for_dirent.
4071 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4073         [BZ #20041]
4074         * misc/sys/select.h (__need_timespec): Only define if
4075         [__USE_XOPEN2K].
4076         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4077         variable.
4078         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4079         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4080         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4082 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4083             Segher Boessenkool  <segher@gcc.gnu.org>
4085         [BZ #20004]
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4087         (__novec_swapcontext): Add missing load.
4089 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4091         [BZ #20023]
4092         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4093         <time.h>.
4094         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4095         variable.
4096         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4098 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4101         flags CLONE_VM compare.
4103 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4105         [BZ #20031]
4106         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4107         completely empty.
4109 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4111         [BZ #19573]
4112         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4113         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4114         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4115         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4116         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4117         (hesiod_free_list): Mark as hidden.
4118         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4119         res_set, res_get.
4120         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4121         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4122         (hesiod_init): Remove obsolete res_ninit call.
4123         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4124         (hesiod_bind): Do not call init.
4125         (get_txt_records): Use res_mkquery, res_send instead of
4126         res_nmkquery, res_nsend.
4127         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4128         instead of _nss_hesiod_init.
4129         (_nss_hesiod_initgroups_dyn): Likewise.
4130         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4131         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4132         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4134 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4136         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4137         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4139 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4141         * hesiod/hesiod.h: Remove RCS keyword.
4142         * hesiod/hesiod_p.h: Likewise.
4144         * hesiod/hesiod.c: Likewise.
4146 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4148         [BZ #12450]
4149         * locale/iso-639.def: Add Samogitian/sgs.
4151 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4153         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4155         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4157 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4158             Carlos O'Donell  <carlos@redhat.com>
4160         [BZ #19072]
4161         * grp/Makefile (headers): Add grp-merge.h
4162         (routines): Add grp-merge.
4163         * grp/getgrgid_r.c: Include grp-merge.h.
4164         (DEEPCOPY_FN): Define.
4165         (MERGE_FN): Define.
4166         * grp/getgrname_r.c: Include grp-merge.h.
4167         (DEEPCOPY_FN): Define.
4168         (MERGE_FN): Define.
4169         * grp/grp-merge.c: New file.
4170         * grp/grp-merge.h: New file.
4171         * include/grp-merge.h: New file.
4172         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4173         __copy_grp@GLIBC_PRIVATE.
4174         * manual/nss.texi (Actions in the NSS configuration): Describe
4175         return, continue, and merge.
4176         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4177         (DEEPCOPY_FN): Define.
4178         (MERGE_FN): Define.
4179         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4180         (DEEPCOPY_FN): Define.
4181         (MERGE_FN): Define.
4182         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4183         [!MERGE_FN]: Define __merge_einval.
4184         (CHECK_MERGE): Define.
4185         (REENTRANT_NAME): Process merge if do_merge is true.
4186         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4187         (__nss_getent_r): Likewise.
4188         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4189         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4191 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4193         [BZ #20012]
4194         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4195         length to calculate the buffer to read.
4196         (fmemopen_write): Set the buffer position based on bytes written.
4197         (fmemopen_seek): Return EINVAL for invalid whence modes.
4199         [BZ #19957]
4200         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4201         tst-getpid2.
4202         (test): Add tst-clone2.
4203         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4204         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4205         pid/tid fields for CLONE_VM.
4206         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4207         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4208         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4209         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4210         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4211         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4212         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4213         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4215         Likewise.
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4217         Likewise.
4218         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4219         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4220         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4221         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4222         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4223         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4224         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4225         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4227 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4229         [BZ #19642]
4230         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4231         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4232         (gni_serv_local, gni_serv): New functions extracted from
4233         getnameinfo.
4234         (getnameinfo): Call gni_host and gni_serv to perform the
4235         processing.  Always free scratch buffer.
4237 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4239         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4240         remaining bytes in the dest string, with zeros.
4242 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4244         [BZ #20010]
4245         CVE-2016-3706
4246         * sysdeps/posix/getaddrinfo.c
4247         (convert_hostent_to_gaih_addrtuple): New function.
4248         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4249         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4250         AF_INET data.
4252 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4254         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4255         callback function gl_readdir.
4256         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4257         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4258         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4259         memcpy to copy the name.
4260         * manual/pattern.texi (Calling Glob): Document requirements for
4261         implementations of the gl_readdir callback function.
4262         * manual/examples/mkdirent.c: New example.
4263         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4264         per the manual guidance.
4265         * posix/tst-gnuglob.c (my_readdir): Likewise.
4267 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4269         [BZ #20014]
4270         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4271         not [__USE_POSIX].
4272         (getchar_unlocked): Likewise.
4273         (putc_unlocked): Likewise.
4274         (putchar_unlocked): Likewise.
4275         (flockfile): Likewise.
4276         (ftrylockfile): Likewise.
4277         (funlockfile): Likewise.
4278         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4279         variable.
4280         (test-xfail-XPG4/stdio.h/conform): Likewise.
4282         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4283         Expect constant.
4284         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4285         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4286         variable.
4287         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4288         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4290         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4291         [__USE_LARGEFILE64] (off64_t): Likewise.
4292         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4293         variable.
4295 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4297         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4299 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4301         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4302         * resolv/res_init.c: Likewise.
4303         * resolv/res_mkquery.c: Likewise.
4305 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4307         * resolv/res_init.c (isascii): Do not define.  Use definition in
4308         <ctype.h>.
4309         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4310         (LOG_AUTH): Remove.
4311         (SPRINTF): Remove, adjust caller.
4312         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4314 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4316         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4317         SUNSECURITY conditional.
4318         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4320 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4322         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4323         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4324         Remove BSD-related preprocessor conditionals.
4325         * conf/portability.h: Remove.
4327 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4329         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4330         * resolv/res_data.c: Likewise.
4332 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4334         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4335         * resolv/res_data.c: Remove code conditional on ultrix.
4337 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4339         * resolv/res_init.c (RFC1535): Do not define.  Remove
4340         RFC1535 preprocessor conditionals.
4341         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4342         because there configuration options which make the resolver
4343         behavior different.
4345 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4347         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4348         RESOLVSORT preprocessor conditionals.
4349         * resolv/nss_dns/dns-host.c: Likewise.
4350         * resolv/res_init.c: Likewise.
4352 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4354         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4355         is never defined.
4357 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4359         * inet/inet_lnaof.c: Remove SCSS keyword.
4360         * inet/inet_mkadr.c: Likewise.
4361         * inet/inet_net.c: Likewise.
4362         * inet/inet_netof.c: Likewise.
4363         * inet/rcmd.c: Likewise.
4364         * inet/rexec.c: Likewise.
4365         * inet/ruserpass.c: Likewise.
4367 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4369         * resolv/inet_addr.c: Remove _LIBC conditionals.
4370         * resolv/res_data.c: Likewise.
4371         * resolv/res_init.c: Likewise.
4372         * resolv/res_mkquery.c: Likewise.
4373         * resolv/res_libc.c: Update comment.
4374         * resolv/README: Update.
4376 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4378         * resolv/gethnamaddr.c: Remove SCSS keyword.
4379         * resolv/herror.c: Likewise.
4380         * resolv/inet_addr.c: Likewise.
4381         * resolv/inet_net_ntop.c: Likewise.
4382         * resolv/inet_net_pton.c: Likewise.
4383         * resolv/inet_neta.c: Likewise.
4384         * resolv/inet_ntop.c: Likewise.
4385         * resolv/inet_pton.c: Likewise.
4386         * resolv/ns_date.c: Remove RCS keyword.
4387         * resolv/ns_name.c: Likewise.
4388         * resolv/ns_netint.c: Likewise.
4389         * resolv/ns_parse.c: Likewise.
4390         * resolv/ns_print.c: Likewise.
4391         * resolv/ns_samedomain.c: Likewise.
4392         * resolv/ns_ttl.c: Likewise.
4393         * resolv/nsap_addr.c: Likewise.
4394         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4395         * resolv/res_data.c: Remove RCS keyword.
4396         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4397         * resolv/res_init.c: Likewise.
4398         * resolv/res_mkquery.c: Likewise.
4399         * resolv/res_query.c: Likewise.
4400         * resolv/res_send.c: Likewise.
4402 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4404         * conform/data/stdio.h-data (fdopen): Expect also for
4405         [XPG3 || XPG4].
4407         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4408         (fseeko): Likewise.
4409         (ftello): Likewise.
4410         (ftrylockfile): Likewise.
4411         (funlockfile): Likewise.
4412         (getc_unlocked): Likewise.
4413         (getchar_unlocked): Likewise.
4414         (putc_unlocked): Likewise.
4415         (putchar_unlocked): Likewise.
4417 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4419         [BZ #19868]
4420         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4421         DNS packet syntax checks (which were not needed before).  Skip
4422         over non-PTR records.
4424 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4426         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4427         definition.  Include <stddef.h> instead.
4429 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4431         [BZ #19831]
4432         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4433         function.
4434         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4435         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4437 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4439         [BZ #19862]
4440         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4441         (getanswer_r): Do not call syslog.
4442         (gaih_getanswer_slice): Likewise.
4443         * resolv/gethnamaddr.c (AskedForGot): Remove.
4444         (getanswer): Do not call syslog.
4445         (gethostbyaddr): Likewise.
4447 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4449         * conform/data/signal.h-data (union sigval): Expect also if
4450         [XOPEN2K].
4451         (struct sigevent): Likewise.
4452         (SIGEV_NONE): Likewise.
4453         (SIGEV_SIGNAL): Likewise.
4454         (SIGEV_THREAD): Likewise.
4455         (SIGRTMIN): Likewise.
4456         (SIGRTMAX): Likewise.
4457         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4458         variable.
4459         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4461 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4463         [BZ #19830]
4464         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4465         (gaih_getanswer_slice): Likewise.
4466         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4467         Also check for availability of RR metadata.
4469 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4471         [BZ #19825]
4472         * resolv/res_send.c (send_vc): Remove early *resplen2
4473         initialization.  Set *resplen2 on socket error.  Call
4474         close_and_return_error for other errors.
4476 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4478         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4479         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4480         (SCM_IUCV_TRGCLS): New define.
4482 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4484         [BZ #20005]
4485         * libio/fmemopen.c (fmemopen_write): Update internal position after
4486         write.
4487         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4488         * stdio-common/tst-fmemopen4.c: New file..
4490 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4492         [BZ #19996]
4493         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4494         not [__USE_XOPEN2K].
4495         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4496         variable.
4498         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4499         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4500         variable.
4502         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4503         [__USE_XOPEN2K8].
4504         [__USE_LARGEFILE64] (off64_t): Likewise.
4505         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4506         variable.
4508 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4510         [BZ #19989]
4511         * libio/stdio.h (cuserid): Do not declare if
4512         [__USE_XOPEN2K && !__USE_GNU].
4513         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4514         variable.
4516 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4518         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4519         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4521         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4522         ifunc'ed strcspn.
4523         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4524         [EALIGN]: Removed.
4525         [END]: Likewise
4526         [STRSPN]: Define instead of the above to control symbol name.
4527         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4528         New file.
4529         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4530         Likewise.
4531         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4532         Likewise.
4533         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4534         Likewise.
4535         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4536         [INITIAL_MASK]: New macro.
4537         [STRCSPN]: Likewise.
4538         [UPDATE_MASK]: Likewise.
4539         [USE_AS_STRCSPN]: Lisewise.
4541 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4543         [BZ #19931]
4544         * stdio-common/tst-vfprintf-width-prec.c: New file.
4545         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4546         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4547         (generated): Add mtrace-related files.
4548         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4549         (tst-%-mem.out): New pattern rule, replaces
4550         tst-printf-bz18872-mem.out.
4551         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4552         specifier, deallocate any previously allocated work buffer.
4554 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4556         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4557         Add nop before __startcontext, add explaining comments.
4559 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4561         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4562         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4563         completely different API.
4565         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4566         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4567         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4568         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4569         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4570         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4571         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4572         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4573         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4574         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4576 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4578         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4580 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4582         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4583         when it is the default of 0.
4585 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4587         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4588         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4589         (sysdep_routines): Add new strcasestr targets.
4590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4591         (__libc_ifunc_impl_list): Likewise.
4592         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4593         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4594         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4595         * sysdeps/powerpc/powerpc64/power8/Makefile:
4596         New file to add strcasestr-ppc64 to sysdep_routines.
4597         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4598         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4600 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4602         * benchtests/Makefile (wcsmbs-benchset): Include only for
4603         native builds and runs.
4604         (LOCALES): Likewise.
4605         (bench-build): Build timing-type here instead of the bench
4606         target.  Generate locale only for native builds.
4607         * benchtests/README: Add note for cross-building.
4609         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4611         * benchtests/README: Update README to include instructions on
4612         using bench-build.
4614         * Makefile.in (bench-build): New target.
4615         * Rules (PHONY): Add bench-build target.
4616         * benchtests/Makefile (bench): Depend on bench-build.
4617         (bench-build): New target.
4619 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4621         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4622         profil_reply_port.
4623         (profile_waiter): Do not initialize profil_reply_port.
4624         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4625         frequency instead of tick length in us.
4627 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4629         [BZ #18712]
4630         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4631         (__old_mempcpy_small): Likewise.
4632         (__old_strcpy_small): Likewise.
4633         (__old_stpcpy_small): Likewise.
4634         (__old_strpbrk_c2): Fix compat symbol name.
4635         (__old_strpbrk_c3): Likewise.
4636         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4637         (__mempcpy_small): Remove.
4638         (__strcpy_small): Remove.
4639         (__stpcpy_small): Remove.
4641 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4643         [BZ #19400]
4644         * locale/iso-639.def: Add the Talossan/tzl language.
4646 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4648         [BZ #16983]
4649         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4650         comment.  Add "ln" to strchr check on postal_fmt.
4652 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4654         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4655         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4656         tel_dom_fmt.
4658 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4660         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4661         (sysdep_routines): Added __strlen_power8.
4662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4663         __strlen_power8 entry.
4664         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4665         Implementation for POWER8.
4666         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4667         for __strlen_power8.
4668         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4669         Implementation for POWER8.
4671 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4673         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4675 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4677         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4678         Goldmont and Airmont processors.
4680 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4682         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4683         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4684         (__STRING2_SMALL_GET32): Remove.
4685         (memset): Remove.
4686         (__memset_1): Remove.
4687         (__memset_gc): Remove.
4688         (__mempcpy): Remove.
4689         (mempcpy): Remove.
4690         (__mempcpy_args): Remove.
4691         (strchr): Remove.
4692         (strcpy): Remove.
4693         (strcpy_args): Remove.
4694         (__stpcpy_args): Remove.
4695         (__strcmp_cc): Remove.
4696         (__strcmp_gc): Remove.
4697         (strstr): Remove.
4699 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4701         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4702         * nis/nis_call.c (nis_server_cache_add): Likewise.
4704 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4706         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4708 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4710         * malloc/arena.c (__malloc_fork_lock_parent)
4711         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4712         internal_function attribute.
4714 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4716         * stdio-common/printf_fp.c (__printf_fp_l):
4717         Rename ___printf_fp_l to __printf_fp_l and
4718         remove strong alias. Use libc_hidden_def instead
4719         of ldbl_hidden_def macro.
4721 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4723         Remove malloc hooks from fork handler.  They are no longer needed
4724         because malloc runs right before fork, and no malloc calls from
4725         other fork handlers are not possible anymore.
4726         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4727         declarations.
4728         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4729         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4730         (atfork_recursive_cntr): Remove.
4731         (__malloc_fork_lock_parent): Do not override malloc hooks and
4732         thread_arena.
4733         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4734         thread_arena.
4735         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4736         thread_arena instead of save_arena.
4738 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4740         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4741         (thread_atfork, thread_atfork_static): Remove.
4742         * sysdeps/mach/hurd/malloc-machine.h:
4743         (thread_atfork, thread_atfork_static): Remove.
4745 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4747         [BZ #19431]
4748         Run the malloc fork handler as late as possible to avoid deadlocks.
4749         * malloc/malloc-internal.h: New file.
4750         * malloc/malloc.c: Include it.
4751         * malloc/arena.c (ATFORK_MEM): Remove.
4752         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4753         Update comment.
4754         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4755         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4756         Remove outdated comment.
4757         (ptmalloc_init): Do not call thread_atfork.  Remove
4758         thread_atfork_static.
4759         * malloc/tst-malloc-fork-deadlock.c: New file.
4760         * Makefile (tests): Add tst-malloc-fork-deadlock.
4761         (tst-malloc-fork-deadlock): Link against libpthread.
4762         * manual/memory.texi (Aligned Memory Blocks): Update safety
4763         annotation comments.
4764         * sysdeps/nptl/fork.c (__libc_fork): Call
4765         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4766         __malloc_fork_unlock_child.
4767         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4769 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4771         [BZ #19613]
4772         Remove union wait.
4773         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4774         (w_stopsig, w_stopval): Remove.
4775         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4776         stat_loc argument.
4777         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4778         (__WAIT_STATUS_DEFN): Remove.
4779         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4780         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4781         (wait, wait3, wait4): Use int * for the stat_loc argument.
4782         * posix/wait.c (__wait): Likewise.
4783         * posix/wait3.c (__wait3): Likewise.
4784         * posix/wait4.c (__wait4): Likewise.
4785         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4786         (__WAIT_STATUS_DEFN): Remove.
4787         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4788         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4789         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4790         argument.
4791         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4792         * sysdeps/posix/wait3.c (__wait3): Likewise.
4793         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4794         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4795         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4796         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4797         stat_loc argument.
4798         * manual/process.texi (BSD Wait Functions): Remove union wait.
4800 2016-04-13  Andreas Schwab  <schwab@suse.de>
4802         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4803         (test-extras): Add tst-tlsalign-vars.
4804         * math/Makefile: Wrap long lines.
4805         (libm-vec-test-wrappers): Define.
4806         (test-extras): Add $(libm-vec-test-wrappers).
4807         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4808         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4809         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4810         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4811         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4812         (extra-test-objs): Add corresponding objects.
4814 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4816         [BZ #19928]
4817         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4818         New.
4819         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4820         times of shared cache size.
4821         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4822         (VMOVNT): New.
4823         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4824         (VMOVNT): Likewise.
4825         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4826         (VMOVNT): Likewise.
4827         (VMOVU): Changed to movups for smaller code sizes.
4828         (VMOVA): Changed to movaps for smaller code sizes.
4829         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4830         comments.
4831         (PREFETCH): New.
4832         (PREFETCH_SIZE): Likewise.
4833         (PREFETCHED_LOAD_SIZE): Likewise.
4834         (PREFETCH_ONE_SET): Likewise.
4835         Rewrite to use forward and backward loops, which move 4 vector
4836         registers at a time, to support overlapping addresses and use
4837         non temporal store if size is above the threshold and there is
4838         no overlap between destination and source.
4840 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4842         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4843         Include dl-vdso.
4844         * sysdeps/unix/sysv/linux/mips/Versions: Add
4845         __vdso_clock_gettime.
4846         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4847         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4848         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4849         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4850         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4851         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4852         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4853         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4854         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4856 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4858         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4859         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4862         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4863         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4866         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4867         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4868         syscalls generation.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4870         [__NR_pwrite64] (__NR_write): Remove define.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4872         [__NR_pwrite64] (__NR_write): Remove define.
4873         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4874         Remove define.
4875         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4876         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4877         Remove define.
4878         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4879         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4880         Linux implementation as base.
4881         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4883         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4884         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4889         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4891         syscall generation.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4893         [__NR_pread64] (__NR_pread): Remove define.
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4895         [__NR_pread64] (__NR_pread): Likewise.
4896         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4897         define.
4898         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4899         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4900         Remove define.
4901         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4902         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4903         Linux implementation as base.
4904         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4905         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4906         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4908         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4909         definition.
4910         (__ALIGNMENT_COUNT): Likewise.
4911         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4912         (__ALIGNMENT_COUNT): Likewise.
4913         (SYSCALL_LL): New define.
4914         (SYSCALL_LL64): Likewise.
4915         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4916         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4917         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4918         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4920         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4921         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4922         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4923         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4924         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4925         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4927 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4929         [BZ #19865]
4930         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4931         original buffer before retry.
4933 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4935         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4936         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4937         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4938         GLRO(dl_auxv) list.
4939         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4940         including <ldsodefs.h>.
4941         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4943 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4945         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4946         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4947         $(CPPFLAGS).
4949 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4951         [BZ #17950]
4952         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4953         Add -mfpmath=387.
4955 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4957         * sysdeps/i386/configure.ac: Change == to = when calling test.
4958         * sysdeps/x86_64/configure.ac: Likewise.
4959         * sysdeps/i386/configure: Regenerated.
4960         * sysdeps/x86_64/configure: Likewise.
4962 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4964         [BZ #16137]
4965         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4966         * benchtests/bench-strcoll.c (input_files): Likewise.
4967         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4968         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4969         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4971 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4973         [BZ #19929]
4974         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4975         [__USE_XOPEN2K8 && !__USE_GNU].
4976         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4977         variable.
4979         [BZ #19925]
4980         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4981         define if [!__USE_MISC && __USE_XOPEN2K].
4982         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4983         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4984         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4985         Likewise.
4986         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4987         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4988         variable.
4989         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4991 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4993         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4994         (sysdep_routines): Add new strspn targets.
4995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4996         (__libc_ifunc_impl_list): Add strspn.
4997         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4998         New file.
4999         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5000         Likewise.
5001         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5002         Likewise.
5003         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5004         Likewise.
5006 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5008         * misc/hsearch_r.c: Include <limits.h>.
5010 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5012         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5014 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5016         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5017         (MEMCPY_SYMBOL): New.
5018         (MEMPCPY_SYMBOL): Likewise.
5019         (MEMMOVE_CHK_SYMBOL): Likewise.
5020         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5021         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5022         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5023         Provide alias for memcpy in libc.a and ld.so.
5025 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5027         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5028         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5029         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5030         Disabled fro now.
5031         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5032         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5034 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5036         * benchtests/Makefile (string-benchset): Add memcpy-large,
5037         memmove-large and memset-large.
5038         * benchtests/bench-memcpy-large.c: New file.
5039         * benchtests/bench-memmove-large.c: Likewise.
5040         * benchtests/bench-memmove-large.c: Likewise.
5041         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5043 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5045         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5046         32-bit displacement to avoid long nop between instructions.
5048 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5050         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5051         a comment on VMOVU and VMOVA.
5053 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5055         [BZ #19633]
5056         Use specified locale for number formatting in strfmon_l.
5057         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5058         (__nl_lookup_word): New inline functions.
5059         * include/printf.h (__print_fp_l): Declare.
5060         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5061         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5062         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5063         (___printf_fp): New function.
5064         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5065         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5066         * stdlib/tst-strfmon_l.c (do_test): New test.
5067         * stdlib/Makefile (tests): Add kt.
5068         (LOCALES): Build additional locales.
5069         (tst-strfmon_l.out): Require locales.
5071 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5073         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5074         if not in libc.
5075         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5076         Likewise.
5077         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5078         Likewise.
5079         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5080         Likewise.
5082 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5084         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5085         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5086         with unaligned_erms.
5087         (__memmove_erms): Skip if source == destination.
5088         (__memmove_unaligned_erms): Don't check source == destination
5089         first.
5091 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5093         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5094         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5096 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5098         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5099         * string/strspn.c (strspn): Likewise.
5101 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5103         * benchtests/bench-memset.c (do_test): Support 64-byte
5104         alignment.
5105         (test_main): Test 64-byte alignment.
5107 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5109         * benchtests/bench-memmove.c (test_main): Test 64-byte
5110         alignment.
5112 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5114         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5116 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5118         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5119         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5120         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5122         * string/strpbrk.c (strpbrk): Rewrite function.
5123         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5124         (__strpbrk_c2): Likewise.
5125         (__strpbrk_c3): Likewise.
5126         * string/string-inlines.c
5127         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5128         Likewise.
5129         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5130         Likewise.
5132         * string/strspn.c (strcspn): Rewrite function.
5133         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5134         (__strspn_c1): Remove inline function.
5135         (__strspn_c2): Likewise.
5136         (__strspn_c3): Likewise.
5137         * string/string-inlines.c
5138         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5139         compatibility symbol.
5140         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5141         Likewise.
5142         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5143         Likewise.
5144         * string/string-inlines.c: Include generic version.
5146 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5147             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5149         * string/Version (libc): Add GLIBC_2.24.
5150         * string/strcspn.c (strcspn): Rewrite function.
5151         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5152         (__strcspn_c1): Remove inline function.
5153         (__strcspn_c2): Likewise.
5154         (__strcspn_c3): Likewise.
5155         * string/string-inline.c
5156         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5157         compatibility symbol.
5158         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5159         Likewise.
5160         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5161         Likewise.
5162         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5164 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5166         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5167         Use ahi instead of aghi to adjust stack pointer.
5169 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5171         [BZ #19853]
5172         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5173         TEST to take significant digits as second parameter.
5174         [TEST]: Redefine in terms of TEST_N taking 30
5175         significant digits.
5176         (do_test): Add test case to demonstrate precision
5177         failure in the ldbl-128ibm printf.
5178         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5179         (__mpn_extract_long_double): Carry 7 extra intermediate
5180         bits of precision to aide computing difference when
5181         signs differ.
5183 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5185         [BZ #19881]
5186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5187         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5188         memset-avx512-unaligned-erms.
5189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5190         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5191         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5192         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5193         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5194         __memset_sse2_unaligned_erms, __memset_erms,
5195         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5196         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5197         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5198         file.
5199         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5200         Likewise.
5201         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5202         Likewise.
5203         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5204         Likewise.
5206 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5208         [BZ #19776]
5209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5210         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5211         memmove-avx512-unaligned-erms.
5212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5213         (__libc_ifunc_impl_list): Test
5214         __memmove_chk_avx512_unaligned_2,
5215         __memmove_chk_avx512_unaligned_erms,
5216         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5217         __memmove_chk_sse2_unaligned_2,
5218         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5219         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5220         __memmove_avx512_unaligned_erms, __memmove_erms,
5221         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5222         __memcpy_chk_avx512_unaligned_2,
5223         __memcpy_chk_avx512_unaligned_erms,
5224         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5225         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5226         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5227         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5228         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5229         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5230         __mempcpy_chk_avx512_unaligned_erms,
5231         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5232         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5233         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5234         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5235         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5236         __mempcpy_erms.
5237         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5238         file.
5239         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5240         Likwise.
5241         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5242         Likwise.
5243         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5244         Likwise.
5246 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5248         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5249         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5250         (La_s390_64_regs): Likewise.
5251         (La_s390_32_retval): Append vector register lrv_v24.
5252         (La_s390_64_retval): Likeweise.
5253         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5254         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5255         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5256         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5258 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5260         [BZ #19916]
5261         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5262         to create a non-vector/vector version for _dl_runtime_resolve and
5263         _dl_runtime_profile. Move implementation to ...
5264         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5265         (_dl_runtime_resolve) Save and restore fpr/vrs.
5266         (_dl_runtime_profile) Save and restore vrs and fix some issues
5267         if _dl_call_pltexit is called.
5268         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5269         Choose the correct resolver function if running on a machine with vx.
5270         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5271         to create a non-vector/vector version for _dl_runtime_resolve and
5272         _dl_runtime_profile. Move implementation to ...
5273         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5274         (_dl_runtime_resolve) Save and restore fpr/vrs.
5275         (_dl_runtime_profile) Save and restore vrs and fix some issues
5276         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5277         Choose the correct resolver function if running on a machine with vx.
5279 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5281         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5283 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5285         [BZ #19509]
5286         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5287         skip_map != NULL.
5288         * elf/tst-dlsym-error.c: New file.
5289         * elf/Makefile (tests): Add tst-dlsym-error.
5290         (tst-dlsym-error): Link against libdl.
5292 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5295         (__ASSUME_FUTIMESAT): Remove macro.
5296         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5298 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5300         [BZ #19879]
5301         CVE-2016-3075
5302         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5303         copy name.
5305 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5307         [BZ #19837]
5308         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5309         error if parse_line fails.
5311 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5313         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5314         (index_cpu_ERMS): Likewise.
5315         (reg_ERMS): Likewise.
5317 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5319         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5320         PER_LINUX_FDPIC): Add.
5322 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5325         memcpy-avx512-no-vzeroupper.
5326         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5327         to ...
5328         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5329         (MEMCPY): Don't define.
5330         (MEMCPY_CHK): Likewise.
5331         (MEMPCPY): Likewise.
5332         (MEMPCPY_CHK): Likewise.
5333         (MEMPCPY_CHK): Renamed to ...
5334         (__mempcpy_chk_avx512_no_vzeroupper): This.
5335         (MEMPCPY_CHK): Renamed to ...
5336         (__mempcpy_chk_avx512_no_vzeroupper): This.
5337         (MEMCPY_CHK): Renamed to ...
5338         (__memmove_chk_avx512_no_vzeroupper): This.
5339         (MEMCPY): Renamed to ...
5340         (__memmove_avx512_no_vzeroupper): This.
5341         (__memcpy_avx512_no_vzeroupper): New alias.
5342         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5344 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5346         [BZ #18858]
5347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5348         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5349         and mempcpy-avx512-no-vzeroupper.
5350         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5351         New.
5352         (MEMPCPY): Likewise.
5353         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5354         (MEMPCPY_CHK): New.
5355         (MEMPCPY): Likewise.
5356         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5357         (MEMPCPY): Likewise.
5358         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5359         (MEMPCPY): Likewise.
5360         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5361         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5362         Likewise.
5363         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5364         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5366 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5367              Amit Pawar  <Amit.Pawar@amd.com>
5369         [BZ #19583]
5370         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5371         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5372         processors.  Set Fast_Copy_Backward for AMD Excavator
5373         processors.
5374         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5375         New.
5376         (index_arch_Fast_Unaligned_Copy): Likewise.
5377         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5378         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5380 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5382         [BZ #19791]
5383         * resolv/res_send.c (close_and_return_error): New function.
5384         (send_dg): Initialize *resplen2 after reopen failure.  Call
5385         close_and_return_error for error returns.  On error paths without
5386         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5387         successful return.
5389 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5391         [BZ# 19860]
5392         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5393         zero if the compiler does not provide the AVX512F bit.
5395 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5397         [BZ #19848]
5398         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5399         from 8 to 4.
5400         (__ieee754_powl): Compare integer exponent against 4 not 8.
5401         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5402         from 8 to 4.
5403         (__ieee754_powl): Compare integer exponent against 4 not 8.
5404         * math/auto-libm-test-in: Add more tests of pow.
5405         * math/auto-libm-test-out: Regenerated.
5406         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5409 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5411         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5412         Make code unconditional.
5413         [!__NR_utimensat]: Remove conditional code.
5414         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5415         Make code unconditional.
5416         [!__NR_utimensat]: Remove conditional code.
5417         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5418         Make code unconditional.
5419         [!__NR_utimensat]: Remove conditional code.
5421 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5423         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5424         Make code unconditional.
5426 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5428         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5429         call-clobbered %eax on retry path.
5430         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5432 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5434         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5435         Don't set %rcx twice before "rep movsb".
5437 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5439         [BZ #19583]
5440         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5441         inline.  Check family before setting family, model and
5442         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5443         bits here.
5444         (init_cpu_features): Replace HAS_CPU_FEATURE and
5445         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5446         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5447         for Intel processors with usable AVX2.  Call get_common_indeces
5448         for other processors with family == NULL.
5449         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5450         (CPU_FEATURES_ARCH_P): Likewise.
5451         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5452         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5454 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5456         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5457         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5458         $(shared-thread-library) instead of hardcoding the path to libpthread.
5460 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5462         * sysdeps/unix/sysv/linux/kernel-features.h
5463         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5464         * sysdeps/unix/sysv/linux/getdents.c
5465         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5466         [!have_no_getdents64_defined]: Likewise.
5467         (__GETDENTS): Remove __have_no_getdents64 conditional.
5469 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5472         Remove macro.
5473         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5474         <kernel-features.h>.
5475         (signalfd) [__NR_signalfd4]: Make code unconditional.
5476         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5478 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5480         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5481         style.
5483 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5485         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5486         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5487         __pthread_unwind.
5488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5489         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5491         (__condvar_cleanup1): Likewise.
5493 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5495         [BZ #19822]
5496         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5497         move it to the final $@ location.
5499 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5501         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5502         access where posix_spawn success and pid argument is null.
5503         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5504         success case.
5506 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5508         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5510         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5512         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5513         and __fcntl.
5514         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5515         __fcntl only.
5516         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5517         adding attribute_hidden to __open and __fcntl.
5519         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5520         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5521         depend on libc-modules.h,
5522         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5524 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5526         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5527         Remove macro.
5528         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5529         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5530         entry.
5532         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5533         Remove macro.
5534         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5535         include <kernel-features.h>.
5536         [!__ASSUME_FALLOCATE]: Remove conditional code.
5537         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5539 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5541         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5542         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5543         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5544         (_ZGVdN4v_cos_avx2): Likewise.
5545         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5546         (_ZGVdN4v_cos): Likewise.
5547         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5548         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5549         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5550         (_ZGVdN4v_exp_avx2): Likewise.
5551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5552         (_ZGVdN4v_exp): Likewise.
5553         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5554         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5555         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5556         (_ZGVdN4v_log_avx2): Likewise.
5557         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5558         (_ZGVdN4v_log): Likewise.
5559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5560         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5562         (_ZGVdN4vv_pow_avx2): Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5564         (_ZGVdN4vv_pow): Likewise.
5565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5566         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5568         (_ZGVdN4v_sin_avx2): Likewise.
5569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5570         (_ZGVdN4v_sin): Likewise.
5571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5572         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5574         (_ZGVdN4vvv_sincos_avx2): Likewise.
5575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5576         (_ZGVdN4vvv_sincos): Likewise.
5577         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5578         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5580         (_ZGVbN4v_cosf_sse4): Likewise.
5581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5582         (_ZGVdN8v_cosf_avx2): Likewise.
5583         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5584         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5586         (_ZGVbN4v_expf_sse4): Likewise.
5587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5588         (_ZGVdN8v_expf_avx2): Likewise.
5589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5590         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5592         (_ZGVbN4v_logf_sse4): Likewise.
5593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5594         (_ZGVdN8v_logf_avx2): Likewise.
5595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5596         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5598         (_ZGVbN4vv_powf_sse4): Likewise.
5599         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5600         (_ZGVdN8vv_powf_avx2): Likewise.
5601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5602         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5604         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5605         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5606         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5608         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5610         (_ZGVbN4v_sinf_sse4): Likewise.
5611         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5612         (_ZGVdN8v_sinf_avx2): Likewise.
5613         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5614         Use JUMPTARGET to call callee.
5615         (WRAPPER_IMPL_SSE2_ff): Likewise.
5616         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5617         (WRAPPER_IMPL_AVX): Likewise.
5618         (WRAPPER_IMPL_AVX_ff): Likewise.
5619         (WRAPPER_IMPL_AVX_fFF): Likewise.
5620         (WRAPPER_IMPL_AVX512): Likewise.
5621         (WRAPPER_IMPL_AVX512_ff): Likewise.
5622         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5623         Likewise.
5624         (WRAPPER_IMPL_SSE2_ff): Likewise.
5625         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5626         (WRAPPER_IMPL_AVX): Likewise.
5627         (WRAPPER_IMPL_AVX_ff): Likewise.
5628         (WRAPPER_IMPL_AVX_fFF): Likewise.
5629         (WRAPPER_IMPL_AVX512): Likewise.
5630         (WRAPPER_IMPL_AVX512_ff): Likewise.
5631         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5633 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5635         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5636         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5637         qualifier.
5638         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5639         internal_function qualifiers.
5641 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5643         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5644         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5645         * math/atest-exp.c (exp_mpn): Mark chk unused.
5646         * math/atest-exp2.c (exp_mpn): Likwise.
5647         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5648         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5650 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5653         Remove macro.
5654         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5655         <kernel-features.h>.
5656         [__NR_ppoll]: Make code unconditional.
5657         [!__ASSUME_PPOLL]: Remove conditional code.
5659         * sysdeps/unix/sysv/linux/kernel-features.h
5660         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5661         (__ASSUME_ACCEPT4): Likewise.
5662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5663         Define.
5664         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5665         Likewise.
5666         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5667         Likewise.
5668         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5669         Likewise.
5670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5671         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5672         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5673         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5674         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5675         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5678         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5679         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5681         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5682         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5684         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5686         Likewise.
5687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5688         Likewise.
5689         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5690         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5691         0x040300].
5692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5693         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5695         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5696         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5697         0x030300].
5698         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5699         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5700         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5701         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5702         0x040300].
5703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5705         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5706         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5708         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5709         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5710         0x030300].
5711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5712         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5713         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5714         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5715         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5716         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5719         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5720         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5721         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5722         0x040300].
5723         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5724         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5725         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5726         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5729         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5730         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5733         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5734         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5735         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5736         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5737         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5738         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5740         Likewise.
5741         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5742         Likewise.
5744 2016-03-15  Andreas Schwab  <schwab@suse.de>
5746         [BZ #19257]
5747         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5748         statp->_u._ext.nscount as loop count.
5750 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5752         * math/test-signgam-finite-c99.c: Also #undef
5753         __LIBC_INTERNAL_MATH_INLINES.
5754         * math/test-signgam-main.c: Likewise.
5756 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5758         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5759         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5760         (MADV_FREE): Likewise.
5761         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5762         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5763         EPOLLEXCLUSIVE.
5765 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5767         * timezone/README: Remove mention of checktab.awk. Mention wiki
5768         SharedSourceFiles.
5770 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5772         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5773         WUNTRACED.
5775 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5777         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5778         order to match the type of p when calling atomic_exchange_acq().
5780 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5782         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5783         cfi_offset calls.
5784         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5785         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5786         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5787         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5788         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5790 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5792         * timezone/checktab.awk: Removed.
5794 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5796         * manual/math.texi (Errors in Math Functions): Document relaxed
5797         accuracy goals for IBM long double.
5798         * math/libm-test.inc (test_exceptions): Always allow spurious
5799         "underflow" and "inexact" exceptions for IBM long double.
5801 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5803         [BZ #19762]
5804         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5805         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5806         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5807         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5808         (bit_arch_*): This for feature array.
5809         (bit_*): Renamed to ...
5810         (bit_cpu_*): This for cpu array.
5811         (index_*): Renamed to ...
5812         (index_arch_*): This for feature array.
5813         (index_*): Renamed to ...
5814         (index_cpu_*): This for cpu array.
5815         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5816         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5817         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5818         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5819         bit_##name with index_cpu_##name and bit_cpu_##name.
5820         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5821         bit_##name with index_arch_##name and bit_arch_##name.
5823 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5825         [BZ #19792]
5826         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5827         Terminate FDE before return label.
5829 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5831         [BZ #19790]
5832         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5833         (rintl): Define as macro.
5834         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5835         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5836         of fesetround.  Ensure results are evaluated before end of scope.
5837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5838         USE_AS_NEARBYINTL and include s_rintl.c.
5839         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5840         Disable exception traps in new environment.
5841         (libc_feholdsetround_ppc_ctx): Likewise.
5843 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5845         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5846         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5847         (tst_audit10_aux) [__AVX512F__]: ... here.
5849 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5851         * include/sys/auxv.h: New file.
5853 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5855         [BZ #19759]
5856         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5858 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5860         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5861         operand modifier.
5862         (feclearexcept): Likewise.
5864 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5866         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5867         to reflect the entire 32-bit HWCAP.
5868         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5869         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5871 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5873         [BZ #19783]
5874         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5875         $(test-via-rtld-prefix).
5876         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5878 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5880         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5881         union wait.  Report any non-zero exit status as error.
5883 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5885         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5886         configured with --enable-hardcoded-path-in-tests.
5888 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5890         [BZ #19677]
5891         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5892         (__ieee754_remainderl): Put zero low parts in canonical form.
5893         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5894         file.  Based on
5895         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5896         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5897         with wrapper round test-fmodrem-ldbl-128ibm.c.
5898         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5899         file.
5900         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5901         Likewise.
5902         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5903         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5905 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5907         [BZ #19610]
5908         * elf/ldconfig.c (opt_link): Update comment.
5909         (options): Update help string for option -X.
5910         (search_dir): Unlink stale symbolic link only if updating symbolic
5911         links.
5912         * elf/tst-ldconfig-X.sh: New file.
5913         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5914         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5916 2016-03-07  Andreas Schwab  <schwab@suse.de>
5918         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5919         needed arguments.
5921 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5923         [BZ #15333]
5924         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5925         to lstat64.
5927 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5929         * libio/filedoalloc.c (isatty): Remove.
5930         (local_isatty): Add comment.  Call __isatty directly.
5931         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5932         * libio/wfiledoalloc.c (isatty): Remove.
5933         (_IO_wfile_doallocate): Update comment.
5935 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5937         [BZ #19269]
5938         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5939         tst-audit4-aux.o.
5940         (tst-audit10): Depend on tst-audit10-aux.o.
5941         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5942         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5943         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5944         instead of inline AVX code.
5945         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5946         instead of inline AVX512 code.
5947         * sysdeps/x86_64/tst-audit4-aux.c: New file
5948         * sysdeps/x86_64/tst-audit10-aux.c: New file
5950         [BZ #19648]
5951         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5953 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5955         [BZ #14750]
5956         [BZ #10354]
5957         [BZ #18433]
5958         * include/sched.h (__clone): Add hidden prototype.
5959         (__clone2): Likewise.
5960         * include/unistd.h (__dup): Likewise.
5961         * posix/Makefile (tests): Add tst-spawn2.
5962         * posix/tst-spawn2.c: New file.
5963         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5964         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5965         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5966         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5967         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5968         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5969         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5970         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5971         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5972         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5973         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5979         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5980         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5981         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5982         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5983         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5984         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5985         * sysdeps/unix/sysv/linux/nptl-signals.h
5986         (____nptl_is_internal_signal): New function.
5987         * sysdeps/unix/sysv/linux/spawni.c: New file.
5989         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5990         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5991         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5992         * posix/tst-execvp2.c (do_test): Likewise.
5993         * posix/tst-execvp3.c (do_test): Likewise.
5994         * posix/tst-execvp4.c (do_test): Likewise.
5995         * posix/tst-execvpe1.c: New file.
5996         * posix/tst-execvpe2.c: Likewise.
5997         * posix/tst-execvpe3.c: Likewise.
5998         * posix/tst-execvpe4.c: Likewise.
5999         * posix/tst-execvpe5.c: Likewise.
6000         * posix/tst-execvpe6.c: Likewise.
6002         [BZ #19534]
6003         * posix/execl.c (execl): Remove dynamic memory allocation.
6004         * posix/execle.c (execle): Likewise.
6005         * posix/execlp.c (execlp): Likewise.
6007 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6009         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6010         Replace .text with .text.avx512.
6011         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6012         Likewise.
6014 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6016         * sysdeps/generic/libnsl.abilist: New file.
6017         * sysdeps/generic/libutil.abilist: New file.
6019 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6021         [BZ #19762]
6022         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6023         HAS_ARCH_FEATURE with Fast_Rep_String.
6024         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6025         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6026         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6027         Likewise.
6028         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6029         Likewise.
6030         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6031         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6032         Likewise.
6033         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6034         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6035         Likewise.
6037 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6039         [BZ #19745]
6040         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6041         with *%rax in call.
6043 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6045         [BZ #19745]
6046         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6047         with *__libc_start_main@GOTPCREL(%rip) in call.
6049 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6051         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6052         inside conditional for nonempty $(CXX).
6054         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6055         nonempty.
6057         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6058         to test for empty $(CXX) rather than $(CXX) of "no".
6060 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6062         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6064 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6065             H.J. Lu  <hongjiu.lu@intel.com>
6067         [BZ #18880]
6068         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6069         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6070         enable __memcpy_ssse3_back.
6072 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6074         [BZ #19758]
6075         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6076         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6078 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6080         [BZ #19490]
6081         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6082         (__fentry__): Likewise.
6084 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6086         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6087         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6089 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6091         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6092         __mcount_internal directly.
6093         (C_LABEL(__fentry__)): Likewise.
6094         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6095         directly.
6097 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6099         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6100         (__start_context): Call __setcontext directly.
6102 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6104         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6105         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6106         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6107         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6109         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6110         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6111         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6112         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6113         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6114         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6115         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6116         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6117         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6118         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6120         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6122         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6123         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6124         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6125         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6126         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6127         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6128         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6129         Remove conditional code.
6130         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6131         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6132         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6133         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6134         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6135         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6136         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6137         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6138         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6139         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6140         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6141         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6143 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6145         * NEWS (2.23): Fix typo in bug 19048 text.
6147 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6149         [BZ #14259]
6150         * Makeconfig: Rename msgcatdir to localedir.
6151         Rename inst_msgcatdir to inst_localedir.
6152         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6153         * config.make.in: Add localedir.
6154         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6155         (ldd-rewrite): Likewise.
6156         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6157         (install-others): Use inst_localedir.
6158         (CPPFLAGS): Use localedir.
6159         * locale/Makefile (locale-CPPFLAGS): Likewise.
6160         * po/Makefile (mo-installed): Use inst_localedir.
6162         [BZ #19575]
6163         * localedata/charmaps/GB18030: Update comments regarding PAU to
6164         non-PUA mappings.
6166 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6168         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6169         test for header.
6170         * sysdeps/unix/sysv/linux/configure: Regenerated.
6171         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6172         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6173         Remove conditional code.
6174         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6176         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6177         Define to 3.2.0.
6178         (arch_minimum_kernel): Likewise.
6179         * sysdeps/unix/sysv/linux/configure: Regenerated.
6180         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6181         Define to 2.6.32.
6182         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6183         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6184         (arch_minimum_kernel): Define to 2.6.32.
6185         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6186         * README: Document Linux 3.2 requirement.
6187         * manual/install.texi (Linux): Document Linux 3.2 headers
6188         requirement.
6189         * INSTALL: Regenerated.
6191 2016-02-24  Andreas Schwab  <schwab@suse.de>
6193         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6194         if !NO_LONG_DOUBLE.
6196 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6198         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6199         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6201 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6203         [BZ #19512]
6204         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6206 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6208         * posix/tst-dir.c: Include libc-internal.h.
6210 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6212         [BZ #19056]
6213         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6214         * manual/filesys.texi (Reading/Closing Directory): Mention
6215         deprecaion.
6216         * posix/tst-dir.c (main): Disable deprecation warning in test.
6218 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6220         [BZ #19679]
6221         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6222         Renamed to ...
6223         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6224         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6225         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6226         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6227         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6228         * sysdeps/x86_64/dl-trampoline.h
6229         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6230         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6232 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6234         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6236 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6238         * elf/elf.h (R_386_GOT32X): New.
6239         (R_386_NUM): Update.
6240         (R_X86_64_GOTPCRELX: New.
6241         (R_X86_64_REX_GOTPCRELX): New.
6242         (R_X86_64_NUM): Update.
6244 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6246         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6248 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6250         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6251         assign attr->stackaddr to it, and adjust it down when
6252         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6253         [_STACK_GROWS_UP]: Delete assert.
6254         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6255         Implement stack grows up logic.
6256         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6257         stack grows up logic.
6259 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6261         * NEWS: Update with 2.24 template.
6263 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6265         [BZ #19678]
6266         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6267         Ensure +0.0 is returned when taking the next value below the least
6268         positive value.
6270 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6272         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6273         available.  Do not define NO_THREADS.
6274         * malloc/malloc.c: Do not check NO_THREADS.
6275         * malloc/arena.c: Likewise.
6277 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6279         * malloc/malloc.c (__libc_mallinfo): Update comment.
6280         (struct malloc_par): Remove max_total_mem member, it was always 0.
6281         (int_mallinfo): Store 0 into usmblks (no functional change).
6282         * malloc/hooks.c (struct malloc_state): Document that
6283         max_total_mem is always 0.
6284         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6285         always 0.
6286         * manual/memory.texi (Statistics of Malloc): Likewise.
6288 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6290         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6291         * malloc/arena.c (arena_max): Remove.
6292         (heap_trim, _int_new_arena): Do not update arena_max.
6294 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6296         * resolv/res_init.c (res_ninit): Update comment.
6298 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6300         [BZ #19505]
6301         * posix/spawn_int.h: Add headers and include guard.
6302         (__spawn_valid_fd): New function.
6303         * posix/spawn_faction_addopen.c
6304         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6305         * posix/spawn_faction_addclose.c
6306         (posix_spawn_file_actions_addclose): Likewise.
6307         * posix/spawn_faction_adddup2.c
6308         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6309         second file descriptor.
6310         * posix/spawn_valid_fd.c: New file.
6311         * posix/tst-posix_spawn-fd.c: New file.
6312         * posix/Makefile (routines): Add spawn_valid_fd.
6313         (tests): Add tst-posix_spawn-fd.
6315 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6317         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6318         (do_test): Limit the number of arenas, so that we can use fewer
6319         outer threads.  Limit timeout to 3 seconds, in preparation for a
6320         larger TIMEOUT value.
6322 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6324         [BZ #19674]
6325         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6326         sign in overflowing and underflowing results when overflow or
6327         underflow is detected early.  Include sign in result before rather
6328         than after scaling.
6330         [BZ #19603]
6331         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6332         (__ieee754_remainderl): Adjust sign of integer version of low part
6333         when taking absolute value of high part.
6334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6335         * math/libm-test.inc (remainder_test_data): Add another test.
6336         (remquo_test_data): Likewise.
6338 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6340         [BZ #19602]
6341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6342         equal high parts and both low parts zero specially.
6343         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6344         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6345         Add test-fmodl-ldbl-128ibm.
6347         [BZ #19595]
6348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6349         common logic for all cases of shifting subnormal results.  Do not
6350         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6351         exponent to ldbl_insert_mantissa in subnormal case.
6353         [BZ #19594]
6354         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6355         on high and low parts then adjust result and use
6356         ldbl_canonicalize_int if needed.
6358         [BZ #19593]
6359         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6360         on high part and __floor or __ceil on low part then use
6361         ldbl_canonicalize_int if needed.
6363         [BZ #19592]
6364         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6365         high and low parts then use ldbl_canonicalize_int if needed.
6367         [BZ #17899]
6368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6369         New function.
6370         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6371         on high and low parts then use ldbl_canonicalize_int if needed.
6373 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6375         * configure: Regenerated.
6377         * po/libc.pot: Regenerated.
6379         * po/be.po: Updated translation.
6380         * po/bg.po: Likewise.
6381         * po/ca.po: Likewise.
6382         * po/cs.po: Likewise.
6383         * po/da.po: Likewise.
6384         * po/el.po: Likewise.
6385         * po/eo.po: Likewise.
6386         * po/es.po: Likewise.
6387         * po/fi.po: Likewise.
6388         * po/fr.po: Likewise.
6389         * po/gl.po: Likewise.
6390         * po/hr.po: Likewise.
6391         * po/hu.po: Likewise.
6392         * po/ia.po: Likewise.
6393         * po/id.po: Likewise.
6394         * po/it.po: Likewise.
6395         * po/ja.po: Likewise.
6396         * po/lt.po: Likewise.
6397         * po/nb.po: Likewise.
6398         * po/nl.po: Likewise.
6399         * po/pt_BR.po: Likewise.
6400         * po/rw.po: Likewise.
6401         * po/sk.po: Likewise.
6402         * po/sl.po: Likewise.
6403         * po/sv.po: Likewise.
6404         * po/tr.po: Likewise.
6405         * po/zh_CN.po: Likewise.
6406         * po/zh_TW.po: Likewise.
6408         * version.h (RELEAES): Set to "development".
6409         (VERSION): Set to 2.23.90.
6411         * version.h (RELEASE): Set to "stable".
6412         (VERSION): Set to 2.23.
6413         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6415         * NEWS: Updated fixed bugs.
6417 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6418             Wilco Dijkstra  <wdijkstr@arm.com>
6420         [BZ #19462]
6421         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6422         (_STRING_INLINE_unaligned): This.
6423         * include/string.h: Include <string_private.h>.
6424         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6425         _STRING_INLINE_unaligned.
6426         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6427         (_STRING_INLINE_unaligned): New.
6428         * sysdeps/aarch64/string_private.h: New file.
6429         * sysdeps/generic/string_private.h: Likewise.
6430         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6431         * sysdeps/s390/string_private.h: Likewise.
6432         * sysdeps/x86/string_private.h: Likewise.
6433         * sysdeps/m68k/m680x0/m68020/bits/string.h
6434         (_STRING_ARCH_unaligned): Renamed to ...
6435         (_STRING_INLINE_unaligned): This.
6436         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6437         to ...
6438         (_STRING_INLINE_unaligned): This.
6439         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6440         to ...
6441         (_STRING_INLINE_unaligned): This.
6442         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6443         to ...
6444         (_STRING_INLINE_unaligned): This.
6446 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6447             H.J. Lu  <hongjiu.lu@intel.com>
6449         [BZ #19590]
6450         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6451         relocation.
6453 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6455         [BZ #18665]
6456         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6457         *herrno_p.
6458         (gaih_getanswer): Document functional behviour. Return tryagain
6459         if any result is tryagain.
6460         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6461         when freed.
6462         * resolv/res_send.c: Add copyright text.
6463         (__libc_res_nsend): Document that MAXPACKET is expected.
6464         (send_vc): Document. Remove buffer reuse.
6465         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6466         size of the buffer. Add Dprint for truncated UDP buffer.
6468 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6470         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6471         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6472         * INSTALL: Regenerate.
6474 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6475             Jonathan Wakely  <jwakely@redhat.com>
6476             Carlos O'Donell  <carlos@redhat.com>
6478         [BZ 19439]
6479         * math/Makefile (tests): Add test-math-isinff.
6480         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6481         * math/bits/mathcalls.h [__USE_MISC]: Use
6482         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6483         functions not in C++11 and which don't conflict e.g. isinff,
6484         isinfl etc.
6485         * math/test-math-isinff.cc: New file.
6487 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6489         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6491 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6493         [BZ #19529]
6494         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6496 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6498         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6500 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6502         [BZ #19550]
6503         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6504         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6505         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6506         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6507         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6508         New syscall entry.
6509         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6510         New syscall entry.
6511         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6512         syscall entry.
6514 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6516         [BZ #18240]
6517         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6518         unsigned int wraparound.
6520 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6522         [BZ #18240]
6523         * misc/bug18240.c: New test.
6524         * misc/Makefile (tests): Add it.
6526 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6527             Joseph Myers  <joseph@codesourcery.com>
6529         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6530         load in branch delay slot when less than a word of input left.
6532 2016-01-27  Andreas Schwab  <schwab@suse.de>
6534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6535         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6536         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6537         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6539 2016-01-26  David S. Miller  <davem@davemloft.net>
6541         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6543 2016-01-25  David S. Miller  <davem@davemloft.net>
6545         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6546         __sqrtl_finite.
6547         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6548         instead using versioned_symbol.
6549         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6550         of entries.
6552         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6553         __sqrtl_finite to GLIBC_2.23
6555 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6557         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6559 2016-01-25  Andreas Schwab  <schwab@suse.de>
6561         [BZ #17514]
6562         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6563         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6564         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6565         * nptl/tst-mutex-errorcheck.c: New file.
6567 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6569         [BZ #18560]
6570         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6571         (IPCOP_semop): Likewise.
6572         (IPCOP_semget): Likewise.
6573         (IPCOP_semctl): Likewise.
6574         (IPCOP_msgsnd): Likewise.
6575         (IPCOP_msgrcv): Likewise.
6576         (IPCOP_msgget): Likewise.
6577         (IPCOP_msgctl): Likewise.
6578         (IPCOP_shmat): Likewise.
6579         (IPCOP_shmdt): Likewise.
6580         (IPCOP_shmget): Likewise.
6581         (IPCOP_shmctl): Likewise.
6583 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6585         * string/tst-endian.c: Include <libc-internal.h>.
6586         (do_test): Ignore tautological-compare warnings around
6587         "htobeXX (beXXtoh (i)) != i" and
6588         "htoleXX (leXXtoh (i)) != i" if-statements.
6590 2016-01-24  David S. Miller  <davem@davemloft.net>
6592         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6593         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6594         alias.
6595         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6596         __sqrtl_finite.
6598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6600 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6602         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6603         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6604         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6606 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6608         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6609         (thread_func): Use new function to simplify barrier check.
6610         (do_test): Use new function to simplify checking barrier exit
6611         code, and actually join the child thread.
6613 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6615         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6616         semicolon.
6617         (__libc_tend): Likewise.
6618         (__libc_tabort): Likewise.
6620 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6622         * sysdeps/nios2/libm-test-ulps: Update.
6623         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6624         (__gtsf2): Likewise.
6625         (__unorddf2): Likewise.
6626         (__unordsf2): Likewise.
6627         (__ledf2): Likewise.
6629 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6631         * nis/nis_table.c (__follow_path): Disable diagnostic for
6632         uninitialized variable that is a false positive for gcc 4.7.
6633         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6635 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6637         * sysdeps/nacl/lowlevellock-futex.h
6638         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6639         Always evaluate PRIVATE argument.
6641 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6643         [BZ #19490]
6644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6645         (pthread_cond_broadcast): Use ENTRY/END
6646         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6647         (pthread_cond_signal): Likewise.
6648         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6649         Likewise.
6650         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6651         Likewise.
6652         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6653         Likewise.
6655 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6657         * sysdeps/ieee754/dbl-64/s_finite.c
6658         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6659         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6660         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6661         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6662         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6665         (__gtsf2): Add as optional for libc.so.
6666         (__unordsf2): Likewise.
6667         (__signbit): Remove for libc.so.
6668         (__signbitl): Likewise.
6670 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6672         * iconvdata/bug-iconv11.c (test_ibm93x):
6673         Use %zu printf format specifier for size_t argument.
6675 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6677         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6678         already-recorded ulps.
6679         * sysdeps/arm/libm-test-ulps: Regenerated.
6680         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6681         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6682         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6684 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6685             Paul Pluzhnikov  <ppluzhnikov@google.com>
6687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6688         assembler not supporting AVX-512.
6690 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6692         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6694 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6696         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6697         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6699         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6701         * sysdeps/arm/libm-test-ulps: Regenerated.
6703 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6705         [BZ #19451]
6706         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6708 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6710         [BZ #19486]
6711         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6712         * sysdeps/generic/fix-fp-int-convert-overflow.h
6713         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6714         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6715         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6716         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6717         Likewise.
6718         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6719         Avoid conversions to long int where inexact exceptions
6720         could be raised.
6721         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6722         Likewise.
6723         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6724         Avoid conversions to long long int where inexact exceptions
6725         could be raised.
6726         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6727         Likewise.
6729 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6731         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6732         * configure: Regenerated.
6734 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6736         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6738 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6741         outside of comment.
6743 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6745         * nptl/tst-barrier1.c: Add description on first line.
6746         * nptl/tst-barrier2.c: Likewise.
6747         * nptl/tst-barrier3.c: Likewise.
6748         * nptl/tst-barrier4.c: Likewise.
6749         * nptl/tst-barrier5.c: Likewise.
6751 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6753         [BZ #18868]
6754         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6756 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6760         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6761         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6762         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6763         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6764         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6765         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6766         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6767         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6768         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6770 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6772         [BZ #13065]
6773         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6774         new implementation.
6775         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6776         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6777         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6778         (BARRIER_IN_THRESHOLD): New macro.
6779         * nptl/pthread_barrierattr_setpshared.c
6780         (pthread_barrierattr_setpshared): Clean up.
6781         * nptl/tst-barrier4.c: Correct comment.
6782         * nptl/tst-barrier5.c: New file.
6783         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6784         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6785         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6786         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6787         * nptl/lowlevelbarrier.sym: Remove.
6788         * nptl/DESIGN-barrier.txt: Remove.
6789         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6790         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6791         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6792         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6793         error.
6794         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6795         implementation.
6797 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6799         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6800         (do_child): Mask SIGRTMIN while thr is running.
6802 2016-01-15  Martin Sebor  <msebor@redhat.com>
6804         [BZ #19432]
6805         * iconvdata/Makefile: Add bug-iconv11.
6806         * iconvdata/bug-iconv11.c: New test.
6807         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6808         * iconvdata/ibm933.c: Same.
6809         * iconvdata/ibm935.c: Same.
6810         * iconvdata/ibm937.c: Same.
6811         * iconvdata/ibm939.c: Same.
6813 2016-01-15  Martin Sebor  <msebor@redhat.com>
6815         [BZ #19443]
6816         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6817         [DEBUG] (_ufc_set_bits): Declare used.
6818         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6819         [DEBUG] (print_all): Declare used.
6820         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6821         operands of the ternary ?: expression to target type.
6822         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6823         calling the undeclared abort.
6824         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6826 2016-01-15  Martin Sebor  <msebor@redhat.com>
6828         [BZ #18755]
6829         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6830         warnings.
6831         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6832         (__gai_create_helper_thread): Same.
6833         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6834         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6835         to suppress -Wmaybe-uninitialized warnings.
6837 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6839         [BZ #19465]
6840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6841         inside if.
6842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6843         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6846 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6848         [BZ #19466]
6849         * time/tst-mktime2.c (time_t_max): Removed.
6850         (time_t_min): Likewise.
6851         (TYPE_SIGNED): New.
6852         (TYPE_MINIMUM): Likewise.
6853         (TYPE_MAXIMUM): Likewise.
6854         (TIME_T_MIN): Likewise.
6855         (TIME_T_MAX): Likewise.
6856         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6857         and TIME_T_MIN.
6858         (do_test): Likewise.
6860 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6862         [BZ #19467]
6863         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6864         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6866 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6868         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6870 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6872         * benchtests/Makefile (PYTHON): Define.
6873         (bench-func): Use $(PYTHON) to run python scripts.
6874         ($(objpfx)bench-%.c): Likewise.
6876 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6878         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6879         leading slash when `file_name' is "/".
6881 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6883         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6884         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6885         Likewise.
6886         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6887         Likewise.
6888         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6889         Likewise.
6890         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6891         enum constant and macro.
6892         (PTRACE_SETSIGMASK): Likewise.
6893         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6894         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6895         (PTRACE_GETSIGMASK): Likewise.
6896         (PTRACE_SETSIGMASK): Likewise.
6897         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6898         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6899         Likewise.
6900         (PTRACE_SETSIGMASK): Likewise.
6901         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6902         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6903         (PTRACE_GETSIGMASK): Likewise.
6904         (PTRACE_SETSIGMASK): Likewise.
6905         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6907         Likewise.
6908         (PTRACE_SETSIGMASK): Likewise.
6909         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6910         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6911         Likewise.
6912         (PTRACE_SETSIGMASK): Likewise.
6913         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6914         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6915         Likewise.
6916         (PTRACE_SETSIGMASK): Likewise.
6917         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6919 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6920             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6922         [BZ #19439]
6923         * math/bits/mathcalls.h
6924         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6925         prototype.
6926         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6928 2016-01-11  Andreas Schwab  <schwab@suse.de>
6930         [BZ #19253]
6931         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6932         cache when TZDEFRULES was used.
6933         * time/tst-tzname.c: New file.
6934         * time/Makefile (test): Add tst-tzname.
6935         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6936         * timezone/Makefile (test-zones): Add $(posixrules-file).
6937         ($(testdata)/$(posixrules-file)): New rule.
6939 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6941         Fix doc quoting problems with Texinfo 5
6942         Without this change, in the info file output, Texinfo 5 quotes code
6943         in text with undirected single quotes 'like this' and generates
6944         code examples that with many PDF readers cannot be cut out of PDFs
6945         and pasted into code.
6946         * manual/libc.texinfo: Configure the libc manual like the GNU
6947         Emacs manual, by using @documentencoding and setting
6948         txicodequoteundirected and txicodequotebacktick.  This way,
6949         Texinfo 5 quotes code in text with directed single quotes ‘like
6950         this’ and produces examples that can be cut out of PDFs.  This
6951         change causes Texinfo 5 to generate info files that contain UTF-8
6952         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6953         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6955 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6957         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6958         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6959         barriers to their respective compiler built-ins.
6960         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6961         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6962         * sysdeps/powerpc/sysdep.h: Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6964         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6965         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6967 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6969         * scripts/config.guess: Revert previous shebang change.
6970         * scripts/config.sub: Likewise.
6971         * scripts/mkinstalldirs: Likewise.
6973 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6975         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6976         PPC_FEATURE2_HAS_IEEE128.
6977         * sysdeps/powerpc/dl-procinfo.c:
6978         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6980 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6982         [BZ #19415]
6983         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6984         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6985         (_dl_lookup_address): Rewrite using function resolver trampoline.
6986         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6987         two bits in address.
6989 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6991         * longlong.h: Change !__SHMEDIA__ to
6992         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6993         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6995 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6996             Joseph Myers  <joseph@codesourcery.com>
6997             Mark Shinwell  <shinwell@codesourcery.com>
6998             Andrew Stubbs  <ams@codesourcery.com>
6999             Rich Felker <dalias@libc.org>
7001         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7003 2016-01-07  Richard Henderson  <rth@redhat.com>
7005         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7007 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7009         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7010         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7011         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7012         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7013         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7015 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7016             Joseph Myers  <joseph@codesourcery.com>
7018         * timezone/private.h: Update from tzcode 2015g.
7019         * timezone/tzfile.h: Likewise.
7020         * timezone/tzselect.ksh: Likewise.
7021         * timezone/zdump.c: Likewise.
7022         * timezone/zic.c: Likewise.
7023         * timezone/ialloc.c: Remove file.
7024         * timezone/scheck.c: Likewise.
7025         * timezone/Makefile (extra-objs): Remove variable.
7026         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7027         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7028         -Wno-maybe-uninitialized.
7029         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7030         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7031         (CFLAGS-ialloc.c): Remove variable.
7032         (CFLAGS-scheck.c): Likewise.
7033         * timezone/README: Update list of files from tzcode.
7035 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7037         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7038         instead of __fxprintf when _LIBC is undefined.
7040 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7042         * catgets/test-gencat.sh: Remove space after shebang.
7043         * conform/GlibcConform.pm: Likewise.
7044         * conform/check-header-lists.sh: Likewise.
7045         * conform/conformtest.pl: Likewise.
7046         * conform/linknamespace.pl: Likewise.
7047         * conform/list-header-symbols.pl: Likewise.
7048         * debug/catchsegv.sh: Likewise.
7049         * elf/genrtldtbl.awk: Likewise.
7050         * elf/tst-pathopt.sh: Likewise.
7051         * elf/tst-rtld-load-self.sh: Likewise.
7052         * grp/tst_fgetgrent.sh: Likewise.
7053         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7054         * iconvdata/gen-8bit-gap.sh: Likewise.
7055         * iconvdata/gen-8bit.sh: Likewise.
7056         * iconvdata/run-iconv-test.sh: Likewise.
7057         * intl/tst-gettext.sh: Likewise.
7058         * intl/tst-gettext2.sh: Likewise.
7059         * intl/tst-gettext4.sh: Likewise.
7060         * intl/tst-gettext6.sh: Likewise.
7061         * intl/tst-translit.sh: Likewise.
7062         * io/ftwtest-sh: Likewise.
7063         * libio/test-freopen.sh: Likewise.
7064         * locale/gen-translit.pl: Likewise.
7065         * malloc/tst-mtrace.sh: Likewise.
7066         * manual/check-safety.sh: Likewise.
7067         * manual/libc-texinfo.sh: Likewise.
7068         * manual/tsort.awk: Likewise.
7069         * manual/xtract-typefun.awk: Likewise.
7070         * nptl/tst-cancel-wrappers.sh: Likewise.
7071         * nptl/tst-tls6.sh: Likewise.
7072         * posix/globtest.sh: Likewise.
7073         * posix/tst-getconf.sh: Likewise.
7074         * posix/wordexp-tst.sh: Likewise.
7075         * scripts/check-c++-types.sh: Likewise.
7076         * scripts/check-local-headers.sh: Likewise.
7077         * scripts/config.guess: Likewise.
7078         * scripts/config.sub: Likewise.
7079         * scripts/cpp: Likewise.
7080         * scripts/cross-test-ssh.sh: Likewise.
7081         * scripts/documented.sh: Likewise.
7082         * scripts/evaluate-test.sh: Likewise.
7083         * scripts/gen-libc-abis: Likewise.
7084         * scripts/gen-sorted.awk: Likewise.
7085         * scripts/list-fixed-bugs.py: Likewise.
7086         * scripts/merge-test-results.sh: Likewise.
7087         * scripts/mkinstalldirs: Likewise.
7088         * scripts/rellns-sh: Likewise.
7089         * scripts/test-installation.pl: Likewise.
7090         * scripts/update-copyrights: Likewise.
7091         * stdio-common/tst-printf.sh: Likewise.
7092         * stdio-common/tst-unbputc.sh: Likewise.
7093         * stdlib/tst-fmtmsg.sh: Likewise.
7094         * stdlib/tst-setcontext3.sh: Likewise.
7095         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7096         * sysdeps/unix/make-syscalls.sh: Likewise.
7098 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7100         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7101         asm stw with atomic_exchange_rel.  Add explanatory comment.
7102         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7103         Likewise.
7105 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7107         [BZ #19122]
7108         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7109         * sysdeps/generic/dl-unistd.h: New file.
7110         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7112 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7114          [BZ #19122]
7115          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7116          * sysdeps/generic/dl-mman.h: New file.
7117          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7119 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7121         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7122         trailing whitespace removed.
7123         * scripts/config.guess: Update to version 2016-01-01.
7124         * scripts/config.sub: Update to version 2016-01-01.
7125         * scripts/move-if-change: Update from gnulib.
7127 2016-01-04  Anton Blanchard  <anton@samba.org>
7129         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7130         for array indices.
7131         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7133 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7135         * NEWS: Update copyright dates.
7136         * catgets/gencat.c (print_version): Likewise.
7137         * csu/version.c (banner): Likewise.
7138         * debug/catchsegv.sh: Likewise.
7139         * debug/pcprofiledump.c (print_version): Likewise.
7140         * debug/xtrace.sh (do_version): Likewise.
7141         * elf/ldconfig.c (print_version): Likewise.
7142         * elf/ldd.bash.in: Likewise.
7143         * elf/pldd.c (print_version): Likewise.
7144         * elf/sotruss.sh: Likewise.
7145         * elf/sprof.c (print_version): Likewise.
7146         * iconv/iconv_prog.c (print_version): Likewise.
7147         * iconv/iconvconfig.c (print_version): Likewise.
7148         * locale/programs/locale.c (print_version): Likewise.
7149         * locale/programs/localedef.c (print_version): Likewise.
7150         * login/programs/pt_chown.c (print_version): Likewise.
7151         * malloc/memusage.sh (do_version): Likewise.
7152         * malloc/memusagestat.c (print_version): Likewise.
7153         * malloc/mtrace.pl: Likewise.
7154         * manual/libc.texinfo: Likewise.
7155         * nptl/version.c (banner): Likewise.
7156         * nscd/nscd.c (print_version): Likewise.
7157         * nss/getent.c (print_version): Likewise.
7158         * nss/makedb.c (print_version): Likewise.
7159         * posix/getconf.c (main): Likewise.
7160         * scripts/test-installation.pl: Likewise.
7161         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7163         * All files with FSF copyright notices: Update copyright dates
7164         using scripts/update-copyrights.
7165         * intl/plural.c: Regenerated.
7166         * locale/programs/charmap-kw.h: Likewise.
7167         * locale/programs/locfile-kw.h: Likewise.
7169 2016-01-02  Helge Deller  <deller@gmx.de>
7171         [BZ #19285]
7172         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7173         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7174         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7175         (MADV_xxK_PAGES): Remove.
7177 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7179         [BZ #15421]
7180         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7181         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7182         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7183         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7185 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7187         [BZ #19408]
7188         * sysdeps/unix/sysv/linux/personality.c: New file.
7189         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7190         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7191         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7192         (sysdep_routines): Add personality.
7193         (tests): Add tst-personality.
7194         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7196         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7197         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7198         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7199         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7200         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7201         Likewise.
7202         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7205         Likewise.
7206         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7207         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7208         Likewise.
7210 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7212         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7213         (PATH_ARM_SYSTYPE): Remove.
7214         (PATH_CPUINFO): Likewise.
7215         (IO_BASE_FOOTBRIDGE): Likewise.
7216         (IO_SHIFT_FOOTBRIDGE): Likewise.
7217         (struct platform): Likewise.
7218         (init_iosys): Remove compatibility code for 2.4 kernels.
7219         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7221 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7223         * malloc/tst-malloc-thread-fail.c: New file.
7224         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7225         (tst-malloc-thread-fail): Link against libpthread.
7227 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7229         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7230         (get_parser): New function.
7231         (main): New function.
7233 2015-12-29  Rob Wu  <rob@robwu.nl>
7235         [BZ #19369]
7236         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7238 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7240         [BZ #19270]
7241         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7243 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7245         [BZ #15421]
7246         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7248 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7250         [BZ #13690]
7251         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7252         after releasing it.
7253         (__lll_robust_unlock): Likewise.
7254         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7255         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7256         (lll_robust_unlock): Likewise.
7257         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7258         Prevent warnings in callers.
7260 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7262         * malloc/arena.c (list_lock): Update comment.
7264 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7266         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7267         __parse_hwcap_and_convert_at_platform to libc.a.
7269 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7271         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7272         platform and feature support for POWER9.
7273         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7274         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7275         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7276         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7277         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7278         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7279         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7280         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7282 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7284         Harmonize generic stdio-lock support with nptl
7286         This fixes build when _IO_funlockfile is a macro, fixes build where
7287         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7288         stack unwind.
7290         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7291         _IO_release_lock ): Use cleanup attribute on new
7292         _IO_acquire_lock_file variable instead of assuming that
7293         _IO_release_lock will be called.
7294         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7295         _IO_acquire_lock_needs_exceptions_enabled.
7296         (_IO_acquire_lock_clear_flags2): New macro.
7298 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7300         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7302 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7304         [BZ #19182]
7305         * malloc/arena.c (list_lock): Document lock ordering requirements.
7306         (free_list_lock): New lock.
7307         (ptmalloc_lock_all): Comment on free_list_lock.
7308         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7309         (detach_arena): Update comment.  free_list_lock is now needed.
7310         (_int_new_arena): Use free_list_lock around detach_arena call.
7311         Acquire arena lock after list_lock.  Add comment, including FIXME
7312         about incorrect synchronization.
7313         (get_free_list): Switch to free_list_lock.
7314         (reused_arena): Acquire free_list_lock around detach_arena call
7315         and attached threads counter update.  Add two FIXMEs about
7316         incorrect synchronization.
7317         (arena_thread_freeres): Switch to free_list_lock.
7318         * malloc/malloc.c (struct malloc_state): Update comments to
7319         mention free_list_lock.
7321 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7323         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7324         Remove functions.
7325         (sloww, sloww1): Accept argument to offset quadrant.
7326         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7327         quadrant.
7328         (__sin, __cos): Consolidate common code into new functions.
7329         (reduce_sincos_1, do_sincos_1): New functions.
7330         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7333         code to new functions.
7334         (reduce_sincos_2, do_sincos_2): New functions.
7335         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7338         common code for sincos.
7339         (__cos) [!IN_SINCOS]: Likewise.
7340         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7341         New function.
7342         (__sincos): Use it.
7344 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7346         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7347         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7348         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7350 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7352         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7355         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7356         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7357         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7358         index_Prefer_No_VZEROUPPER): New feature.
7359         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7360         Prefer_No_VZEROUPPER for Knights Landing.
7362 015-12-18  Torvald Riegel  <triegel@redhat.com>
7364         * math/atest-exp2.c (mp_exp_m1): Remove.
7366 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7368         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7369         syscalls.
7370         (__SYSCALL0): New macro.
7371         (__SYSCALL1): Likewise.
7372         (__SYSCALL2): Likewise.
7373         (__SYSCALL3): Likewise.
7374         (__SYSCALL4): Likewise.
7375         (__SYSCALL5): Likewise.
7376         (__SYSCALL6): Likewise.
7377         (__SYSCALL_CONCAT_X): Likewise.
7378         (__SYSCALL_CONCAT): Likewise.
7379         (__SYSCALL_DIST): Likewise.
7380         (__SYSCALL_CALL): Likewise.
7382 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7384         [BZ #19363]
7385         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7387 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7389         [BZ #19375]
7390         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7391         negative subnormals.
7393 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7395         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7396         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7397         (INTERNAL_SYSCALL_NCS): Use it.
7398         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7400 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7402         [BZ #19243]
7403         * malloc/arena.c (get_free_list): Remove assert and adjust
7404         reference count handling.  Add comment about reused_arena
7405         interaction.
7406         (reused_arena): Add comments abount get_free_list interaction.
7407         * malloc/tst-malloc-thread-exit.c: New file.
7408         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7409         (tst-malloc-thread-exit): Link against libpthread.
7411 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7413         [BZ #19367]
7414         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7415         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7416         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7417         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7418         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7420 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7422         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7423         Silvermont optimizations for Knights Landing.
7425 2015-12-15  Andreas Schwab  <schwab@suse.de>
7427         [BZ #17197]
7428         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7429         immediately after emitting SI.
7430         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7431         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7432         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7433         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7434         * iconvdata/bug-iconv10.c: New file.
7435         * iconvdata/Makefile (tests): Add bug-iconv10.
7436         ($(objpfx)bug-iconv10.out): New rule.
7438 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7440         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7441         aliasing violation.
7443 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #18472]
7446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7447         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7448         conditionals for them.
7449         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7450         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7452         sys/kdaemon.h.
7453         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7454         compat-only syscall, obsoleted in glibc 2.23.
7455         (create_module): Likewise.
7456         (get_kernel_syms): Likewise.
7457         (query_module): Likewise.
7458         (uselib): Likewise.
7459         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7461 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7463         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7464         <linux/version.h>.
7465         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7466         conditional code.
7467         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7468         and ioshift_name initialization.
7470 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7473         Fix indentation.
7475 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7479 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7481         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7483 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7484             Jakub Wilk  <jwilk@debian.org>
7486         [BZ #19347]
7487         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7488         to change the group of the device to the tty group.
7490 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7492         Split large string section; add truncation advice
7493         * manual/examples/strncat.c: Remove.
7494         This example was misleading, as the code would have undefined
7495         behavior if "hello" was longer than SIZE.  Anyway, the manual
7496         shouldn't encourage strncpy+strncat for this sort of thing.
7497         * manual/string.texi (Copying Strings and Arrays): Split into
7498         three sections Copying Strings and Arrays, Concatenating Strings,
7499         and Truncating Strings, as this section was way too long.  All
7500         cross-referenced changed.  Add advice about string-truncation
7501         functions.  Remove misleading strncat example.
7503 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7505         * manual/nss.texi (NSS Modules Interface): Document
7506         NSS_STATUS_NOTFOUND and SUCCESS.
7508 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7510         [BZ 18568]
7511         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7512         201505L, for Unicode 8.
7514 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7516         * locale/C-translit.h: Regenerate.
7518 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7520         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7521         and U+0153.
7523 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7525         [BZ #19351]
7526         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7527         expanding log(1+z), compare z rather than its square with epsilon
7528         to determine when to avoid evaluating the expansion.
7530         [BZ #19350]
7531         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7532         Increase overflow threshold.
7534         [BZ #19349]
7535         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7536         when small.
7538         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7540         New macro.
7541         [__LINUX_KERNEL_VERSION >= 0x040300]
7542         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7544         Likewise.
7545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7546         Likewise.
7547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7548         Likewise.
7549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7550         Likewise.
7551         [__LINUX_KERNEL_VERSION >= 0x040300]
7552         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7553         [__LINUX_KERNEL_VERSION >= 0x040300]
7554         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7555         [__LINUX_KERNEL_VERSION >= 0x040300]
7556         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7557         [__LINUX_KERNEL_VERSION >= 0x040300]
7558         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7559         [__LINUX_KERNEL_VERSION >= 0x040300]
7560         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7562         Likewise.
7563         [__LINUX_KERNEL_VERSION >= 0x040300]
7564         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7566         Likewise.
7567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7568         Likewise.
7569         [__LINUX_KERNEL_VERSION >= 0x040300]
7570         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7572         Likewise.
7573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7577         Likewise.
7578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7579         Likewise.
7580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7581         Likewise.
7582         [__LINUX_KERNEL_VERSION >= 0x040300]
7583         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7585         Likewise.
7586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7587         Likewise.
7588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7589         Likewise.
7590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7591         Likewise.
7592         [__LINUX_KERNEL_VERSION >= 0x040300]
7593         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7594         [__LINUX_KERNEL_VERSION >= 0x040300]
7595         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7596         [__LINUX_KERNEL_VERSION >= 0x040300]
7597         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7598         [__LINUX_KERNEL_VERSION >= 0x040300]
7599         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7600         [__LINUX_KERNEL_VERSION >= 0x040300]
7601         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7603         Likewise.
7604         [__LINUX_KERNEL_VERSION >= 0x040300]
7605         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7607         Likewise.
7608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7609         Likewise.
7610         [__LINUX_KERNEL_VERSION >= 0x040300]
7611         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7613         Likewise.
7614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7615         Likewise.
7616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7617         (__ASSUME_SOCKET_SYSCALL): Likewise.
7618         (__ASSUME_BIND_SYSCALL): Likewise.
7619         (__ASSUME_CONNECT_SYSCALL): Likewise.
7620         (__ASSUME_LISTEN_SYSCALL): Likewise.
7621         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7622         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7623         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7624         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7625         (__ASSUME_SEND_SYSCALL): Likewise.
7626         (__ASSUME_SENDTO_SYSCALL): Likewise.
7627         (__ASSUME_RECV_SYSCALL): Likewise.
7628         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7629         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7630         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7631         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7632         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7633         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7634         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7636         Likewise.
7637         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7638         Likewise.
7639         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7640         Likewise.
7641         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7642         Likewise.
7643         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7644         Likewise.
7645         [__LINUX_KERNEL_VERSION >= 0x020625]
7646         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7647         [__LINUX_KERNEL_VERSION >= 0x020625]
7648         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7649         [__LINUX_KERNEL_VERSION >= 0x020625]
7650         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7651         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7652         Likewise.
7653         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7654         Likewise.
7655         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7656         Likewise.
7657         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7658         Likewise.
7659         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7660         Likewise.
7661         [__LINUX_KERNEL_VERSION >= 0x020625]
7662         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7663         [__LINUX_KERNEL_VERSION >= 0x020625]
7664         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7666         Likewise.
7667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7668         Likewise.
7670 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7672         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7673         record the current if the current ABI and CPU support the FP64
7674         extension.
7675         (has-modd-spreg): Define to record the current if the current ABI and
7676         CPU support 32-bit floating point values in odd FPU registers.
7677         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7678         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7679         $(has-modd-spreg) equals yes.
7680         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7681         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7682         $(has-modd-spreg) equal yes.
7684 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7686         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7687         basename.
7689 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7691         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7692         (bench-string): ... here.
7693         (bench): Add bench-string.
7694         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7695         to *-benchset to reflect what they are.
7696         (benchset): Adjust.
7698         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7699         cos-inputs.
7701 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7703         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7704         __attribute__ ((__simd__)) for vector math function declarations.
7706 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7708         Fix typo in strncat, wcsncat manual entries
7709         * manual/string.texi (Copying and Concatenation): Fix typos in
7710         sample implementations of strncat and wcsncat, by having them use
7711         the old value of the destination length, not the new one.
7713 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #16961]
7716         [BZ #16962]
7717         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7718         string on the stack for strtod.
7719         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7720         a string on the stack for strtof.
7721         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7722         constructing a string on the stack for strtold.
7723         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7724         __strtold_nan to GLIBC_PRIVATE.
7725         * math/test-nan-overflow.c: New file.
7726         * math/test-nan-payload.c: Likewise.
7727         * math/Makefile (tests): Add test-nan-overflow and
7728         test-nan-payload.
7730 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7732         Consistency about byte vs character in string.texi
7733         * manual/string.texi (String and Array Utilities):
7734         Distinguish more carefully among bytes, multibyte characters,
7735         and wide characters.  Use "byte" when talking about C 'char',
7736         to distinguish it more clearly from multibyte characters.
7737         Say "wide character" or "multibyte character" instead of
7738         "character", when a wide or multibyte character is intended.
7739         Similarly for "multibyte string" versus "string".
7740         Define these terms more carefully.
7742 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7744         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7745         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7746         Likewise.
7747         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7748         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7749         * sysdeps/sh/math_private.h: New file.
7750         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7751         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7752         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7753         long double function name.
7754         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7755         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7756         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7760         Remove __finitel, __isinfl, and __isnanl.
7761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7765         Remove __finitel.
7766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7770 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7772         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7773         installed libmvec_nonshared.a.
7775 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7777         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7778         (sysdep_routines): Likewise.
7779         (sysdep-rtld-routines): Likewise.
7780         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7781         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7782         * sysdeps/powerpc/Versions: Added new
7783         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7784         * sysdeps/powerpc/hwcapinfo.c: New file.
7785         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7786         and parse hwcap, hwcap2 and platform number information.
7787         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7788         to store HWCAP+HWCAP2 and platform number.
7789         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7790         for HWCAP+HWCAP2 and platform number in the TCB.
7791         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7792         the HWCAP, HWCAP2 and platform number in the TCB.
7793         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7794         (TLS_INIT_TP): Included calls to add the hwcap and
7795         at_platform values in the TCB in TP initialization.
7796         (TLS_DEFINE_INIT_TP): Likewise.
7797         (THREAD_GET_HWCAP): New macro.
7798         (THREAD_SET_HWCAP): Likewise.
7799         (THREAD_GET_AT_PLATFORM): Likewise.
7800         (THREAD_SET_AT_PLATFORM): Likewise.
7801         * sysdeps/powerpc/powerpc32/dl-machine.h:
7802         (dl_platform_init): New function that calls
7803         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7804         powerpc32.
7805         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7806         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7807         this functionality, static linking case.
7808         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7809         linking case.
7810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7811         __parse_hwcap_and_convert_at_platform for the static linking case.
7812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7813         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7814         ABI list for GLIBC 2.23.
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7816         Likewise.
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7818         Likewise.
7820 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7822         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7823         * configure: Regenerate.
7824         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7825         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7827 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7829         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7830         * iconvdata/ibm933.c: Likewise.
7831         * iconvdata/ibm935.c: Likewise.
7832         * iconvdata/ibm937.c: Likewise.
7833         * iconvdata/ibm939.c: Likewise.
7835 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7837         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7838         pthread_join.
7839         * nptl/tst-cancel21.c (tf): Likewise.
7841 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7843         [BZ #19313]
7844         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7845         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7846         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7847         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7850         Likewise.
7851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7854         Likewise.
7855         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7856         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7857         unsigned long int with __CPU_MASK_TYPE.
7859 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7861         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7863 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7865         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7866         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7867         t512.x.
7868         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7870 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7872         [BZ #19214]
7873         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7874         argument to return extended model.  Update family and model
7875         with extended family and model when family == 0x0f.
7876         (init_cpu_features): Updated.
7878 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7880         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7881         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7883         * sysdeps/mach/hurd/mmap64.c: New file.
7885 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7887         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7888         rights for its main user thread in NEWTASK.
7890 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7892         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7893         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7895 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7897         [BZ #14259]
7898         * Makeconfig: Rename localedir to complocaledir.
7899         Rename inst_localedir to inst_complocaledir.
7900         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7901         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7902         * configure.ac: Use libc_cv_complocaledir.
7903         * configure: Regenerate.
7904         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7905         -DCOMPLOCALEDIR.
7906         * locale/findlocale.c: Use COMPLOCALEDIR.
7907         * locale/loadarchive.c: Likewise.
7908         * locale/programs/locale.c: Likewise.
7909         * locale/programs/localedef.c: Likewise.
7910         * locale/programs/locarchive.c: Likewise.
7911         * localedata/Makefile: Use inst_complocaledir.
7912         * sysdeps/gnu/configure: Regenerate.
7913         * sysdeps/hppa/configure: Regenerate.
7914         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7915         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7917         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7918         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7919         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7920         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7922 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7924         [BZ #19058]
7925         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7926         AS_NEEDED.
7927         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7928         workaround.
7929         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7930         libmvec-static-only-routines): Added new file.
7931         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7933 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7935         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7936         of interrupted RPC instead of restoring it.
7938         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7939         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7940         libc_hidden_def.
7941         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7942         into initialized data instead of common. Define rtld_hidden_data_def.
7943         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7944         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7945         libc_hidden_def.
7946         (if_freenameindex): Add libc_hidden_weak.
7947         (if_nameindex): Add libc_hidden_weak.
7948         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7949         __open64.
7950         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7951         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7952         * sysdeps/mach/nanosleep.c: Include <time.h>
7953         (__nanosleep): Rename to __libc_nanosleep.
7954         (__nanosleep): Add weak_alias.
7955         (nanosleep): Update alias.
7957 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7959         * stdlib/strtod_nan.c: New file.
7960         * stdlib/strtod_nan_double.h: Likewise.
7961         * stdlib/strtod_nan_float.h: Likewise.
7962         * stdlib/strtod_nan_main.c: Likewise.
7963         * stdlib/strtod_nan_narrow.h: Likewise.
7964         * stdlib/strtod_nan_wide.h: Likewise.
7965         * stdlib/strtof_nan.c: Likewise.
7966         * stdlib/strtold_nan.c: Likewise.
7967         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7968         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7969         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7970         * wcsmbs/wcstod_nan.c: Likewise.
7971         * wcsmbs/wcstof_nan.c: Likewise.
7972         * wcsmbs/wcstold_nan.c: Likewise.
7973         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7974         strtold_nan.
7975         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7976         wcstof_nan.
7977         * include/stdlib.h (__strtof_nan): Declare and use
7978         libc_hidden_proto.
7979         (__strtod_nan): Likewise.
7980         (__strtold_nan): Likewise.
7981         (__wcstof_nan): Likewise.
7982         (__wcstod_nan): Likewise.
7983         (__wcstold_nan): Likewise.
7984         * include/wchar.h (____wcstoull_l_internal): Declare.
7985         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7986         (____strtoull_l_internal): Remove declaration.
7987         (STRTOF_NAN): Define macro.
7988         (SET_MANTISSA): Remove macro.
7989         (STRTOULL): Likewise.
7990         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7991         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7992         (STRTOF_NAN): Define macro.
7993         (SET_MANTISSA): Remove macro.
7994         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7995         (SET_MANTISSA): Remove macro.
7996         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7997         macro.
7998         (SET_MANTISSA): Remove macro.
7999         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8000         macro.
8001         (SET_MANTISSA): Remove macro.
8002         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8003         (SET_MANTISSA): Remove macro.
8004         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8005         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8006         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8008         [BZ #19266]
8009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8010         upper case and lower case letters inside NAN(), not using TOLOWER.
8011         * stdlib/tst-strtod-nan-locale-main.c: New file.
8012         * stdlib/tst-strtod-nan-locale.c: Likewise.
8013         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8014         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8015         Depend on $(gen-locales).
8016         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8017         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8018         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8019         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8020         Depend on $(gen-locales).
8021         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8023 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8025         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8027         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8029         __finitel, __isinfl, and __isnanl.
8030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8031         Likewise.
8032         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8034         __finitel.
8035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8036         Likewise.
8037         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8039 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8041         * malloc/memusage.c (me): Remove redundant getenv call.
8043 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8045         [BZ #19143]
8046         [BZ #19164]
8047         * nptl/check-cpuset.h: Remove.
8048         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8049         Remove CPU set size check.
8050         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8051         Likewise.
8052         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8053         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8054         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8055         (__pthread_setaffinity_new): Remove CPU set size check.
8056         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8057         (__kernel_cpumask_size): Remove.
8058         (__sched_setaffinity_new): Remove CPU set size check.
8059         * manual/threads.texi (Default Thread Attributes): Remove stale
8060         reference to check_cpuset_attr, determine_cpumask_size in comment.
8061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8062         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8063         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8064         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8065         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8066         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8067         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8068         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8069         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8070         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8071         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8072         skeleton test file.
8073         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8074         tst-affinity-pid.
8076 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8078         * scripts/update-abilist.sh: New file.
8079         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8080         * Makerules (update-all-abi-%, update-all-abi)
8081         (subdir_update-all-abi): New targets.
8082         * elf/Makefile (update-all-abi): New target.
8084 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8086         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8087         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8088         (__libc_lock_define_initialized): Use it.
8089         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8090         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8091         * malloc/malloc.c (main_arena): Likewise.
8092         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8093         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8095 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8097         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8098         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8099         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8100         (PTRACE_O_MASK): Update value.
8101         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8102         New value in enum __ptrace_setoptions.
8103         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8104         (PTRACE_O_MASK): Update value.
8105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8106         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8107         (PTRACE_O_MASK): Update value.
8108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8109         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8110         (PTRACE_O_MASK): Update value.
8111         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8112         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8113         (PTRACE_O_MASK): Update value.
8114         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8115         New value in enum __ptrace_setoptions.
8116         (PTRACE_O_MASK): Update value.
8117         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8118         New value in enum __ptrace_setoptions.
8119         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8120         (PTRACE_O_MASK): Update value.
8122         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8123         New macro.
8124         (PACKET_AUXDATA): Likewise.
8125         (PACKET_ORIGDEV): Likewise.
8126         (PACKET_VERSION): Likewise.
8127         (PACKET_HDRLEN): Likewise.
8128         (PACKET_RESERVE): Likewise.
8129         (PACKET_TX_RING): Likewise.
8130         (PACKET_LOSS): Likewise.
8131         (PACKET_VNET_HDR): Likewise.
8132         (PACKET_TX_TIMESTAMP): Likewise.
8133         (PACKET_TIMESTAMP): Likewise.
8134         (PACKET_FANOUT): Likewise.
8135         (PACKET_TX_HAS_OFF): Likewise.
8136         (PACKET_QDISC_BYPASS): Likewise.
8137         (PACKET_ROLLOVER_STATS): Likewise.
8138         (PACKET_FANOUT_DATA): Likewise.
8139         (PACKET_MR_UNICAST): Likewise.
8141         [BZ #19242]
8142         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8143         (TOUPPER): Likewise.
8144         * stdlib/tst-strtol-locale-main.c: New file.
8145         * stdlib/tst-strtol-locale.c: Likewise.
8146         * stdlib/Makefile (tests): Add tst-strtol-locale.
8147         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8148         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8149         Depend on $(gen-locales).
8150         * wcsmbs/tst-wcstol-locale.c: New file.
8151         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8152         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8153         tr_TR.ISO-8859-9.
8154         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8155         Depend on $(gen-locales).
8157 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8159         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8160         __glibc_likely instead of __builtin_expect.  After falling back to
8161         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8162         system interface to register the code pages as occupied.
8164 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8166         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8167         [!ARM_MATH_PRIVATE_H].
8168         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8169         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8170         [!HPPA_MATH_PRIVATE_H].
8171         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8172         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8173         to [!I386_MATH_PRIVATE_H].
8174         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8175         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8176         Change guard to [!M68K_MATH_PRIVATE_H].
8177         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8178         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8179         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8180         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8181         macro.
8182         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8183         [!MIPS_MATH_PRIVATE_H].
8184         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8185         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8186         [!NIO2_MATH_PRIVATE_H].
8187         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8188         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8189         [!TILE_MATH_PRIVATE_H].
8190         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8192         [BZ #15421]
8193         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8194         initialize with 0 and define as weak alias of __signgam.
8195         * include/math.h [!_ISOMAC] (__signgam): Declare.
8196         * math/Makefile (libm-calls): Add w_lgamma_compat.
8197         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8198         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8199         test-signgam-ullong-init.
8200         (tests-static): Add test-signgam-uchar-static,
8201         test-signgam-uchar-init-static, test-signgam-uint-static,
8202         test-signgam-uint-init-static, test-signgam-ullong-static and
8203         test-signgam-ullong-init-static.
8204         (CFLAGS-test-signgam-uchar.c): New variable.
8205         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8206         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8207         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8208         (CFLAGS-test-signgam-uint.c): Likewise.
8209         (CFLAGS-test-signgam-uint-init.c): Likewise.
8210         (CFLAGS-test-signgam-uint-static.c): Likewise.
8211         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8212         (CFLAGS-test-signgam-ullong.c): Likewise.
8213         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8214         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8215         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8216         * math/Versions (libm): Add GLIBC_2.23.
8217         * math/lgamma-compat.h: New file.
8218         * math/test-signgam-main.c: Likewise.
8219         * math/test-signgam-uchar-init-static.c: Likewise.
8220         * math/test-signgam-uchar-init.c: Likewise.
8221         * math/test-signgam-uchar-static.c: Likewise.
8222         * math/test-signgam-uchar.c: Likewise.
8223         * math/test-signgam-uint-init-static.c: Likewise.
8224         * math/test-signgam-uint-init.c: Likewise.
8225         * math/test-signgam-uint-static.c: Likewise.
8226         * math/test-signgam-uint.c: Likewise.
8227         * math/test-signgam-ullong-init-static.c: Likewise.
8228         * math/test-signgam-ullong-init.c: Likewise.
8229         * math/test-signgam-ullong-static.c: Likewise.
8230         * math/test-signgam-ullong.c: Likewise.
8231         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8232         wrapper of w_lgamma_main.c.
8233         * math/w_lgamma_compat.c: New file.
8234         * math/w_lgamma_compatf.c: Likewise.
8235         * math/w_lgamma_compatl.c: Likewise.
8236         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8237         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8238         defining compatibility symbols.
8239         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8240         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8241         wrapper of w_lgammaf_main.c.
8242         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8243         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8244         defining compatibility symbols.
8245         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8246         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8247         wrapper of w_lgammal_main.c.
8248         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8249         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8250         defining compatibility symbols.
8251         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8252         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8253         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8254         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8255         <lgamma-compat.h>.
8256         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8257         (__ieee754_gamma): Define as alias.
8258         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8259         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8260         <lgamma-compat.h>.
8261         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8262         (__ieee754_gammaf): Define as alias.
8263         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8264         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8265         <lgamma-compat.h>.
8266         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8267         (__ieee754_gammal): Define as alias.
8268         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8269         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8270         <math/w_lgamma_compat.c>.
8271         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8272         Define as alias of __lgamma_compat and use in defining lgammal.
8273         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8274         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8275         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8276         (USE_AS_COMPAT): New macro.
8277         (LGAMMA_OLD_VER): Undefine and redefine.
8278         (lgammal): Do not define here.
8279         (gammal): Only define here if [GAMMA_ALIAS].
8280         * conform/linknamespace.pl (@whitelist): Remove signgam.
8281         * sysdeps/nacl/libm.abilist: Update.
8282         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8283         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8284         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8285         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8286         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8287         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8288         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8289         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8290         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8291         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8292         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8293         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8297         Likewise.
8298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8299         Likewise.
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8301         Likewise.
8302         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8303         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8304         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8305         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8306         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8308         Likewise.
8309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8310         Likewise.
8311         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8315 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8317         [BZ #16364]
8318         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8319         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8321 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8323         * sysdeps/s390/fpu/bits/mathinline.h:
8324         Use __asm__ [__volatile__] instead of asm [volatile].
8325         * sysdeps/s390/abort-instr.h: Likewise.
8326         * sysdeps/s390/atomic-machine.h: Likewise.
8327         * sysdeps/s390/bits/string.h: Likewise.
8328         * sysdeps/s390/dl-tls.h: Likewise.
8329         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8330         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8331         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8332         * sysdeps/s390/fpu/fesetround.c: Likewise.
8333         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8334         * sysdeps/s390/fpu/s_fma.c: Likewise.
8335         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8336         * sysdeps/s390/memusage.h: Likewise.
8337         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8338         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8339         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8340         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8341         * sysdeps/s390/nptl/tls.h: Likewise.
8342         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8343         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8344         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8345         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8346         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8347         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8348         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8349         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8350         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8351         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8352         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8353         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8354         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8355         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8356         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8357         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8358         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8359         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8360         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8362         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8364         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8366 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8367             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8369         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8370         Add lwarx hint, and use macro for acquire instruction.
8371         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8372         Likewise.
8373         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8374         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8375         update to use new atomic macros.
8377 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8379         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8380         (__lll_trylock_elision): Fix setting of adapt_count.
8381         * sysdeps/unix/sysv/linux/powerpc/htm.h
8382         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8383         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8384         (_ABORT_SYSCALL): Renumber, and clarify definition.
8385         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8387 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8389         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8390         after system headers to prevent MIN/MAX redefinition.  Define
8391         HAVE_ALLOCA to preserve builtin alloca usage.
8393 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8396         static and don't set or restore rounding.
8397         (__cos)[IN_SINCOS]: Likewise.
8398         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8399         (__sincos): Set and restore rounding mode.  Remove check for infinite
8400         or NaN input.
8402         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8404         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8405         as used.
8407 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8409         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8411 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8413         * config.make.in (have-glob-dat-reloc): New.
8414         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8415         target supports GLOB_DAT relocaton. AC_SUBST.
8416         * configure: Regenerated.
8417         * elf/Makefile (tests): Add tst-prelink.
8418         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8419         (tst-prelink-ENV): New.
8420         ($(objpfx)tst-prelink-conflict.out): Likewise.
8421         ($(objpfx)tst-prelink-cmp.out): Likewise.
8422         * sysdeps/x86/tst-prelink.c: Moved to ...
8423         * elf/tst-prelink.c: Here.
8424         * sysdeps/x86/tst-prelink.exp: Moved to ...
8425         * elf/tst-prelink.exp: Here.
8426         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8427         (tst-prelink-ENV): Removed.
8428         ($(objpfx)tst-prelink-conflict.out): Likewise.
8429         ($(objpfx)tst-prelink-cmp.out): Likewise.
8430         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8432 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8434         [BZ #14551]
8435         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8436         (__mpn_construct_long_double): If high part overflows to infinity,
8437         set errno and recompute overflowed result of the correct sign.
8438         * sysdeps/ieee754/ldbl-128ibm/Makefile
8439         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8440         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8441         $(libm).
8442         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8444 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8446         [BZ #15479]
8447         [BZ #19238]
8448         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8449         floating-point state after first operation on input.  Restore full
8450         state rather than just rounding mode.
8451         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8452         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8453         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8455         [BZ #19235]
8456         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8457         add 0.5 to integer arguments.
8458         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8459         Likewise.
8460         (.LC2): New object.
8462 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8464         * scripts/pylintrc (reports): Set to no.
8466 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8468         * elf/dl-load.c (open_verify): Take new argument FD.
8469         Skip __open call if passed FD is not -1.
8470         (_dl_map_object, open_path): Update callers.
8471         * elf/dl-sysdep-open.h: New file.
8472         * elf/dl-load.c: Include it.
8473         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8474         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8475         * sysdeps/nacl/dl-sysdep-open.h: New file.
8476         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8477         from libc to rtld.
8479 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8481         [BZ #19228]
8482         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8483         and restore full floating-point state.
8484         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8485         Likewise.
8486         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8487         Likewise.
8488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8489         Likewise.
8490         * math/test-nearbyint-except-2.c: New file.
8491         * math/Makefile (tests): Add test-nearbyint-except-2.
8493 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8495         [BZ #19178]
8496         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8497         (tst-prelink-ENV): New.
8498         ($(objpfx)tst-prelink-conflict.out): Likewise.
8499         ($(objpfx)tst-prelink-cmp.out): Likewise.
8500         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8501         * sysdeps/x86/tst-prelink.c: New file.
8502         * sysdeps/x86/tst-prelink.exp: Likewise.
8504 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8506         * math/auto-libm-test-in: Add another test of pow.
8507         * math/auto-libm-test-out: Regenerated.
8508         * math/libm-test.inc (pow_test_data): Add another test.
8510 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8512         [BZ #19219]
8513         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8514         weak_alias to nearbyintl.
8516 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8518         * sysdeps/aarch64/bits/string.h: New file.
8519         (_STRING_ARCH_unaligned): Define.
8521 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8523         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8524         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8525         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8526         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8529 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8531         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8532         for original name of the DSO.  Add it to the name list of the DSO
8533         if it is actually given.
8534         (_dl_map_object): Keep track of whether an audit module rewrote
8535         the file name.  If yes, pass the original name to
8536         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8537         debugging is enabled, log the change of the file name.
8538         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8539         _dl_map_object_from_fd.
8540         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8541         * elf/tst-audit11.c: New file
8542         * elf/tst-auditmod11.c: New file.
8543         * elf/tst-audit11mod1.c: New file.
8544         * elf/tst-audit11mod2.c: New file.
8545         * elf/tst-audit11mod2.map: New file.
8546         * elf/tst-audit12.c: New file
8547         * elf/tst-auditmod12.c: New file.
8548         * elf/tst-audit12mod1.c: New file.
8549         * elf/tst-audit12mod2.c: New file.
8550         * elf/tst-audit12mod2.map: New file.
8551         * elf/tst-audit12mod3.c: New file.
8553 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8555         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8556         Don't create weak aliases,
8557         because versioned symbols are created later.
8558         * sysdeps/s390/s390-32/setjmp.S
8559         (setjmp, _setjmp): Remove weak and rename to an unique name
8560         in SHARED case due to existing versioned symbols.
8561         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8563         (getcontext): Create weak alias only in non SHARED case.
8564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8566 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8568         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8569         (__ASSUME_*_SYSCALL) Define new macros.
8570         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8571         Remove socketcall syscalls.
8572         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8573         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8574         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8575         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8576         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8577         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8579 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8581         [BZ #12926]
8582         Terminate process on invalid netlink response.
8583         * sysdeps/unix/sysv/linux/netlinkaccess.h
8584         (__netlink_assert_response): Declare.
8585         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8586         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8587         (sysdep_routines): Add netlink_assert_response.
8588         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8589         __netlink_assert_response.
8590         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8591         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8592         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8593         __netlink_assert_response.
8595 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8597         [BZ #19178]
8598         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8599         (RTYPE_CLASS_PLT): Likewise.
8600         (RTYPE_CLASS_COPY): Likewise.
8601         (RTYPE_CLASS_TLS): Likewise.
8602         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8603         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8604         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8605         DL_DEBUG_PRELINK.
8607 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8609         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8610         calls with argument -0.5.
8611         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8613         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8614         (libc_cv_z_nodlopen): Likewise.
8615         (libc_cv_z_initfirst): Likewise.
8616         * configure: Regenerated.
8618 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8620         Simplify abilist format to be line-based.
8621         * scripts/abilist.awk: Collect descriptors in the descs variable.
8622         (emit): Write descs variable and sort it
8623         externally, with sort.
8624         * sysdeps/**/*.abilist: Convert to new format.
8626 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8628         [BZ #11460]
8629         * io/Makefile (routines): Add fts64.
8630         (tests): Add tst-fts and tst-fts-lfs.
8631         (CFLAGS-fts64.c): New.
8632         * io/Versions (GLIBC_2.23): New.
8633         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8634         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8635         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8636         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8637         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8638         (FTSENT64): Likewise.
8639         (fts64_children): Likewise.
8640         (fts64_close): Likewise.
8641         (fts64_open): Likewise.
8642         (fts64_read): Likewise.
8643         (fts64_set): Likewise.
8644         * io/fts64.c: New file.
8645         * io/tst-fts.c: New test.
8646         * io/tst-fts-lfs.c: Likewise.
8647         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8648         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8649         fts64_set.
8650         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8651         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8652         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8653         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8658         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8659         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8660         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8661         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8662         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8664         Likewise.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8666         Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8669         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8671         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8672         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8673         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8679         * sysdeps/wordsize-64/fts.c: New file.
8680         * sysdeps/wordsize-64/fts64.c: Likewise.
8681         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8682         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8683         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8684         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8686 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8688         * math/libm-test.inc (NON_FINITE): New macro.
8689         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8690         * math/gen-libm-test.pl (show_exceptions): Add argument
8691         $non_finite.
8692         (parse_args): Update call to show_exceptions.
8693         * math/test-math-finite.h: New file.
8694         * math/test-math-no-finite.h: Likewise.
8695         * math/test-double-finite.c: Likewise.
8696         * math/test-float-finite.c: Likewise.
8697         * math/test-ldouble-finite.c: Likewise.
8698         * math/test-double.c: Include "test-math-no-finite.h".
8699         * math/test-float.c: Include "test-math-no-finite.h".
8700         * math/test-ldouble.c: Include "test-math-no-finite.h".
8701         * math/test-math-inline.h (TEST_FINITE): New macro.
8702         * math/test-math-vector.h (TEST_FINITE): Likewise.
8703         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8704         (libm-tests): Add test-float-finite and test-double-finite.
8705         ($(objpfx)test-float-finite.o): New dependency on
8706         $(objpfx)libm-test.stmp.
8707         ($(objpfx)test-double-finite.o): Likewise.
8708         ($(objpfx)test-ldouble-finite.o): Likewise.
8709         (libm-test-no-inline-cflags): New variable.
8710         (libm-test-finite-cflags): Likewise.
8711         (CFLAGS-test-float-finite.c): Likewise.
8712         (CFLAGS-test-double-finite.c): Likewise.
8713         (CFLAGS-test-ldouble-finite.c): Likewise.
8714         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8715         (CFLAGS-test-double.c): Likewise.
8716         (CFLAGS-test-ldouble.c): Likewise.
8718 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8720         * io/fcntl.c (__fcntl): Add ... to prototype.
8721         * misc/ioctl.c (__ioctl): Likewise.
8722         * misc/syscall.c (syscall): Likewise.
8724 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8726         * scripts/list-fixed-bugs.py: New file.
8728         [BZ #19213]
8729         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8730         returned for argument 1.
8731         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8732         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8733         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8734         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8735         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8736         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8738         [BZ #19211]
8739         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8740         __USE_XOPEN], not if [!__USE_ISOC99].
8741         (lgammaf): Likewise.
8742         (lgammal): Likewise.
8743         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8744         (gammaf): Likewise.
8745         (gammal): Likewise.
8746         * math/test-signgam-finite-c11.c: New file.
8747         * math/test-signgam-finite-c99.c: Likewise.
8748         * math/test-signgam-finite.c: Likewise.
8749         * math/Makefile (tests): Add test-signgam-finite,
8750         test-signgam-finite-c99 and test-signgam-finite-c11.
8751         (CFLAGS-test-signgam-finite.c): New variable.
8752         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8753         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8755         [BZ #19212]
8756         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8757         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8758         500].
8759         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8760         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8761         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8762         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8763         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8764         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8765         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8766         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8767         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8768         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8770         [BZ #19209]
8771         * math/bits/math-finite.h (ldexp): Remove declaration.
8772         (ldexpf): Likewise.
8773         (ldexpl): Likewise.
8775         [BZ #19205]
8776         * math/bits/math-finite.h (acosf): Condition declaration on
8777         [__USE_ISOC99].
8778         (acosl): Likewise.
8779         (acoshf): Likewise.
8780         (acoshl): Likewise.
8781         (asinf): Likewise.
8782         (asinl): Likewise.
8783         (atan2f): Likewise.
8784         (atan2l): Likewise.
8785         (atanhf): Likewise.
8786         (atanhl): Likewise.
8787         (coshf): Likewise.
8788         (coshl): Likewise.
8789         (expf): Likewise.
8790         (expl): Likewise.
8791         (fmodf): Likewise.
8792         (fmodl): Likewise.
8793         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8794         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8795         (j0l): Likewise.
8796         (y0f): Likewise.
8797         (y0l): Likewise.
8798         (j1f): Likewise.
8799         (j1l): Likewise.
8800         (y1f): Likewise.
8801         (y1l): Likewise.
8802         (jnf): Likewise.
8803         (jnl): Likewise.
8804         (ynf): Likewise.
8805         (ynl): Likewise.
8806         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8807         (lgammal_r): Likewise.
8808         (__lgamma_r_finite): New declaration.
8809         (__lgammaf_r_finite): Likewise.
8810         (__lgammal_r_finite): Likewise.
8811         (lgamma): Use __lgamma_r_finite.
8812         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8813         __lgammaf_r_finite.
8814         (lgammal): Condition definition on [__USE_ISOC99].  Use
8815         __lgammal_r_finite.
8816         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8817         __lgamma_r_finite.
8818         (gammaf): Condition definition on [__USE_ISOC99].  Use
8819         __lgammaf_r_finite.
8820         (gammal): Condition definition on [__USE_ISOC99].  Use
8821         __lgammal_r_finite.
8822         (logf): Condition declaration on [__USE_ISOC99].
8823         (logl): Likewise.
8824         (log10f): Likewise.
8825         (log10l): Likewise.
8826         (ldexpf): Likewise.
8827         (ldexpl): Likewise.
8828         (powf): Likewise.
8829         (powl): Likewise.
8830         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8831         __USE_ISOC99].
8832         (remainderf): Condition declaration on [__USE_ISOC99].
8833         (remainderl): Likewise.
8834         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8835         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8836         (scalbl): Likewise.
8837         (sinhf): Condition declaration on [__USE_ISOC99].
8838         (sinhl): Likewise.
8839         (sqrtf): Likewise.
8840         (sqrtl): Likewise.
8842 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8844         * sysdeps/arm/atomic-machine.h
8845         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8846         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8847         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8848         Remove conditional code.
8849         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8850         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8851         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8852         Change conditional to [__ASSEMBLER__].
8853         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8854         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8855         [!__ASSEMBLER__].
8856         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8857         code.
8858         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8859         conditional macro definitions.
8860         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8861         (__arch_compare_and_exchange_val_16_acq): Likewise.
8862         (__arch_compare_and_exchange_val_32_acq): Likewise.
8863         (atomic_exchange_and_add): Likewise.
8864         (atomic_add): Likewise.
8865         (atomic_add_negative): Likewise.
8866         (atomic_add_zero): Likewise.
8867         (atomic_bit_set): Likewise.
8868         (atomic_bit_test_set): Likewise.
8869         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8870         code unconditional.
8871         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8873         * math/test-math-errno.h: New file.
8874         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8875         empty.
8876         (TEST_ERRNO): New macro.
8877         (TEST_EXCEPTIONS): Likewise.
8878         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8879         (TEST_EXCEPTIONS): Likewise.
8880         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8881         * math/test-double.c: Include "test-math-errno.h".
8882         * math/test-float.c: Likewise.
8883         * math/test-ldouble.c: Likewise.
8884         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8885         code unconditional.
8886         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8887         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8888         unconditional.
8889         (test_errno): Only run code if TEST_ERRNO.
8890         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8892 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8894         * nptl/tst-once5.cc: Remove attribution.
8896 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8898         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8899         sqrt, tan, tanh, y0, y1 and yn.
8900         * math/auto-libm-test-out: Regenerated.
8901         * math/libm-test.inc (scalb_test_data): Add more tests.
8902         (scalbn_test_data): Likewise.
8903         (scalbln_test_data): Likewise.
8904         (signbit_test_data): Likewise.
8905         (sin_test_data): Likewise.
8906         (sincos_test_data): Likewise.
8907         (sinh_test_data): Likewise.
8908         (sqrt_test_data): Likewise.
8909         (tan_test_data): Likewise.
8910         (tanh_test_data): Likewise.
8911         (tgamma_test_data): Likewise.
8912         (y0_test_data): Likewise.
8913         (y1_test_data): Likewise.
8914         (yn_test_data): Likewise.
8915         (significand_test_data): Likewise.
8916         * sysdeps/i386/fpu/libm-test-ulps: Update.
8918 2015-11-03  David Kastrup  <dak@gnu.org>
8920         [BZ #18604]
8921         * assert/assert.h (assert): Don't macro-expand failed assertion
8922         expression in error message.
8923         * malloc/malloc.c (assert): Likewise.
8925 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8927         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8928         test.
8929         * configure: Regenerated.
8931 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8933         * math/libm-test.inc (modf_test_data): Add more tests.
8934         (nearbyint_test_data): Likewise.
8935         (nextafter_test_data): Likewise.
8936         (nexttoward_test_data): Likewise.
8937         (pow_test_data): Likewise.
8938         (remainder_test_data): Likewise.
8939         (remquo_test_data): Likewise.
8940         (rint_test_data): Likewise.
8942         [BZ #19201]
8943         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8944         Check for zero remainder in case of large exponents and ensure
8945         correct sign of result in that case.
8946         * math/libm-test.inc (remainder_test_data): Add more tests.
8948         [BZ #6799]
8949         * math/s_nextafter.c: Include <errno.h>.
8950         (__nextafter): Set errno on overflow and underflow.
8951         * math/s_nexttowardf.c: Include <errno.h>.
8952         (__nexttowardf): Set errno on overflow and underflow.
8953         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8954         (__nextafterl): Set errno on overflow and underflow.
8955         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8956         (__nexttoward): Set errno on overflow and underflow.
8957         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8958         (__nexttowardf): Set errno on overflow and underflow.
8959         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8960         (__nextafterf): Set errno on overflow and underflow.
8961         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8962         (__nextafterl): Set errno on overflow and underflow.
8963         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8964         (__nexttoward): Set errno on overflow and underflow.
8965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8966         (__nexttowardf): Set errno on overflow and underflow.
8967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8968         (__nextafterl): Set errno on overflow and underflow.
8969         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8970         (__nexttoward): Set errno on overflow and underflow.
8971         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8972         (__nexttowardf): Set errno on overflow and underflow.
8973         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8974         (__nexttoward): Set errno on overflow and underflow.
8975         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8976         (__nexttowardf): Set errno on overflow and underflow.
8977         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8978         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8979         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8980         (__nextafterl): Set errno on overflow and underflow.
8981         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8982         setting to be missing on overflow.  Add more tests.
8983         (nexttoward_test_data): Likewise.
8985         * configure.ac (libc_cv_initfini_array): Remove configure test.
8986         * configure: Regenerated.
8988 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8990         [BZ #19189]
8991         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8992         non-finite argument handle arguments with negative sign.
8994         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8995         result from infinite argument.
8996         (j1_test_data): Likewise.
8997         (jn_test_data): Likewise.
8998         (y0_test_data): Likewise.
8999         (y1_test_data): Likewise.
9000         (yn_test_data): Likewise.
9002         [BZ #16171]
9003         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9004         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9005         * math/w_remainderf.c (dremf): Define as weak alias of
9006         __remainderf.
9007         * math/w_remainderl.c (dreml): Define as weak alias of
9008         __remainderl.
9009         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9010         __remainder.
9011         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9012         __remainderf.
9013         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9014         __remainderl.
9015         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9016         weak alias of remainderl.
9017         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9018         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9019         alias of __remainder.
9020         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9021         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9022         strong alias of __remainderl.
9023         (dreml): Use long_double_symbol.
9024         * math/Makefile (libm-calls): Remove w_drem.
9025         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9026         (CFLAGS-nldbl-drem.c): Remove variable.
9027         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9028         * math/w_drem.c: Remove file.
9029         * math/w_dremf.c: Likewise.
9030         * math/w_dreml.c: Likewise.
9031         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9032         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9033         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9035         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9036         * sysdeps/i386/configure: Regenerated.
9037         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9038         * sysdeps/x86_64/configure: Regenerated.
9040         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9041         test.
9042         (libc_cv_visibility_attribute): Likewise.
9043         (libc_cv_protected_data): Test unconditionally.
9044         (libc_cv_broken_visibility_attribute): Remove configure test.
9045         (libc_cv_have_sdata_section): Test unconditionally.
9046         * configure: Regenerated.
9048         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9049         * include/scratch_buffer.h: Include <stddef.h> instead of
9050         <libc-internal.h>.
9051         (struct scratch_buffer): Use max_align_t instead of
9052         libc_max_align_t.
9054 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9056         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9057         instead of extend_alloca.  Change control flow to avoid a goto.
9058         Remove assert which is trivially always true.
9060 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9062         [BZ #16068]
9063         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9064         (FE_ALL_EXCEPT_X86): New macro.
9065         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9066         FE_ALL_EXCEPT.  Ensure precision control is included in
9067         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9068         handle "denormal operand exception" and clear FZ and DAZ bits.
9069         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9070         (FE_ALL_EXCEPT_X86): New macro.
9071         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9072         FE_ALL_EXCEPT.  Ensure precision control is included in
9073         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9074         handle "denormal operand exception" and clear FZ and DAZ bits.
9075         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9076         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9077         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9078         test-fenv-x87 and test-fenv-sse-2.
9079         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9081         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9082         * math/test-double.h (BUILD_COMPLEX): New macro.
9083         * math/test-float.h (BUILD_COMPLEX): Likewise.
9084         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9086         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9087         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9088         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9090         instead of DBL_DENORM_MIN in comment.
9091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9092         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9093         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9094         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9096         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9098 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9100         [BZ# 19048]
9101         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9102         attached_threads member.
9103         (main_arena): Initialize attached_threads.
9104         * malloc/arena.c (list_lock): Update comment.
9105         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9106         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9107         (deattach_arena): New function.
9108         (_int_new_arena): Initialize arena reference count and deattach
9109         replaced arena.
9110         (get_free_list, reused_arena): Update reference count and deattach
9111         replaced arena.
9112         (arena_thread_freeres): Update arena reference count and only put
9113         unreferenced arenas on the free list.
9115 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9117         [BZ #19181]
9118         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9119         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9120         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9121         * math/test-fenv-clear-main.c: New file.
9122         * math/test-fenv-clear.c: Likewise.
9123         * math/Makefile (tests): Add test-fenv-clear.
9124         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9125         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9126         test-fenv-clear-sse.
9127         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9129         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9130         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9131         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9133 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9135         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9136         static libc.
9138 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9140         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9141         test.
9142         * sysdeps/i386/configure: Regenerated.
9143         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9144         test.
9145         * sysdeps/x86_64/configure: Regenerated.
9146         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9148         memset-avx2 unconditionally instead of conditionally on
9149         [$(config-cflags-avx2) = yes].
9150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9151         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9152         unconditional.
9153         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9154         * sysdeps/x86_64/multiarch/memset_chk.S
9155         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9156         to [IS_IN (libc) && SHARED].
9158 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9160         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9161         configure test.
9162         * sysdeps/arm/configure: Regenerated.
9163         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9164         Define variable if not already defined.
9166         [BZ #17404]
9167         * sysdeps/mips/atomic-machine.h
9168         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9169         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9170         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9172         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9173         unconditional.
9174         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9175         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9176         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9177         unconditional.
9178         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9179         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9180         unconditional.
9181         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9182         * stdlib/setenv.c
9183         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9184         code unconditional.
9185         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9186         Remove conditional code.
9187         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9188         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9189         unconditional.
9190         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9191         code.
9192         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9193         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9194         unconditional.
9195         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9196         code.
9197         * sysdeps/ieee754/ldbl-128/k_tanl.c
9198         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9199         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9200         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9201         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9202         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9203         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9204         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9205         unconditional.
9206         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9207         code.
9208         * sysdeps/ieee754/ldbl-96/k_tanl.c
9209         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9210         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9212         * nptl/tst-initializers1-c11.c: New file.
9213         * nptl/tst-initializers1-gnu11.c: Likewise.
9214         * nptl/Makefile (tests): Add these new tests.
9215         (CFLAGS-tst-initializers1-c11.c): New variable.
9216         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9218         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9219         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9220         instead of -std=gnu99.
9221         * configure.ac (systemtap): Test with -std=gnu11 instead of
9222         -std=gnu99.
9223         * configure: Regenerated.
9224         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9225         in compilation command in comment.
9227         * sysdeps/nptl/configure.ac: Remove file.
9228         * sysdeps/nptl/configure: Remove generated file.
9229         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9230         * configure: Regenerated.
9231         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9232         * config.make.in (have-forced-unwind): Remove variable.
9233         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9234         unconditional.
9235         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9236         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9237         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9238         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9239         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9240         unconditional.
9242 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9244         [BZ #19174]
9245         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9246         .skip_lock_out_of_tbegin_retries.
9247         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9248         (__lll_lock_elision): Likewise, and respect a value of
9249         try_tbegin <= 0.
9251 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9253         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9254         statement.
9256 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9258         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9259         variable.
9260         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9261         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9263         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9264         of -std=c1x -D_ISOC11_SOURCE.
9266         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9267         * configure: Regenerated.
9268         * manual/install.texi (Tools for Compilation): Document
9269         requirement for GCC 4.7 or later.
9270         * INSTALL: Regenerated.
9272 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9274         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9275         on CNT to a conditional jump to 'puntdata'.
9277 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9279         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9280         (libc_cv_gcc_tls_model_attr): Likewise.
9281         * configure: Regenerated.
9283         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9284         * configure: Regenerated.
9285         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9287 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9289         * configure.ac (old_glibc_headers): Remove configure test.
9290         * configure: Regenerated.
9291         * config.make.in (old-glibc-headers): Remove variable.
9292         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9293         (install): Remove dependency on remove-old-headers.
9294         (headers2_0): Remove variable.
9295         (remove-old-headers): Remove rule.
9297         * configure.ac (libc_cv_dot_text): Remove configure test.
9298         (libc_cv_asm_set_directive): Use .text instead of
9299         ${libc_cv_dot_text} in configure test.
9300         * configure: Regenerated.
9302 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9304         [BZ #19168]
9305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9307 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9309         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9310         not support static linking.
9311         * configure: Regenerate.
9313 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9315         * math/libm-test.inc (check_float_internal): Do not special-case
9316         errors up to 0.5 ulp.
9318         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9319         log2.
9320         * math/auto-libm-test-out: Regenerated.
9321         * math/libm-test.inc (MAX_EXP): New macro.
9322         (ilogb_test_data): Add more tests.
9323         (isfinite_test_data): Likewise.
9324         (isgreater_test_data): Likewise.
9325         (isgreaterequal_test_data): Likewise.
9326         (isinf_test_data): Likewise.
9327         (isless_test_data): Likewise.
9328         (islessequal_test_data): Likewise.
9329         (islessgreater_test_data): Likewise.
9330         (isnan_test_data): Likewise.
9331         (isnormal_test_data): Likewise.
9332         (issignaling_test_data): Likewise.
9333         (isunordered_test_data): Likewise.
9334         (j0_test_data): Likewise.
9335         (j1_test_data): Likewise.
9336         (jn_test_data): Likewise.
9337         (lgamma_test_data): Likewise.
9338         (log_test_data): Likewise.
9339         (log10_test_data): Likewise.
9340         (log1p_test_data): Likewise.
9341         (log2_test_data): Likewise.
9342         (logb_test_data): Likewise.
9343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9345         [BZ #18611]
9346         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9347         avoid excess range and precision on underflow.
9348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9349         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9350         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9351         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9352         underflow.
9353         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9355         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9357         * math/auto-libm-test-in: Do not allow missing errno setting for
9358         tests of j1 and jn.
9359         * math/auto-libm-test-out: Regenerated.
9361 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9363         [BZ #15491]
9364         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9365         floating-point environment instead of clearing all exceptions.
9366         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9367         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9368         merging in "invalid" exceptions from frndint.
9369         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9370         * math/test-nearbyint-except.c: New file.
9371         * math/Makefile (tests): Add test-nearbyint-except.
9373 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9375         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9377         * sysdeps/tile/libm-test-ulps: Regenerated.
9379 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9382         (__NR_sync_file_range2): Assume it is always defined.
9383         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9384         (__NR_sync_file_range): Assume it is always defined.
9386 2015-10-22  Andreas Schwab  <schwab@suse.de>
9388         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9389         INTERNAL_SYSCALL_ERRNO.
9390         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9391         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9392         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9393         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9394         Likewise.
9395         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9397 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9399         * io/tst-fcntl.c (fd): New static variable.
9400         (do_prepare): Open temporary file here....
9401         (do_test): ...not here.
9403         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9405 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9407         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9408         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9409         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9410         Moved before "#ifdef __ASSEMBLER__".
9412 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9414         [BZ #19156]
9415         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9416         arguments very close to 0.
9418 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9420         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9421         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9423 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9425         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9426         New.  Defined for GCC 5 and above when not compiling for
9427         profiling.
9428         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9430         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9431         Renamed to ...
9432         (CFLAGS-epoll_pwait.o): This.
9433         (CFLAGS-mmap.c): Renamed to ...
9434         (CFLAGS-mmap.o): This.
9435         (CFLAGS-mmap64.c): Renamed to ...
9436         (CFLAGS-mmap64.o): This.
9437         (CFLAGS-epoll_pwait.os): New.
9438         (CFLAGS-mmap.os): Likewise.
9439         (CFLAGS-mmap64.os): Likewise.
9440         (CFLAGS-semtimedop.os): Likewise.
9441         (CFLAGS-semtimedop.c): Renamed to ...
9442         (CFLAGS-semtimedop.o): This.
9444 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9446         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9447         warning message.
9449 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9451         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9452         * Makefile ($(objpfx)c++-types-check.out): Filter out
9453         $(+gccwarn-c) instead of -Wstrict-prototypes.
9455         * io/fts.c (fts_open): Convert to prototype-style function
9456         definition.
9457         * malloc/mcheck.c (mcheck): Likewise.
9458         (mcheck_pedantic): Likewise.
9459         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9460         internal_function.
9461         (re_search_internal): Likewise.
9462         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9463         prototype-style function definition.
9464         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9465         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9466         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9467         (xdr_utmpptr): Likewise.
9468         (xdr_utmparr): Likewise.
9469         (xdr_utmpidle): Likewise.
9470         (xdr_utmpidleptr): Likewise.
9471         (xdr_utmpidlearr): Likewise.
9473         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9474         log, log10 and log2.
9475         * math/auto-libm-test-out: Regenerated.
9476         * math/libm-test.inc (fmod_test_data): Add more tests.
9477         (fpclassify_test_data): Likewise.
9478         (frexp_test_data): Likewise.
9479         (hypot_test_data): Likewise.
9480         (ilogb_test_data): Likewise.
9482 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9484         * debug/fortify_fail.c (__fortify_fail): Convert to
9485         prototype-style function definition.  Use internal_function.
9486         * libio/genops.c (save_for_backup): Convert to prototype-style
9487         function definition.
9488         * libio/wgenops.c (save_for_wbackup): Likewise.
9489         * login/grantpt.c (grantpt): Likewise.
9490         * login/ptsname.c (ptsname): Likewise.
9491         (__ptsname_r): Likewise.
9492         * login/unlockpt.c (unlockpt): Likewise.
9493         * mach/msgserver.c (__mach_msg_server): Likewise.
9494         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9495         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9496         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9497         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9498         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9499         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9500         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9501         Likewise.
9502         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9503         internal_function.
9504         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9505         prototype-style function definition.
9506         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9507         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9508         (__pthread_create_2_0): Likewise.
9509         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9510         * nptl/register-atfork.c (__register_atfork): Likewise.
9511         * posix/glob.c (glob): Likewise.
9512         * posix/regcomp.c (re_comp): Likewise.
9513         * posix/regexec.c (re_exec): Likewise.
9514         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9515         [!__STDC__]: Remove conditional code.
9516         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9517         [!__STDC__]: Remove conditional code.
9518         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9519         [!__STDC__]: Remove conditional code.
9520         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9521         [!__STDC__]: Remove conditional code.
9522         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9523         [!__STDC__]: Remove conditional code.
9524         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9525         [!__STDC__]: Remove conditional code.
9526         * stdlib/mul.c [__STDC__]: Make code unconditional.
9527         [!__STDC__]: Remove conditional code.
9528         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9529         [!__STDC__]: Remove conditional code.
9530         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9531         [!__STDC__]: Remove conditional code.
9532         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9533         function definition.
9534         (STRTOF): Likewise.
9535         * stdlib/strtod_l.c (__STRTOF): Likewise.
9536         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9537         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9538         (__strtol_l): Likewise.
9539         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9540         [!__STDC__]: Remove conditional code.
9541         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9542         definition.
9543         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9544         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9545         type.
9546         (__strcasecmp): Convert to prototype-style function definition.
9547         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9548         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9549         type.
9550         (__strncasecmp): Convert to prototype-style function definition.
9551         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9552         * sunrpc/xdr.c (xdr_union): Likewise.
9553         * sunrpc/xdr_array.c (xdr_array): Likewise.
9554         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9555         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9556         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9557         Likewise.
9558         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9559         Likewise.
9560         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9561         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9562         Likewise.
9563         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9564         (LOCALE_PARAM_PROTO): Likewise.
9565         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9566         argument type.
9567         (ut_argument_spec): Remove macro.
9568         (ut_argument_spec_iso): Rename to ut_argument_spec.
9569         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9570         prototype-style function definition.
9571         (memcpy_uppcase): Likewise.
9572         (__strftime_internal): Likewise.
9573         (my_strftime): Likewise.
9574         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9575         (LOCALE_PARAM_DECL): Likewise.
9576         [_LIBC] (LOCALE_PARAM): Include argument type.
9577         (__strptime_internal): Convert to prototype-style function
9578         definition.
9579         (strptime): Likewise.
9580         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9581         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9582         type.
9583         (__wcscasecmp): Convert to prototype-style function definition.
9584         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9585         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9586         type.
9587         (__wcsncasecmp): Convert to prototype-style function definition.
9589         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9590         function definition.
9591         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9592         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9593         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9594         * elf/dl-minimal.c (_itoa): Likewise.
9595         * hurd/hurdmalloc.c (malloc): Likewise.
9596         (free): Likewise.
9597         (realloc): Likewise.
9598         * inet/inet6_option.c (inet6_option_space): Likewise.
9599         (inet6_option_init): Likewise.
9600         (inet6_option_append): Likewise.
9601         (inet6_option_alloc): Likewise.
9602         (inet6_option_next): Likewise.
9603         (inet6_option_find): Likewise.
9604         * io/ftw.c (FTW_NAME): Likewise.
9605         (NFTW_NAME): Likewise.
9606         (NFTW_NEW_NAME): Likewise.
9607         (NFTW_OLD_NAME): Likewise.
9608         * libio/iofwide.c (_IO_fwide): Likewise.
9609         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9610         (_IO_str_init_static): Likewise.
9611         (_IO_str_init_readonly): Likewise.
9612         (_IO_str_overflow): Likewise.
9613         (_IO_str_underflow): Likewise.
9614         (_IO_str_count): Likewise.
9615         (_IO_str_seekoff): Likewise.
9616         (_IO_str_pbackfail): Likewise.
9617         (_IO_str_finish): Likewise.
9618         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9619         (_IO_wstr_overflow): Likewise.
9620         (_IO_wstr_underflow): Likewise.
9621         (_IO_wstr_count): Likewise.
9622         (_IO_wstr_seekoff): Likewise.
9623         (_IO_wstr_pbackfail): Likewise.
9624         (_IO_wstr_finish): Likewise.
9625         * locale/programs/localedef.c (normalize_codeset): Likewise.
9626         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9627         (add_locales_to_archive): Likewise.
9628         (delete_locales_from_archive): Likewise.
9629         * malloc/malloc.c (__libc_mallinfo): Likewise.
9630         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9631         * misc/tsearch.c (__tfind): Likewise.
9632         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9633         * nptl/pthread_attr_getdetachstate.c
9634         (__pthread_attr_getdetachstate): Likewise.
9635         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9636         Likewise.
9637         * nptl/pthread_attr_getinheritsched.c
9638         (__pthread_attr_getinheritsched): Likewise.
9639         * nptl/pthread_attr_getschedparam.c
9640         (__pthread_attr_getschedparam): Likewise.
9641         * nptl/pthread_attr_getschedpolicy.c
9642         (__pthread_attr_getschedpolicy): Likewise.
9643         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9644         Likewise.
9645         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9646         Likewise.
9647         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9648         Likewise.
9649         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9650         Likewise.
9651         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9652         (__pthread_attr_init_2_0): Likewise.
9653         * nptl/pthread_attr_setdetachstate.c
9654         (__pthread_attr_setdetachstate): Likewise.
9655         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9656         Likewise.
9657         * nptl/pthread_attr_setinheritsched.c
9658         (__pthread_attr_setinheritsched): Likewise.
9659         * nptl/pthread_attr_setschedparam.c
9660         (__pthread_attr_setschedparam): Likewise.
9661         * nptl/pthread_attr_setschedpolicy.c
9662         (__pthread_attr_setschedpolicy): Likewise.
9663         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9664         Likewise.
9665         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9666         Likewise.
9667         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9668         Likewise.
9669         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9670         Likewise.
9671         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9672         Likewise.
9673         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9674         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9675         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9676         use internal_function.
9677         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9678         prototype-style function definition.
9679         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9680         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9681         internal_function.
9682         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9683         Convert to prototype-style function definition.
9684         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9685         Likewise.
9686         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9687         Likewise.
9688         (__pthread_mutex_unlock): Likewise.
9689         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9690         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9691         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9692         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9693         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9694         * nss/makedb.c (process_input): Likewise.
9695         * posix/fnmatch.c (__strchrnul): Likewise.
9696         (__wcschrnul): Likewise.
9697         (fnmatch): Likewise.
9698         * posix/fnmatch_loop.c (FCT): Likewise.
9699         * posix/glob.c (globfree): Likewise.
9700         (__glob_pattern_type): Likewise.
9701         (__glob_pattern_p): Likewise.
9702         * posix/regcomp.c (re_compile_pattern): Likewise.
9703         (re_set_syntax): Likewise.
9704         (re_compile_fastmap): Likewise.
9705         (regcomp): Likewise.
9706         (regerror): Likewise.
9707         (regfree): Likewise.
9708         * posix/regexec.c (regexec): Likewise.
9709         (re_match): Likewise.
9710         (re_search): Likewise.
9711         (re_match_2): Likewise.
9712         (re_search_2): Likewise.
9713         (re_search_stub): Likewise.  Use internal_function
9714         (re_copy_regs): Likewise.
9715         (re_set_registers): Convert to prototype-style function
9716         definition.
9717         (prune_impossible_nodes): Likewise.  Use internal_function.
9718         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9719         prototype-style function definition.
9720         (inet_net_pton_ipv4): Likewise.
9721         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9722         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9723         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9724         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9725         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9726         Make variadic.
9727         * time/strptime_l.c (localtime_r): Convert to prototype-style
9728         function definition.
9729         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9730         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9731         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9732         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9734         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9735         definition.
9736         (_ufc_doit_r): Likewise.
9737         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9738         (_ufc_output_conversion_r): Likewise.
9739         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9740         * inet/rcmd.c (rcmd_af): Likewise.
9741         (rcmd): Likewise.
9742         (ruserok_af): Likewise.
9743         (ruserok): Likewise.
9744         (ruserok2_sa): Likewise.
9745         (ruserok_sa): Likewise.
9746         (iruserok_af): Likewise.
9747         (iruserok): Likewise.
9748         (__ivaliduser): Likewise.
9749         (__validuser2_sa): Likewise.
9750         * inet/rexec.c (rexec_af): Likewise.
9751         (rexec): Likewise.
9752         * inet/ruserpass.c (ruserpass): Likewise.
9753         * locale/programs/xmalloc.c (xcalloc): Likewise.
9754         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9755         * math/w_drem.c (__drem): Likewise.
9756         * math/w_dremf.c (__dremf): Likewise.
9757         * math/w_dreml.c (__dreml): Likewise.
9758         * misc/daemon.c (daemon): Likewise.
9759         * resolv/res_debug.c (p_fqnname): Likewise.
9760         * stdlib/div.c (div): Likewise.
9761         * string/memcmp.c (memcmp_bytes): Likewise.
9762         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9763         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9765         * crypt/cert.c (main): Convert to prototype-style function
9766         definition.
9767         * io/pipe.c (__pipe): Likewise.
9768         * io/pipe2.c (__pipe2): Likewise.
9769         * misc/futimesat.c (futimesat): Likewise.
9770         * misc/utimes.c (__utimes): Likewise.
9771         * posix/execve.c (__execve): Likewise.
9772         * posix/execvp.c (execvp): Likewise.
9773         * posix/execvpe.c (__execvpe): Likewise.
9774         * posix/fexecve.c (fexecve): Likewise.
9775         * socket/socketpair.c (socketpair): Likewise.
9776         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9777         * stdlib/erand48.c (erand48): Likewise.
9778         * stdlib/erand48_r.c (__erand48_r): Likewise.
9779         * stdlib/jrand48.c (jrand48): Likewise.
9780         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9781         * stdlib/lcong48.c (lcong48): Likewise.
9782         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9783         * stdlib/nrand48.c (nrand48): Likewise.
9784         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9785         * stdlib/seed48.c (seed48): Likewise.
9786         * stdlib/seed48_r.c (__seed48_r): Likewise.
9787         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9788         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9789         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9791 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9793         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9794         * configure: Regenerated.
9795         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9796         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9797         unconditional.
9798         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9799         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9800         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9801         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9802         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9803         unconditional.
9804         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9806         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9807         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9809         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9810         function definition.
9811         * crypt/crypt_util.c (__encrypt_r): Likewise.
9812         * libio/genops.c (_IO_no_init): Likewise.
9813         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9814         (_IO_old_fopencookie): Likewise.
9815         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9816         * libio/iogetline.c (_IO_getline): Likewise.
9817         (_IO_getline_info): Likewise.
9818         * libio/iogetwline.c (_IO_getwline): Likewise.
9819         (_IO_getwline_info): Likewise.
9820         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9821         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9822         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9823         (find_entry): Likewise.
9824         (iterate_table): Likewise.
9825         (lookup): Likewise.
9826         * login/forkpty.c (forkpty): Likewise.
9827         * misc/hsearch_r.c (__hsearch_r): Likewise.
9828         * misc/select.c (__select): Likewise.
9829         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9830         Likewise.
9831         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9832         Likewise.
9833         * nptl/old_pthread_cond_timedwait.c
9834         (__pthread_cond_timedwait_2_0): Likewise.
9835         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9836         * nptl/pthread_barrierattr_getpshared.c
9837         (pthread_barrierattr_getpshared): Likewise.
9838         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9839         Likewise.
9840         * nptl/pthread_mutex_setprioceiling.c
9841         (pthread_mutex_setprioceiling): Likewise.
9842         * nptl/pthread_mutexattr_getprioceiling.c
9843         (pthread_mutexattr_getprioceiling): Likewise.
9844         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9845         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9846         Likewise.
9847         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9848         Likewise.
9849         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9850         Likewise.
9851         * socket/recvfrom.c (__recvfrom): Likewise.
9852         * socket/sendto.c (__sendto): Likewise.
9853         * socket/setsockopt.c (__setsockopt): Likewise.
9854         * stdio-common/_itoa.c (_itoa): Likewise.
9855         * stdio-common/_itowa.c (_itowa): Likewise.
9856         * stdio-common/reg-printf.c (__register_printf_specifier):
9857         Likewise.
9858         (__register_printf_function): Likewise.
9859         * stdio-common/tempname.c (__path_search): Likewise.
9860         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9861         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9862         * stdlib/random_r.c (__initstate_r): Likewise.
9863         * stdlib/setenv.c (__add_to_environ): Likewise.
9864         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9865         * streams/getpmsg.c (getpmsg): Likewise.
9866         * streams/putmsg.c (putmsg): Likewise.
9867         * streams/putpmsg.c (putpmsg): Likewise.
9868         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9869         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9870         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9871         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9872         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9873         * sunrpc/svc_udp.c (cache_get): Likewise.
9874         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9875         * sysdeps/mach/hurd/getcwd.c
9876         (__canonicalize_directory_name_internal): Likewise.
9877         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9878         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9879         * sysdeps/mach/hurd/select.c (__select): Likewise.
9880         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9881         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9882         * sysdeps/sparc/nptl/pthread_barrier_init.c
9883         (__pthread_barrier_init): Likewise.
9884         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9885         (__pthread_cond_timedwait): Likewise.
9886         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9887         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9890         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9891         Likewise.
9892         * sysvipc/semtimedop.c (semtimedop): Likewise.
9893         * time/setitimer.c (__setitimer): Likewise.
9894         * time/strftime_l.c (emacs_strftime): Likewise.
9896 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9898         * config.make.in (have-ssp): Delete.
9899         (stack-protector): New variable.
9900         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9901         cache test for -fstack-protector-strong.  Export stack_protector to
9902         the best ssp flag.
9903         * configure: Regenerated.
9904         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9905         * nscd/Makefile (CFLAGS-nscd): Likewise.
9906         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9908 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9910         [BZ #19122]
9911         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9912         attribute_hidden.
9914 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9916         [BZ #18743]
9917         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9918         code to...
9919         (ELIDE_LOCK): ...here.
9920         (__get_new_count): New function with part of the code from
9921         __elide_lock that updates the value of adapt_count after a
9922         transaction abort.
9923         (__elided_trylock): Moved this code to...
9924         (ELIDE_TRYLOCK): ...here.
9926 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9928         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9929         * configure: Regenerate.
9930         * INSTALL: Regenerate.
9931         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9932         and tweak grammar.
9934 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9936         * login/programs/pt_chown.c: Include signal.h
9937         (main): Clear any signal mask from the parent process.
9939 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9941         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9942         * configure: Regenerated.
9943         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9944         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9945         $(gnu89-inline-CFLAGS).
9947         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9948         test.
9949         (libc_cv_asm_weakext_directive): Likewise.
9950         * configure: Regenerated.
9951         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9952         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9953         * include/libc-symbols.h
9954         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9955         #error.
9956         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9957         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9959         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9960         prototype-style function definition.
9961         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9962         * sysdeps/i386/ffs.c (__ffs): Likewise.
9963         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9964         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9965         Likewise.
9966         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9967         Likewise.
9968         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9969         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9970         Likewise.
9971         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9972         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9973         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9974         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9975         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9976         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9977         * sysdeps/mach/hurd/access.c (__access): Likewise.
9978         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9979         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9980         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9981         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9982         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9983         (cthread_getspecific): Likewise.
9984         (cthread_setspecific): Likewise.
9985         (__libc_getspecific): Likewise.
9986         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9987         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9988         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9989         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9990         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9991         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9992         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9993         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9994         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9995         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9996         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9997         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9998         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9999         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10000         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10001         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10002         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10003         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10004         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10005         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10006         * sysdeps/mach/hurd/link.c (__link): Likewise.
10007         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10008         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10009         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10010         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10011         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10012         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10013         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10014         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10015         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10016         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10017         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10018         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10019         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10020         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10021         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10022         * sysdeps/mach/hurd/send.c (__send): Likewise.
10023         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10024         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10025         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10026         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10027         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10028         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10029         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10030         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10031         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10032         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10033         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10034         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10035         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10036         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10037         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10038         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10039         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10040         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10041         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10042         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10043         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10044         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10045         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10046         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10047         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10048         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10049         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10050         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10051         * sysdeps/posix/alarm.c (alarm): Likewise.
10052         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10053         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10054         * sysdeps/posix/dup.c (__dup): Likewise.
10055         * sysdeps/posix/dup2.c (__dup2): Likewise.
10056         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10057         (main): Likewise.
10058         * sysdeps/posix/flock.c (__flock): Likewise.
10059         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10060         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10061         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10062         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10063         * sysdeps/posix/isatty.c (__isatty): Likewise.
10064         * sysdeps/posix/killpg.c (killpg): Likewise.
10065         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10066         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10067         * sysdeps/posix/raise.c (raise): Likewise.
10068         * sysdeps/posix/remove.c (remove): Likewise.
10069         * sysdeps/posix/rename.c (rename): Likewise.
10070         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10071         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10072         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10073         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10074         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10075         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10076         * sysdeps/posix/sigset.c (sigset): Likewise.
10077         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10078         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10079         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10080         * sysdeps/posix/time.c (time): Likewise.
10081         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10082         (ttyname): Likewise.
10083         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10084         * sysdeps/posix/utime.c (utime): Likewise.
10085         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10086         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10087         Likewise.
10088         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10089         (pthread_spin_trylock): Likewise.
10090         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10091         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10092         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10093         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10094         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10095         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10096         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10097         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10098         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10099         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10100         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10101         * sysdeps/s390/ffs.c (__ffs): Likewise.
10102         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10103         Likewise.
10104         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10105         Likewise.
10106         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10107         Likewise.
10108         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10109         (pthread_barrier_destroy): Likewise.
10110         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10111         (__pthread_barrier_wait): Likewise.
10112         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10113         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10114         (__pthread_barrier_wait): Likewise.
10115         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10116         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10117         (memcmp_not_common_alignment): Likewise.
10118         (MEMCMP): Likewise.
10119         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10120         (_wordcopy_fwd_dest_aligned): Likewise.
10121         (_wordcopy_bwd_aligned): Likewise.
10122         (_wordcopy_bwd_dest_aligned): Likewise.
10123         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10124         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10125         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10126         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10127         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10128         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10129         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10130         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10131         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10132         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10133         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10134         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10135         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10136         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10137         * sysdeps/unix/stime.c (stime): Likewise.
10138         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10139         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10140         Likewise.  Use internal_function.
10141         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10142         Convert to prototype-style function definition.
10143         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10144         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10145         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10146         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10147         Likewise.  Use internal_function.
10148         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10149         prototype-style function definition
10150         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10151         Likewise.
10152         (__getlogin_r): Likewise.
10153         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10154         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10155         (__pthread_cond_broadcast): Likewise.
10156         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10157         (__pthread_cond_destroy): Likewise.
10158         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10159         (__pthread_cond_init): Likewise.
10160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10161         (__pthread_cond_signal): Likewise.
10162         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10163         (__pthread_cond_wait): Likewise.
10164         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10165         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10166         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10171         Likewise.
10172         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10173         Likewise.
10174         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10176         (__ftruncate64): Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10178         (truncate64): Likewise.
10179         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10180         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10181         (pthread_getcpuclockid): Likewise.
10182         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10187         Likewise.
10188         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10189         Likewise.
10190         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10191         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10192         (__libc_sigaction): Likewise.
10193         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10194         Likewise.
10195         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10196         (__sigprocmask): Likewise.
10197         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10198         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10199         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10200         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10201         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10202         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10203         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10204         Likewise.
10205         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10206         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10207         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10208         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10210         Likewise.
10211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10212         (__sigprocmask): Likewise.
10213         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10214         (cfgetispeed): Likewise.
10215         (cfsetospeed): Likewise.
10216         (cfsetispeed): Likewise.
10217         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10218         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10219         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10220         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10221         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10222         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10223         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10224         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10225         Likewise.
10226         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10227         Likewise.
10228         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10231         Likewise.
10232         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10234 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10236         sunrpc: Rewrite with explicit TLS access using __thread.
10237         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10238         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10239         directly.
10240         (__rpc_thread_variables): Access thread_rpc_vars directly.
10241         Eliminate redundant assignment of the tvp variable.
10243 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10245         malloc: Rewrite with explicit TLS access using __thread.
10246         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10247         (tsd_setspecific, tsd_getspecific): Remove.
10248         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10249         (tsd_setspecific, tsd_getspecific): Likewise.
10250         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10251         (tsd_setspecific, tsd_getspecific): Likewise.
10252         * malloc/arena.c (thread_arena): New TLS variable.
10253         (arena_key): Remove variable.
10254         (arena_get): Use thread_arena.
10255         (arena_lookup): Remove macro.
10256         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10257         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10258         (_int_new_arena, get_free_list, reused_arena)
10259         (arena_thread_freeres): Use thread_arena.
10260         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10261         tsd_getspecific, tsd_setspecific from safety annotations.
10262         (Allocating Cleared Space): Remove arena_lookup from safety
10263         annotations.
10265 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10267         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10268         struct scratch_buffer instead of extend_alloca.
10270 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10272         * sysdeps/unix/sysv/linux/kernel-features.h
10273         (__ASSUME_SOCK_CLOEXEC): Remove.
10274         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10275         (__have_paccept): Remove unused macro.
10276         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10277         * misc/syslog.c (openlog_internal): Remove fallback code for
10278         !__ASSUME_SOCK_CLOEXEC.
10279         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10280         missing SOCK_CLOEXEC.
10281         * nscd/connections.c (have_sock_cloexec): Remove definition.
10282         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10283         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10284         !__ASSUME_SOCK_CLOEXEC.
10285         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10286         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10287         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10288         definition.
10289         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10290         code for !__ASSUME_SOCK_CLOEXEC.
10292 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10294         [BZ #18982]
10295         * manual/stdio.texi (Variable Arguments Output): Add portability
10296         note, explaining that vfprintf clobbers the va_list pointer.
10298 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10300         * math/libm-test.inc (fabs_test_data): Add more tests.
10301         (fdim_test_data): Likewise.
10302         (fma_test_data): Likewise.
10303         (fmax_test_data): Likewise.
10304         (fmin_test_data): Likewise.
10305         (fmod_test_data): Likewise.
10307 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10309         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10310         data.
10312 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10314         * math/libm-test.inc (ceil_test_data): Add more tests and more
10315         expectations for "inexact".
10316         (floor_test_data): Add more tests.
10317         (round_test_data): Likewise.
10318         (trunc_test_data): Likewise.
10320         * crypt/cert.c (good_bye): Convert to prototype-style function
10321         definition.
10322         (get8): Likewise.
10323         (put8): Likewise.
10324         * crypt/crypt-entry.c (crypt): Likewise.
10325         (__fcrypt): Likewise.
10326         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10327         (_ufc_set_bits): Likewise.
10328         (_ufc_clearmem): Likewise.
10329         (__init_des_r): Likewise.
10330         (shuffle_sb): Likewise.
10331         (shuffle_sb): Likewise.
10332         (_ufc_setup_salt_r): Likewise.
10333         (_ufc_mk_keytab_r): Likewise.
10334         (_ufc_dofinalperm_r): Likewise.
10335         (encrypt): Likewise.
10336         (__setkey_r): Likewise.
10337         (setkey): Likewise.
10338         * crypt/md5.c (md5_init_ctx): Likewise.
10339         (md5_read_ctx): Likewise.
10340         (md5_finish_ctx): Likewise.
10341         (md5_stream): Likewise.
10342         (md5_buffer): Likewise.
10343         (md5_process_bytes): Likewise.
10344         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10345         (__sha256_finish_ctx): Likewise.
10346         (__sha256_process_bytes): Likewise.
10347         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10348         (__sha512_finish_ctx): Likewise.
10349         (__sha512_process_bytes): Likewise.
10350         * ctype/isctype.c (__isctype): Likewise.
10351         * debug/backtrace.c (__backtrace): Likewise.
10352         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10353         * debug/fgets_chk.c (__fgets_chk): Likewise.
10354         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10355         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10356         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10357         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10358         * debug/memset_chk.c (__memset_chk): Likewise.
10359         * debug/strcat_chk.c (__strcat_chk): Likewise.
10360         * debug/strncat_chk.c (__strncat_chk): Likewise.
10361         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10362         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10363         * dirent/dirfd.c (dirfd): Likewise.
10364         * dirent/getdents.c (__getdirentries): Likewise.
10365         * dirent/getdents64.c (getdirentries64): Likewise.
10366         * dirent/rewinddir.c (__rewinddir): Likewise.
10367         * dirent/seekdir.c (seekdir): Likewise.
10368         * dirent/telldir.c (telldir): Likewise.
10369         * elf/sln.c (makesymlinks): Likewise.
10370         (makesymlink): Likewise.
10371         * gmon/gmon.c (__moncontrol): Likewise.
10372         (__monstartup): Likewise.
10373         (write_hist): Likewise.
10374         (write_call_graph): Likewise.
10375         (write_bb_counts): Likewise.
10376         * grp/setgroups.c (setgroups): Likewise.
10377         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10378         * inet/inet_net.c (inet_network): Likewise.
10379         * inet/inet_netof.c (inet_netof): Likewise.
10380         * inet/rcmd.c (rresvport_af): Likewise.
10381         (rresvport): Likewise.
10382         * io/access.c (__access): Likewise.
10383         * io/chdir.c (__chdir): Likewise.
10384         * io/chmod.c (__chmod): Likewise.
10385         * io/chown.c (__chown): Likewise.
10386         * io/close.c (__close): Likewise.
10387         * io/creat.c (creat): Likewise.
10388         * io/creat64.c (creat64): Likewise.
10389         * io/dup.c (__dup): Likewise.
10390         * io/dup2.c (__dup2): Likewise.
10391         * io/dup3.c (__dup3): Likewise.
10392         * io/euidaccess.c (__euidaccess): Likewise.
10393         * io/faccessat.c (faccessat): Likewise.
10394         * io/fchmod.c (__fchmod): Likewise.
10395         * io/fchmodat.c (fchmodat): Likewise.
10396         * io/fchown.c (__fchown): Likewise.
10397         * io/fchownat.c (fchownat): Likewise.
10398         * io/fcntl.c (__fcntl): Likewise.
10399         * io/flock.c (__flock): Likewise.
10400         * io/fts.c (fts_load): Likewise.
10401         (fts_close): Likewise.
10402         (fts_read): Likewise.
10403         (fts_set): Likewise.
10404         (fts_children): Likewise.
10405         (fts_build): Likewise.
10406         (fts_stat): Likewise.
10407         (fts_sort): Likewise.
10408         (fts_alloc): Likewise.
10409         (fts_lfree): Likewise.
10410         (fts_palloc): Likewise.
10411         (fts_padjust): Likewise.
10412         (fts_maxarglen): Likewise.
10413         (fts_safe_changedir): Likewise.
10414         * io/getwd.c (getwd): Likewise.
10415         * io/isatty.c (__isatty): Likewise.
10416         * io/lchown.c (__lchown): Likewise.
10417         * io/link.c (__link): Likewise.
10418         * io/linkat.c (linkat): Likewise.
10419         * io/lseek.c (__libc_lseek): Likewise.
10420         * io/mkdir.c (__mkdir): Likewise.
10421         * io/mkdirat.c (mkdirat): Likewise.
10422         * io/mkfifo.c (mkfifo): Likewise.
10423         * io/mkfifoat.c (mkfifoat): Likewise.
10424         * io/open.c (__libc_open): Likewise.
10425         * io/open64.c (__libc_open64): Likewise.
10426         * io/readlink.c (__readlink): Likewise.
10427         * io/readlinkat.c (readlinkat): Likewise.
10428         * io/rmdir.c (__rmdir): Likewise.
10429         * io/symlink.c (__symlink): Likewise.
10430         * io/symlinkat.c (symlinkat): Likewise.
10431         * io/ttyname.c (ttyname): Likewise.
10432         * io/ttyname_r.c (__ttyname_r): Likewise.
10433         * io/umask.c (__umask): Likewise.
10434         * io/unlink.c (__unlink): Likewise.
10435         * io/unlinkat.c (unlinkat): Likewise.
10436         * io/utime.c (utime): Likewise.
10437         * libio/clearerr.c (clearerr): Likewise.
10438         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10439         * libio/feof.c (_IO_feof): Likewise.
10440         * libio/feof_u.c (feof_unlocked): Likewise.
10441         * libio/ferror.c (_IO_ferror): Likewise.
10442         * libio/ferror_u.c (ferror_unlocked): Likewise.
10443         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10444         * libio/fileno.c (__fileno): Likewise.
10445         * libio/fputc.c (fputc): Likewise.
10446         * libio/fputc_u.c (fputc_unlocked): Likewise.
10447         * libio/fputwc.c (fputwc): Likewise.
10448         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10449         * libio/freopen.c (freopen): Likewise.
10450         * libio/freopen64.c (freopen64): Likewise.
10451         * libio/fseek.c (fseek): Likewise.
10452         * libio/fseeko.c (fseeko): Likewise.
10453         * libio/fseeko64.c (fseeko64): Likewise.
10454         * libio/ftello.c (__ftello): Likewise.
10455         * libio/ftello64.c (ftello64): Likewise.
10456         * libio/fwide.c (fwide): Likewise.
10457         * libio/genops.c (_IO_un_link): Likewise.
10458         (_IO_link_in): Likewise.
10459         (_IO_least_marker): Likewise.
10460         (_IO_switch_to_main_get_area): Likewise.
10461         (_IO_switch_to_backup_area): Likewise.
10462         (_IO_switch_to_get_mode): Likewise.
10463         (_IO_free_backup_area): Likewise.
10464         (_IO_switch_to_put_mode): Likewise.
10465         (__overflow): Likewise.
10466         (__underflow): Likewise.
10467         (__uflow): Likewise.
10468         (_IO_setb): Likewise.
10469         (_IO_doallocbuf): Likewise.
10470         (_IO_default_underflow): Likewise.
10471         (_IO_default_uflow): Likewise.
10472         (_IO_default_xsputn): Likewise.
10473         (_IO_sgetn): Likewise.
10474         (_IO_default_xsgetn): Likewise.
10475         (_IO_sync): Likewise.
10476         (_IO_default_setbuf): Likewise.
10477         (_IO_default_seekpos): Likewise.
10478         (_IO_default_doallocate): Likewise.
10479         (_IO_init): Likewise.
10480         (_IO_old_init): Likewise.
10481         (_IO_default_sync): Likewise.
10482         (_IO_default_finish): Likewise.
10483         (_IO_default_seekoff): Likewise.
10484         (_IO_sputbackc): Likewise.
10485         (_IO_sungetc): Likewise.
10486         (_IO_set_column): Likewise.
10487         (_IO_set_column): Likewise.
10488         (_IO_adjust_column): Likewise.
10489         (_IO_get_column): Likewise.
10490         (_IO_init_marker): Likewise.
10491         (_IO_remove_marker): Likewise.
10492         (_IO_marker_difference): Likewise.
10493         (_IO_marker_delta): Likewise.
10494         (_IO_seekmark): Likewise.
10495         (_IO_unsave_markers): Likewise.
10496         (_IO_nobackup_pbackfail): Likewise.
10497         (_IO_default_pbackfail): Likewise.
10498         (_IO_default_seek): Likewise.
10499         (_IO_default_stat): Likewise.
10500         (_IO_default_read): Likewise.
10501         (_IO_default_write): Likewise.
10502         (_IO_default_showmanyc): Likewise.
10503         (_IO_default_imbue): Likewise.
10504         (_IO_iter_next): Likewise.
10505         (_IO_iter_file): Likewise.
10506         * libio/getc.c (_IO_getc): Likewise.
10507         * libio/getwc.c (_IO_getwc): Likewise.
10508         * libio/iofclose.c (_IO_new_fclose): Likewise.
10509         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10510         * libio/iofflush.c (_IO_fflush): Likewise.
10511         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10512         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10513         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10514         * libio/iofgets.c (_IO_fgets): Likewise.
10515         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10516         * libio/iofgetws.c (fgetws): Likewise.
10517         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10518         * libio/iofopen64.c (_IO_fopen64): Likewise.
10519         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10520         (_IO_cookie_write): Likewise.
10521         (_IO_cookie_seek): Likewise.
10522         (_IO_cookie_close): Likewise.
10523         (_IO_cookie_seekoff): Likewise.
10524         (_IO_old_cookie_seek): Likewise.
10525         * libio/iofputs.c (_IO_fputs): Likewise.
10526         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10527         * libio/iofputws.c (fputws): Likewise.
10528         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10529         * libio/iofread.c (_IO_fread): Likewise.
10530         * libio/iofread_u.c (__fread_unlocked): Likewise.
10531         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10532         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10533         * libio/ioftell.c (_IO_ftell): Likewise.
10534         * libio/iofwrite.c (_IO_fwrite): Likewise.
10535         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10536         * libio/iogets.c (_IO_gets): Likewise.
10537         * libio/iopadn.c (_IO_padn): Likewise.
10538         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10539         (_IO_new_popen): Likewise.
10540         (_IO_new_proc_close): Likewise.
10541         * libio/ioputs.c (_IO_puts): Likewise.
10542         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10543         (_IO_seekoff): Likewise.
10544         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10545         (_IO_seekpos): Likewise.
10546         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10547         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10548         * libio/ioungetc.c (_IO_ungetc): Likewise.
10549         * libio/ioungetwc.c (ungetwc): Likewise.
10550         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10551         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10552         * libio/iowpadn.c (_IO_wpadn): Likewise.
10553         * libio/libc_fatal.c (__libc_fatal): Likewise.
10554         * libio/memstream.c (__open_memstream): Likewise.
10555         (_IO_mem_sync): Likewise.
10556         (_IO_mem_finish): Likewise.
10557         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10558         (_IO_old_file_close_it): Likewise.
10559         (_IO_old_file_finish): Likewise.
10560         (_IO_old_file_fopen): Likewise.
10561         (_IO_old_file_attach): Likewise.
10562         (_IO_old_file_setbuf): Likewise.
10563         (_IO_old_do_write): Likewise.
10564         (old_do_write): Likewise.
10565         (_IO_old_file_underflow): Likewise.
10566         (_IO_old_file_overflow): Likewise.
10567         (_IO_old_file_sync): Likewise.
10568         (_IO_old_file_seekoff): Likewise.
10569         (_IO_old_file_write): Likewise.
10570         (_IO_old_file_xsputn): Likewise.
10571         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10572         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10573         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10574         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10575         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10576         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10577         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10578         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10579         (_IO_old_popen): Likewise.
10580         (_IO_old_proc_close): Likewise.
10581         * libio/oldpclose.c (__old_pclose): Likewise.
10582         * libio/pclose.c (__new_pclose): Likewise.
10583         * libio/peekc.c (_IO_peekc_locked): Likewise.
10584         * libio/putc.c (_IO_putc): Likewise.
10585         * libio/putc_u.c (putc_unlocked): Likewise.
10586         * libio/putchar.c (putchar): Likewise.
10587         * libio/putchar_u.c (putchar_unlocked): Likewise.
10588         * libio/putwc.c (putwc): Likewise.
10589         * libio/putwc_u.c (putwc_unlocked): Likewise.
10590         * libio/putwchar.c (putwchar): Likewise.
10591         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10592         * libio/rewind.c (rewind): Likewise.
10593         * libio/setbuf.c (setbuf): Likewise.
10594         * libio/setlinebuf.c (setlinebuf): Likewise.
10595         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10596         * libio/vscanf.c (_IO_vscanf): Likewise.
10597         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10598         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10599         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10600         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10601         (_IO_switch_to_main_wget_area): Likewise.
10602         (_IO_switch_to_wbackup_area): Likewise.
10603         (_IO_wsetb): Likewise.
10604         (_IO_wdefault_pbackfail): Likewise.
10605         (_IO_wdefault_finish): Likewise.
10606         (_IO_wdefault_uflow): Likewise.
10607         (__woverflow): Likewise.
10608         (__wuflow): Likewise.
10609         (__wunderflow): Likewise.
10610         (_IO_wdefault_xsputn): Likewise.
10611         (_IO_wdefault_xsgetn): Likewise.
10612         (_IO_wdoallocbuf): Likewise.
10613         (_IO_wdefault_doallocate): Likewise.
10614         (_IO_switch_to_wget_mode): Likewise.
10615         (_IO_free_wbackup_area): Likewise.
10616         (_IO_switch_to_wput_mode): Likewise.
10617         (_IO_sputbackwc): Likewise.
10618         (_IO_sungetwc): Likewise.
10619         (_IO_adjust_wcolumn): Likewise.
10620         (_IO_init_wmarker): Likewise.
10621         (_IO_wmarker_delta): Likewise.
10622         (_IO_seekwmark): Likewise.
10623         (_IO_unsave_wmarkers): Likewise.
10624         * libio/wmemstream.c (open_wmemstream): Likewise.
10625         (_IO_wmem_sync): Likewise.
10626         (_IO_wmem_finish): Likewise.
10627         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10628         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10629         * locale/programs/simple-hash.c (init_hash): Likewise.
10630         (delete_hash): Likewise.
10631         (insert_entry): Likewise.
10632         (set_entry): Likewise.
10633         (next_prime): Likewise.
10634         (is_prime): Likewise.
10635         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10636         (xmalloc): Likewise.
10637         (xrealloc): Likewise.
10638         * locale/programs/xstrdup.c (xstrdup): Likewise.
10639         * localedata/collate-test.c (xstrcoll): Likewise.
10640         * localedata/xfrm-test.c (xstrcmp): Likewise.
10641         * login/getlogin_r.c (__getlogin_r): Likewise.
10642         * login/getpt.c (__posix_openpt): Likewise.
10643         * login/login_tty.c (login_tty): Likewise.
10644         * login/setlogin.c (setlogin): Likewise.
10645         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10646         (mach_msg_destroy_port): Likewise.
10647         (mach_msg_destroy_memory): Likewise.
10648         * malloc/mcheck.c (flood): Likewise.
10649         * misc/acct.c (acct): Likewise.
10650         * misc/brk.c (__brk): Likewise.
10651         * misc/chflags.c (chflags): Likewise.
10652         * misc/chroot.c (chroot): Likewise.
10653         * misc/fchflags.c (fchflags): Likewise.
10654         * misc/fstab.c (getfsspec): Likewise.
10655         (getfsfile): Likewise.
10656         * misc/fsync.c (fsync): Likewise.
10657         * misc/ftruncate.c (__ftruncate): Likewise.
10658         * misc/ftruncate64.c (__ftruncate64): Likewise.
10659         * misc/getdomain.c (getdomainname): Likewise.
10660         (getdomainname): Likewise.
10661         * misc/gethostname.c (__gethostname): Likewise.
10662         * misc/getpass.c (getpass): Likewise.
10663         * misc/getttyent.c (skip): Likewise.
10664         (value): Likewise.
10665         * misc/gtty.c (gtty): Likewise.
10666         * misc/hsearch.c (hsearch): Likewise.
10667         (hcreate): Likewise.
10668         * misc/hsearch_r.c (__hcreate_r): Likewise.
10669         (__hdestroy_r): Likewise.
10670         * misc/ioctl.c (__ioctl): Likewise.
10671         * misc/mkdtemp.c (mkdtemp): Likewise.
10672         * misc/mkostemp.c (mkostemp): Likewise.
10673         * misc/mkostemp64.c (mkostemp64): Likewise.
10674         * misc/mkostemps.c (mkostemps): Likewise.
10675         * misc/mkostemps64.c (mkostemps64): Likewise.
10676         * misc/mkstemp.c (mkstemp): Likewise.
10677         * misc/mkstemp64.c (mkstemp64): Likewise.
10678         * misc/mkstemps.c (mkstemps): Likewise.
10679         * misc/mkstemps64.c (mkstemps64): Likewise.
10680         * misc/mktemp.c (__mktemp): Likewise.
10681         * misc/preadv.c (preadv): Likewise.
10682         * misc/preadv64.c (preadv64): Likewise.
10683         * misc/pwritev.c (pwritev): Likewise.
10684         * misc/pwritev64.c (pwritev64): Likewise.
10685         * misc/readv.c (__readv): Likewise.
10686         * misc/revoke.c (revoke): Likewise.
10687         * misc/setdomain.c (setdomainname): Likewise.
10688         * misc/setegid.c (setegid): Likewise.
10689         * misc/seteuid.c (seteuid): Likewise.
10690         * misc/sethostid.c (sethostid): Likewise.
10691         * misc/sethostname.c (sethostname): Likewise.
10692         * misc/setregid.c (__setregid): Likewise.
10693         * misc/setreuid.c (__setreuid): Likewise.
10694         * misc/sstk.c (sstk): Likewise.
10695         * misc/stty.c (stty): Likewise.
10696         * misc/syscall.c (syscall): Likewise.
10697         * misc/syslog.c (setlogmask): Likewise.
10698         * misc/truncate.c (__truncate): Likewise.
10699         * misc/truncate64.c (truncate64): Likewise.
10700         * misc/ualarm.c (ualarm): Likewise.
10701         * misc/usleep.c (usleep): Likewise.
10702         * misc/ustat.c (ustat): Likewise.
10703         * misc/writev.c (__writev): Likewise.
10704         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10705         * nptl/old_pthread_cond_broadcast.c
10706         (__pthread_cond_broadcast_2_0): Likewise.
10707         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10708         Likewise.
10709         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10710         Likewise.
10711         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10712         Likewise.
10713         * nptl/pt-raise.c (raise): Likewise.
10714         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10715         Likewise.
10716         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10717         * nptl/pthread_barrierattr_destroy.c
10718         (pthread_barrierattr_destroy): Likewise.
10719         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10720         Likewise.
10721         * nptl/pthread_barrierattr_setpshared.c
10722         (pthread_barrierattr_setpshared): Likewise.
10723         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10724         Likewise.
10725         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10726         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10727         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10728         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10729         Likewise.
10730         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10731         Likewise.
10732         * nptl/pthread_condattr_getpshared.c
10733         (pthread_condattr_getpshared): Likewise.
10734         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10735         Likewise.
10736         * nptl/pthread_condattr_setpshared.c
10737         (pthread_condattr_setpshared): Likewise.
10738         * nptl/pthread_detach.c (pthread_detach): Likewise.
10739         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10740         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10741         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10742         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10743         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10744         Likewise.
10745         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10746         Likewise.
10747         * nptl/pthread_mutex_getprioceiling.c
10748         (pthread_mutex_getprioceiling): Likewise.
10749         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10750         Likewise.
10751         * nptl/pthread_mutexattr_getprotocol.c
10752         (pthread_mutexattr_getprotocol): Likewise.
10753         * nptl/pthread_mutexattr_getpshared.c
10754         (pthread_mutexattr_getpshared): Likewise.
10755         * nptl/pthread_mutexattr_getrobust.c
10756         (pthread_mutexattr_getrobust): Likewise.
10757         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10758         Likewise.
10759         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10760         Likewise.
10761         * nptl/pthread_mutexattr_setprioceiling.c
10762         (pthread_mutexattr_setprioceiling): Likewise.
10763         * nptl/pthread_mutexattr_setprotocol.c
10764         (pthread_mutexattr_setprotocol): Likewise.
10765         * nptl/pthread_mutexattr_setpshared.c
10766         (pthread_mutexattr_setpshared): Likewise.
10767         * nptl/pthread_mutexattr_setrobust.c
10768         (pthread_mutexattr_setrobust): Likewise.
10769         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10770         Likewise.
10771         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10772         Likewise.
10773         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10774         Likewise.
10775         * nptl/pthread_rwlockattr_getkind_np.c
10776         (pthread_rwlockattr_getkind_np): Likewise.
10777         * nptl/pthread_rwlockattr_getpshared.c
10778         (pthread_rwlockattr_getpshared): Likewise.
10779         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10780         Likewise.
10781         * nptl/pthread_rwlockattr_setkind_np.c
10782         (pthread_rwlockattr_setkind_np): Likewise.
10783         * nptl/pthread_rwlockattr_setpshared.c
10784         (pthread_rwlockattr_setpshared): Likewise.
10785         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10786         Likewise.
10787         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10788         Likewise.
10789         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10790         Likewise.
10791         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10792         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10793         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10794         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10795         * nptl/sem_close.c (sem_close): Likewise.
10796         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10797         * nptl/sem_init.c (__old_sem_init): Likewise.
10798         * nptl/sigaction.c (__sigaction): Likewise.
10799         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10800         * posix/_exit.c (_exit): Likewise.
10801         * posix/alarm.c (alarm): Likewise.
10802         * posix/confstr.c (confstr): Likewise.
10803         * posix/fpathconf.c (__fpathconf): Likewise.
10804         * posix/getgroups.c (__getgroups): Likewise.
10805         * posix/getpgid.c (__getpgid): Likewise.
10806         * posix/group_member.c (__group_member): Likewise.
10807         * posix/pathconf.c (__pathconf): Likewise.
10808         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10809         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10810         * posix/setgid.c (__setgid): Likewise.
10811         * posix/setpgid.c (__setpgid): Likewise.
10812         * posix/setuid.c (__setuid): Likewise.
10813         * posix/sleep.c (__sleep): Likewise.
10814         * posix/sysconf.c (__sysconf): Likewise.
10815         * posix/times.c (__times): Likewise.
10816         * posix/uname.c (__uname): Likewise.
10817         * posix/waitid.c (__waitid): Likewise.
10818         * pwd/getpw.c (__getpw): Likewise.
10819         * resolv/base64.c (b64_pton): Likewise.
10820         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10821         * resolv/gethnamaddr.c (Dprintf): Likewise.
10822         (gethostbyname): Likewise.
10823         (gethostbyname2): Likewise.
10824         (gethostbyaddr): Likewise.
10825         (_sethtent): Likewise.
10826         (_gethtbyname): Likewise.
10827         (_gethtbyname2): Likewise.
10828         (_gethtbyaddr): Likewise.
10829         (map_v4v6_address): Likewise.
10830         (map_v4v6_hostent): Likewise.
10831         (addrsort): Likewise.
10832         (ht_sethostent): Likewise.
10833         (ht_gethostbyname): Likewise.
10834         (ht_gethostbyaddr): Likewise.
10835         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10836         (inet_net_ntop_ipv4): Likewise.
10837         * resolv/inet_neta.c (inet_neta): Likewise.
10838         * resolv/inet_ntop.c (inet_ntop): Likewise.
10839         (inet_ntop4): Likewise.
10840         (inet_ntop6): Likewise.
10841         * resolv/inet_pton.c (__inet_pton): Likewise.
10842         (inet_pton4): Likewise.
10843         (inet_pton6): Likewise.
10844         * resolv/res_debug.c (loc_aton): Likewise.
10845         (loc_ntoa): Likewise.
10846         * resource/getpriority.c (__getpriority): Likewise.
10847         * resource/getrusage.c (__getrusage): Likewise.
10848         * resource/nice.c (nice): Likewise.
10849         * resource/setpriority.c (__setpriority): Likewise.
10850         * resource/setrlimit64.c (setrlimit64): Likewise.
10851         * resource/vlimit.c (vlimit): Likewise.
10852         * resource/vtimes.c (vtimes): Likewise.
10853         * rt/aio_error.c (aio_error): Likewise.
10854         * rt/aio_return.c (aio_return): Likewise.
10855         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10856         * signal/kill.c (__kill): Likewise.
10857         * signal/killpg.c (killpg): Likewise.
10858         * signal/raise.c (raise): Likewise.
10859         * signal/sigaction.c (__sigaction): Likewise.
10860         * signal/sigaddset.c (sigaddset): Likewise.
10861         * signal/sigaltstack.c (sigaltstack): Likewise.
10862         * signal/sigandset.c (sigandset): Likewise.
10863         * signal/sigblock.c (__sigblock): Likewise.
10864         * signal/sigdelset.c (sigdelset): Likewise.
10865         * signal/sigempty.c (sigemptyset): Likewise.
10866         * signal/sigfillset.c (sigfillset): Likewise.
10867         * signal/sighold.c (sighold): Likewise.
10868         * signal/sigignore.c (sigignore): Likewise.
10869         * signal/sigintr.c (siginterrupt): Likewise.
10870         * signal/sigisempty.c (sigisemptyset): Likewise.
10871         * signal/sigismem.c (sigismember): Likewise.
10872         * signal/signal.c (signal): Likewise.
10873         * signal/sigorset.c (sigorset): Likewise.
10874         * signal/sigpause.c (__sigpause): Likewise.
10875         * signal/sigpending.c (sigpending): Likewise.
10876         * signal/sigprocmask.c (__sigprocmask): Likewise.
10877         * signal/sigrelse.c (sigrelse): Likewise.
10878         * signal/sigreturn.c (__sigreturn): Likewise.
10879         * signal/sigset.c (sigset): Likewise.
10880         * signal/sigsetmask.c (__sigsetmask): Likewise.
10881         * signal/sigstack.c (sigstack): Likewise.
10882         * signal/sigsuspend.c (__sigsuspend): Likewise.
10883         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10884         * signal/sysv_signal.c (__sysv_signal): Likewise.
10885         * socket/accept.c (accept): Likewise.
10886         * socket/accept4.c (__libc_accept4): Likewise.
10887         * socket/bind.c (__bind): Likewise.
10888         * socket/connect.c (__connect): Likewise.
10889         * socket/getpeername.c (getpeername): Likewise.
10890         * socket/getsockname.c (__getsockname): Likewise.
10891         * socket/getsockopt.c (getsockopt): Likewise.
10892         * socket/listen.c (__listen): Likewise.
10893         * socket/recv.c (__recv): Likewise.
10894         * socket/recvmsg.c (__recvmsg): Likewise.
10895         * socket/send.c (__send): Likewise.
10896         * socket/sendmsg.c (__sendmsg): Likewise.
10897         * socket/shutdown.c (shutdown): Likewise.
10898         * socket/sockatmark.c (sockatmark): Likewise.
10899         * socket/socket.c (__socket): Likewise.
10900         * stdio-common/ctermid.c (ctermid): Likewise.
10901         * stdio-common/cuserid.c (cuserid): Likewise.
10902         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10903         * stdio-common/remove.c (remove): Likewise.
10904         * stdio-common/rename.c (rename): Likewise.
10905         * stdio-common/renameat.c (renameat): Likewise.
10906         * stdio-common/tempname.c (__gen_tempname): Likewise.
10907         * stdio-common/xbug.c (InitBuffer): Likewise.
10908         (AppendToBuffer): Likewise.
10909         (ReadFile): Likewise.
10910         * stdlib/a64l.c (a64l): Likewise.
10911         * stdlib/drand48_r.c (drand48_r): Likewise.
10912         * stdlib/getcontext.c (getcontext): Likewise.
10913         * stdlib/getenv.c (getenv): Likewise.
10914         * stdlib/l64a.c (l64a): Likewise.
10915         * stdlib/llabs.c (llabs): Likewise.
10916         * stdlib/lldiv.c (lldiv): Likewise.
10917         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10918         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10919         * stdlib/putenv.c (putenv): Likewise.
10920         * stdlib/random.c (__srandom): Likewise.
10921         (__initstate): Likewise.
10922         (__setstate): Likewise.
10923         * stdlib/random_r.c (__srandom_r): Likewise.
10924         (__setstate_r): Likewise.
10925         (__random_r): Likewise.
10926         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10927         * stdlib/setcontext.c (setcontext): Likewise.
10928         * stdlib/setenv.c (setenv): Likewise.
10929         (unsetenv): Likewise.
10930         * stdlib/srand48.c (srand48): Likewise.
10931         * stdlib/srand48_r.c (__srand48_r): Likewise.
10932         * stdlib/swapcontext.c (swapcontext): Likewise.
10933         * stdlib/system.c (__libc_system): Likewise.
10934         * stdlib/tst-strtod.c (expand): Likewise.
10935         * stdlib/tst-strtol.c (expand): Likewise.
10936         * stdlib/tst-strtoll.c (expand): Likewise.
10937         * streams/fattach.c (fattach): Likewise.
10938         * streams/fdetach.c (fdetach): Likewise.
10939         * streams/getmsg.c (getmsg): Likewise.
10940         * streams/isastream.c (isastream): Likewise.
10941         * string/ffs.c (__ffs): Likewise.
10942         * string/ffsll.c (ffsll): Likewise.
10943         * string/memcmp.c (memcmp_common_alignment): Likewise.
10944         (memcmp_not_common_alignment): Likewise.
10945         (MEMCMP): Likewise.
10946         * string/memcpy.c (memcpy): Likewise.
10947         * string/memmove.c (MEMMOVE): Likewise.
10948         * string/memset.c (memset): Likewise.
10949         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10950         * string/strchrnul.c (STRCHRNUL): Likewise.
10951         * string/strerror.c (strerror): Likewise.
10952         * string/strndup.c (__strndup): Likewise.
10953         * string/strverscmp.c (__strverscmp): Likewise.
10954         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10955         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10956         (clnttcp_freeres): Likewise.
10957         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10958         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10959         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10960         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10961         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10962         (xdr_callhdr): Likewise.
10963         * sunrpc/rpcinfo.c (udpping): Likewise.
10964         (tcpping): Likewise.
10965         (pstatus): Likewise.
10966         (pmapdump): Likewise.
10967         (brdcst): Likewise.
10968         (deletereg): Likewise.
10969         (getprognum): Likewise.
10970         (getvers): Likewise.
10971         (get_inet_address): Likewise.
10972         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10973         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10974         (svcudp_stat): Likewise.
10975         (svcudp_recv): Likewise.
10976         (svcudp_reply): Likewise.
10977         (svcudp_getargs): Likewise.
10978         (svcudp_freeargs): Likewise.
10979         (svcudp_destroy): Likewise.
10980         * sunrpc/xdr.c (xdr_bytes): Likewise.
10981         (xdr_netobj): Likewise.
10982         (xdr_string): Likewise.
10983         (xdr_wrapstring): Likewise.
10984         * sunrpc/xdr_float.c (xdr_float): Likewise.
10985         (xdr_double): Likewise.
10986         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10987         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10988         * sysvipc/ftok.c (ftok): Likewise.
10989         * sysvipc/msgctl.c (msgctl): Likewise.
10990         * sysvipc/msgget.c (msgget): Likewise.
10991         * sysvipc/msgrcv.c (msgrcv): Likewise.
10992         * sysvipc/msgsnd.c (msgsnd): Likewise.
10993         * sysvipc/semget.c (semget): Likewise.
10994         * sysvipc/semop.c (semop): Likewise.
10995         * sysvipc/shmat.c (shmat): Likewise.
10996         * sysvipc/shmctl.c (shmctl): Likewise.
10997         * sysvipc/shmdt.c (shmdt): Likewise.
10998         * sysvipc/shmget.c (shmget): Likewise.
10999         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11000         * termios/speed.c (cfgetospeed): Likewise.
11001         (cfgetispeed): Likewise.
11002         (cfsetospeed): Likewise.
11003         (cfsetispeed): Likewise.
11004         * termios/tcflow.c (tcflow): Likewise.
11005         * termios/tcflush.c (tcflush): Likewise.
11006         * termios/tcgetattr.c (__tcgetattr): Likewise.
11007         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11008         * termios/tcgetsid.c (tcgetsid): Likewise.
11009         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11010         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11011         * time/adjtime.c (__adjtime): Likewise.
11012         * time/dysize.c (dysize): Likewise.
11013         * time/ftime.c (ftime): Likewise.
11014         * time/getitimer.c (__getitimer): Likewise.
11015         * time/gettimeofday.c (__gettimeofday): Likewise.
11016         * time/gmtime.c (__gmtime_r): Likewise.
11017         (gmtime): Likewise.
11018         * time/localtime.c (__localtime_r): Likewise.
11019         (localtime): Likewise.
11020         * time/offtime.c (__offtime): Likewise.
11021         * time/settimeofday.c (__settimeofday): Likewise.
11022         * time/stime.c (stime): Likewise.
11023         * time/strftime_l.c (tm_diff): Likewise.
11024         (iso_week_days): Likewise.
11025         * time/strptime.c (strptime): Likewise.
11026         * time/time.c (time): Likewise.
11027         * time/timespec_get.c (timespec_get): Likewise.
11028         * time/tzset.c (tzset_internal): Likewise.
11029         (compute_change): Likewise.
11030         (__tz_compute): Likewise.
11031         * wcsmbs/btowc.c (__btowc): Likewise.
11032         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11033         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11034         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11035         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11036         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11037         * wcsmbs/wcscat.c (__wcscat): Likewise.
11038         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11039         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11040         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11041         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11042         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11043         * wcsmbs/wcslen.c (__wcslen): Likewise.
11044         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11045         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11046         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11047         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11048         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11049         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11050         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11051         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11052         * wcsmbs/wcstok.c (wcstok): Likewise.
11053         * wcsmbs/wctob.c (wctob): Likewise.
11054         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11056         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11057         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11058         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11059         * wcsmbs/wmemset.c (__wmemset): Likewise.
11060         * wctype/wcfuncs.c (__towlower): Likewise.
11061         (__towupper): Likewise.
11063         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11064         (lll_unlock_elision): Add adapt_count parameter.
11066 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11068         * sysdeps/nptl/configure.ac: Do not give errors based on the
11069         results of top-level configure tests.
11070         * sysdeps/nptl/configure: Regenerated.
11072         * configure.ac (libc_cv_Bgroup): Remove configure test.
11073         * configure: Regenerated.
11074         * config.make.in (have-Bgroup): Remove variable.
11076         * configure.ac (sizeof_long_double): Remove configure test.
11077         * configure: Regenerated.
11078         * config.make.in (sizeof-long-double): Remove variable.
11080         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11081         * configure: Regenerated.
11082         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11083         variable.
11084         (exceptions): Likewise.
11085         * sysdeps/arm/configure: Regenerated.
11086         * config.make.in (exceptions): Remove variable.
11087         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11088         $(exceptions).
11089         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11090         (CFLAGS-vdprintf_chk.c): Likewise.
11091         (CFLAGS-printf_chk.c): Likewise.
11092         (CFLAGS-fprintf_chk.c): Likewise.
11093         (CFLAGS-vprintf_chk.c): Likewise.
11094         (CFLAGS-vfprintf_chk.c): Likewise.
11095         (CFLAGS-gets_chk.c): Likewise.
11096         (CFLAGS-fgets_chk.c): Likewise.
11097         (CFLAGS-fgets_u_chk.c): Likewise.
11098         (CFLAGS-fread_chk.c): Likewise.
11099         (CFLAGS-fread_u_chk.c): Likewise.
11100         (CFLAGS-wprintf_chk.c): Likewise.
11101         (CFLAGS-fwprintf_chk.c): Likewise.
11102         (CFLAGS-vwprintf_chk.c): Likewise.
11103         (CFLAGS-vfwprintf_chk.c): Likewise.
11104         (CFLAGS-fgetws_chk.c): Likewise.
11105         (CFLAGS-fgetws_u_chk.c): Likewise.
11106         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11107         (CFLAGS-fputc.c): Likewise.
11108         (CFLAGS-fputwc.c): Likewise.
11109         (CFLAGS-freopen64.c): Likewise.
11110         (CFLAGS-freopen.c): Likewise.
11111         (CFLAGS-fseek.c): Likewise.
11112         (CFLAGS-fseeko64.c): Likewise.
11113         (CFLAGS-fseeko.c): Likewise.
11114         (CFLAGS-ftello64.c): Likewise.
11115         (CFLAGS-ftello.c): Likewise.
11116         (CFLAGS-fwide.c): Likewise.
11117         (CFLAGS-genops.c): Likewise.
11118         (CFLAGS-getc.c): Likewise.
11119         (CFLAGS-getchar.c): Likewise.
11120         (CFLAGS-getwc.c): Likewise.
11121         (CFLAGS-getwchar.c): Likewise.
11122         (CFLAGS-iofclose.c): Likewise.
11123         (CFLAGS-iofflush.c): Likewise.
11124         (CFLAGS-iofgetpos64.c): Likewise.
11125         (CFLAGS-iofgetpos.c): Likewise.
11126         (CFLAGS-iofgets.c): Likewise.
11127         (CFLAGS-iofgetws.c): Likewise.
11128         (CFLAGS-iofputs.c): Likewise.
11129         (CFLAGS-iofputws.c): Likewise.
11130         (CFLAGS-iofread.c): Likewise.
11131         (CFLAGS-iofsetpos64.c): Likewise.
11132         (CFLAGS-iofsetpos.c): Likewise.
11133         (CFLAGS-ioftell.c): Likewise.
11134         (CFLAGS-iofwrite.c): Likewise.
11135         (CFLAGS-iogetdelim.c): Likewise.
11136         (CFLAGS-iogetline.c): Likewise.
11137         (CFLAGS-iogets.c): Likewise.
11138         (CFLAGS-iogetwline.c): Likewise.
11139         (CFLAGS-ioputs.c): Likewise.
11140         (CFLAGS-ioseekoff.c): Likewise.
11141         (CFLAGS-ioseekpos.c): Likewise.
11142         (CFLAGS-iosetbuffer.c): Likewise.
11143         (CFLAGS-iosetvbuf.c): Likewise.
11144         (CFLAGS-ioungetc.c): Likewise.
11145         (CFLAGS-ioungetwc.c): Likewise.
11146         (CFLAGS-oldfileops.c): Likewise.
11147         (CFLAGS-oldiofclose.c): Likewise.
11148         (CFLAGS-oldiofgetpos64.c): Likewise.
11149         (CFLAGS-oldiofgetpos.c): Likewise.
11150         (CFLAGS-oldiofsetpos64.c): Likewise.
11151         (CFLAGS-oldiofsetpos.c): Likewise.
11152         (CFLAGS-peekc.c): Likewise.
11153         (CFLAGS-putc.c): Likewise.
11154         (CFLAGS-putchar.c): Likewise.
11155         (CFLAGS-putwc.c): Likewise.
11156         (CFLAGS-putwchar.c): Likewise.
11157         (CFLAGS-rewind.c): Likewise.
11158         (CFLAGS-wfileops.c): Likewise.
11159         (CFLAGS-wgenops.c): Likewise.
11160         (CFLAGS-oldiofopen.c): Likewise.
11161         (CFLAGS-iofopen.c): Likewise.
11162         (CFLAGS-iofopen64.c): Likewise.
11163         (CFLAGS-oldtmpfile.c): Likewise.
11164         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11165         (CFLAGS-fprintf.c): Likewise.
11166         (CFLAGS-printf.c): Likewise.
11167         (CFLAGS-vfwprintf.c): Likewise.
11168         (CFLAGS-vfscanf.c): Likewise.
11169         (CFLAGS-vfwscanf.c): Likewise.
11170         (CFLAGS-fscanf.c): Likewise.
11171         (CFLAGS-scanf.c): Likewise.
11172         (CFLAGS-isoc99_vfscanf.c): Likewise.
11173         (CFLAGS-isoc99_vscanf.c): Likewise.
11174         (CFLAGS-isoc99_fscanf.c): Likewise.
11175         (CFLAGS-isoc99_scanf.c): Likewise.
11176         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11177         (CFLAGS-isoc99_fwscanf.c): Likewise.
11178         (CFLAGS-isoc99_vwscanf.c): Likewise.
11179         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11181         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11182         after mkstemp64.
11183         * login/tst-utmp.c (do_prepare): Likewise.
11184         * rt/tst-aio.c (do_prepare): Likewise.
11185         * rt/tst-aio64.c (do_prepare): Likewise.
11187 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11190         (__lll_lock_elision): Remove adapt_count decrement...
11191         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11192         (__lll_trylock_elision): Likewise.
11193         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11194         (__lll_unlock_elision): ... to here. And utilize
11195         new adapt_count parameter.
11196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11197         (__lll_unlock_elision): Update to include adapt_count
11198         parameter.
11199         (lll_unlock_elision): Pass pointer to adapt_count
11200         variable.
11202 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11204         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11205         Add elision adapt_count parameter to list of arguments.
11206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11207         (lll_unlock_elision): Update with new parameter list
11208         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11209         (lll_unlock_elision): Likewise.
11210         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11211         (lll_unlock_elision): Likewise.
11213 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11215         [BZ #19122]
11216         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11217         attribute_hidden.
11219         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11220         attribute_hidden.
11221         [IS_IN (rtld)] (__strdup): Likewise.
11222         [IS_IN (rtld)] (__strerror_r): Likewise.
11223         [IS_IN (rtld)] (__strsep_g): Likewise.
11224         [IS_IN (rtld)] (memchr): Likewise.
11225         [IS_IN (rtld)] (memcmp): Likewise.
11226         [IS_IN (rtld)] (memcpy): Likewise.
11227         [IS_IN (rtld)] (memmove): Likewise.
11228         [IS_IN (rtld)] (memset): Likewise.
11229         [IS_IN (rtld)] (rawmemchr): Likewise.
11230         [IS_IN (rtld)] (stpcpy): Likewise.
11231         [IS_IN (rtld)] (strchr): Likewise.
11232         [IS_IN (rtld)] (strcmp): Likewise.
11233         [IS_IN (rtld)] (strlen): Likewise.
11234         [IS_IN (rtld)] (strnlen): Likewise.
11235         [IS_IN (rtld)] (strsep): Likewise.
11237         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11238         attribute_hidden.
11239         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11241         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11242         attribute_hidden.
11243         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11245         * include/setjmp.h (__longjmp): Add attribute_hidden.
11246         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11248         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11249         Add attribute_hidden.
11251         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11252         [IS_IN (rtld)] (__open): Likewise.
11253         [IS_IN (rtld)] (__fcntl): Likewise.
11255         * include/dirent.h (__opendirat): Add attribute_hidden.
11256         (__getdents): Likewise.
11257         (__getdents64): Likewise.
11258         (__alloc_dir): Likewise.
11259         [IS_IN (rtld)] (__closedir): Likewise.
11260         [IS_IN (rtld)] (__fdopendir): Likewise.
11261         [IS_IN (rtld)] (__readdir): Likewise.
11262         [IS_IN (rtld)] (__readdir64): Likewise.
11263         [IS_IN (rtld)] (__rewinddir): Likewise.
11265         * include/dlfcn.h (_dl_catch_error): Moved to ...
11266         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11267         attribute_hidden.
11269         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11270         (_itoa_word): Likewise.
11272         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11273         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11274         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11275         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11276         (_dl_higher_prime_number): Likewise.
11277         (_dl_debug_printf_c): Likewise.
11278         (_dl_signal_cerror): Likewise.
11279         (_dl_receive_error): Likewise.
11280         (_dl_reloc_bad_type): Likewise.
11281         (_dl_resolve_conflicts): Likewise.
11282         (_dl_check_all_versions): Likewise.
11283         (_dl_check_map_versions): Likewise.
11284         (_dl_sort_fini): Likewise.
11285         (_dl_debug_initialize): Likewise.
11286         (_dl_init_paths): Likewise.
11287         (_dl_show_auxv): Likewise.
11288         (_dl_next_ld_env_entry): Likewise.
11289         (_dl_important_hwcaps): Likewise.
11290         (_dl_load_cache_lookup): Likewise.
11291         (_dl_update_slotinfo): Likewise.
11292         (_dl_show_scope): Likewise.
11294         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11295         attribute_hidden.
11296         (_wordcopy_fwd_dest_aligned): Likewise.
11297         (_wordcopy_bwd_aligned): Likewise.
11298         (_wordcopy_bwd_dest_aligned): Likewise.
11300         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11301         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11302         Likewise.
11303         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11304         Likewise.
11305         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11307 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11310         GCC 5 requirement.
11312 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11314         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11315         test.
11316         * sysdeps/i386/configure: Regenerated.
11317         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11318         code unconditional.
11320         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11321         test.
11322         (libc_cv_asm_popsection_directive): Likewise.
11323         * configure: Regenerated.
11324         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11325         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11326         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11327         (__make_section_unallocated): Make definition unconditional.
11328         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11329         Remove conditional definition.
11330         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11331         (__make_section_unallocated): Likewise.
11333         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11334         * configure: Regenerated.
11335         * config.make.in (static-libgcc): Remove variable.
11336         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11337         $(static-libgcc).
11338         (build-module-helper): Likewise.
11340         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11341         * configure: Regenerated.
11343 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11345         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11346         (struct char_buffer): New type.
11347         (char_buffer_start, char_buffer_size, char_buffer_error)
11348         (char_buffer_rewind, char_buffer_add): New functions.
11349         (ADDW): Remove macro, replaced by the char_buffer_add function.
11350         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11351         of extend_alloca.  Make control flow more explicit.
11353 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11355         [BZ #19137]
11356         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11357         Add -fomit-frame-pointer.
11358         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11360 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11362         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11363         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11365         only if !__GNUC_PREREQ (5,0).
11366         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11367         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11368         (INTERNAL_SYSCALL_NCS): Likewise.
11369         (LOADREGS_0): New macro for GCC 5.
11370         (ASMARGS_0): Likewise.
11371         (LOADREGS_1): Likewise.
11372         (ASMARGS_1): Likewise.
11373         (LOADREGS_2): Likewise.
11374         (ASMARGS_2): Likewise.
11375         (LOADREGS_3): Likewise.
11376         (ASMARGS_3): Likewise.
11377         (LOADREGS_4): Likewise.
11378         (ASMARGS_4): Likewise.
11379         (LOADREGS_5): Likewise.
11380         (ASMARGS_5): Likewise.
11381         (LOADREGS_6): Likewise.
11382         (ASMARGS_6): Likewise.
11384 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11386         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11387         -fomit-frame-pointer.
11388         (CFLAGS-mmap64.c): Likewise.
11389         (CFLAGS-semtimedop.c): Likewise.
11390         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11391         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11392         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11393         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11395 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11397         [BZ #18928]
11398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11399         _dl_pointer_guard member.
11400         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11401         initializer.
11402         (security_init): Always set up pointer guard.
11403         (process_envvars): Do not process LD_POINTER_GUARD.
11405 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #19134]
11408         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11409         (.LC2): Likewise.
11410         (.LC3): Likewise.
11411         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11413 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11415         [BZ #19129]
11416         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11417         r0 and r1.
11419 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11421         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11423 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11425         * include/stap-probe.h: Fix macro definition formatting.
11427 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11429         [BZ #19074]
11430         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11431         load and store num_ifs.
11433 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11435         [BZ #18822]
11436         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11437         (__sched_getaffinity_new): Add libc_hidden_proto and
11438         libc_hidden_def.
11440 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11442         [BZ #19007]
11443         * scripts/localplt.awk: Also allow GOT references.
11444         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11445         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11446         with "+ REL R_386_GLOB_DAT".
11447         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11448         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11450 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11452         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11453         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11454         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11455         Likewise.
11456         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11457         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11458         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11459         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11460         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11461         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11462         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11463         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11464         Likewise.
11465         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11467 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11469         [BZ #19125]
11470         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11471         <math_private.h> and <stdint.h>.
11472         (__llround): Avoid conversions to and from long long int, and
11473         subtractions, where those might raise spurious exceptions.
11474         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11475         <math_private.h> and <stdint.h>.
11476         (__llroundf): Avoid conversions to and from long long int, and
11477         subtractions, where those might raise spurious exceptions.
11479 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11481         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11482         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11483         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11484         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11485         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11486         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11487         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11488         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11489         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11490         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11491         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11492         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11493         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11494         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11495         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11496         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11497         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11498         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11499         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11500         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11501         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11502         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11503         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11504         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11505         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11506         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11507         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11508         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11509         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11510         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11511         (__xstat64_conv): Likewise.
11512         (__xstat32_conv): Likewise.
11514 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11516         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11517         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11518         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11519         <sysdeps/unix/sysv/linux/sysdep.h>.
11520         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11521         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11522         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11523         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11524         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11525         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11526         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11527         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11528         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11534         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11536         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11537         (sysdep-dl-routines): Add sysdep.
11538         [$(subdir) == nptl] (libpthread-routines): Likewise.
11539         [$(subdir) == rt] (librt-routines): Likewise.
11540         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11541         PIC when branching to SYSCALL_ERROR_LABEL.
11542         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11544         <sysdeps/unix/sysv/linux/sysdep.h>.
11545         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11546         (SYSCALL_ERROR_ERRNO): Removed.
11547         (SYSCALL_ERROR_HANDLER): Changed to empty.
11548         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11549         (__syscall_error): New prototype.
11550         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11551         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11553 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11555         [BZ #19124]
11556         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11557         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11558         _dl_runtime_resolve_avx.
11559         (_dl_runtime_profile_avx512): Make it a hidden alias of
11560         _dl_runtime_profile_avx.
11562 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11564         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11565         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11566         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11567         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11569         [BZ #16422]
11570         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11571         New configure test.
11572         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11573         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11574         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11575         <math_private.h> and <stdint.h>.
11576         (__llrint): Avoid conversions to long long int where those might
11577         raise spurious exceptions.
11578         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11579         <math_private.h> and <stdint.h>.
11580         (__llrintf): Avoid conversions to long long int where those might
11581         raise spurious exceptions.
11583 2015-10-12  Andreas Schwab  <schwab@suse.de>
11585         [BZ #18969]
11586         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11587         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11588         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11589         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11590         $(gen-locales).
11591         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11592         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11593         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11594         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11595         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11596         $(gen-locales).
11597         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11598         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11599         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11600         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11601         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11602         ($(objpfx)tst-ftell-active-handler.out)
11603         ($(objpfx)tst-ftell-append.out)
11604         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11605         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11606         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11607         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11608         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11609         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11610         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11611         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11612         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11613         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11614         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11615         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11616         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11617         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11618         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11619         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11620         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11621         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11622         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11623         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11624         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11625         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11626         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11627         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11628         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11629         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11630         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11631         $(gen-locales).
11632         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11633         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11634         $(gen-locales).
11635         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11636         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11637         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11638         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11639         $(gen-locales).
11640         * libio/tst_wprintf2.c (main): Use explicit locale.
11641         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11643 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11645         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11646         __msg_sig_post.
11647         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11649 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11651         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11652         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11654         * sysdeps/arm/libm-test-ulps: Regenerated.
11656         [BZ #15470]
11657         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11659         [BZ #16399]
11660         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11661         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11662         and <fix-fp-int-convert-overflow.h>.
11663         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11664         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11665         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11666         and <fix-fp-int-convert-overflow.h>.
11667         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11668         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11669         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11670         <fix-fp-int-convert-overflow.h>.
11671         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11672         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11673         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11674         <fix-fp-int-convert-overflow.h>.
11675         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11676         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11677         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11678         and <fix-fp-int-convert-overflow.h>.
11679         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11680         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11681         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11682         <limits.h> and <fix-fp-int-convert-overflow.h>.
11683         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11684         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11685         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11686         and <fix-fp-int-convert-overflow.h>.
11687         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11688         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11689         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11690         and <fix-fp-int-convert-overflow.h>.
11691         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11692         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11693         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11695 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11697         [BZ #18589]
11698         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11699         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11700         $(gen-locales).
11702 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11703             Phil Blundell <pb@pbcl.net>
11705         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11706         * nptl/tst-cancel26.c: New file.
11707         * nptl/tst-cancel27.c: Likewise.
11709 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11711         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11712         __ILP32__ isn't defined.
11713         (lrint): Likewise.
11714         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11715         (lrintf): Likewise.
11716         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11717         (lrintl): Likewise.
11718         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11719         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11720         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11722 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11725         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11728         file.
11729         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11730         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11732 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11734         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11735         configure test.
11736         * sysdeps/i386/configure: Regenerated.
11737         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11738         configure test.
11739         * sysdeps/x86_64/configure: Regenerated.
11740         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11741         Make code unconditional.
11743         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11744         test.
11745         * sysdeps/i386/configure: Regenerated.
11746         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11747         test.
11748         * sysdeps/x86_64/configure: Regenerated.
11749         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11750         Make code unconditional.
11751         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11752         Likewise.
11753         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11754         Likewise.
11755         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11756         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11757         code unconditional.
11758         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11759         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11760         code unconditional.
11761         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11762         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11763         code unconditional.
11764         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11765         code unconditional.
11766         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11767         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11768         code unconditional.
11769         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11770         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11771         code unconditional.
11772         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11773         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11774         code unconditional.
11775         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11776         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11777         code unconditional.
11778         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11779         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11781         [BZ #19095]
11782         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11783         mantissa to long int before shifting left.
11785 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11787         [BZ #19094]
11788         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11789         <limits.h>.
11790         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11791         when result overflows but exception would not result from cast.
11792         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11793         <limits.h>.
11794         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11795         when result overflows but exception would not result from cast.
11796         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11797         <limits.h>.
11798         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11799         when result overflows but exception would not result from cast.
11800         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11801         <limits.h>.
11802         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11803         when result overflows but exception would not result from cast.
11804         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11805         <limits.h>.
11806         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11807         when result overflows but exception would not result from cast.
11808         * math/libm-test.inc (lrint_test_data): Add more tests.
11809         (llrint_test_data): Likewise.
11811 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11813         [BZ #18872]
11814         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11815         Move out from under [$(run-built-tests) = yes] conditional.
11816         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11817         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11819 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11821         [BZ #18589]
11822         * string/Makefile (tests): Add bug-strcoll2.
11823         (LOCALES): Add cs_CZ.UTF-8.
11824         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11826         [BZ #18589]
11827         * string/bug-strcoll2.c: New file.
11828         * locale/categories.def: Revert commit
11829         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11830         * locale/langinfo.h: Likewise.
11831         * locale/localeinfo.h: Likewise.
11832         * locale/C-collate.c: Likewise.
11833         * locale/programs/ld-collate.c (collate_output): Likewise.
11834         * string/strcoll_l.c (STRDIFF): Likewise.
11835         (STRCOLL): Likewise.
11836         * wcsmbs/wcscoll_l.c: Likewise.
11838 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11840         * math/libm-test.inc (lround_test_data): Do not expect the absence
11841         of "inexact" for some tests with non-integer arguments.
11842         (llround_test_data): Likewise.
11844         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11845         test.
11846         (libc_cv_cc_sse2avx): Likewise.
11847         * sysdeps/i386/configure: Regenerated.
11848         * sysdeps/i386/i686/multiarch/Makefile
11849         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11850         [$(subdir) = math].
11851         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11852         code unconditional.
11853         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11854         Likewise.
11855         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11856         Likewise.
11857         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11858         Likewise.
11859         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11860         test.
11861         (libc_cv_cc_sse2avx): Likewise.
11862         * sysdeps/x86_64/configure: Regenerated.
11863         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11864         unconditional.
11865         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11866         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11867         unconditional.
11868         (_dl_runtime_profile)
11869         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11870         conditional code.
11871         * sysdeps/x86_64/fpu/multiarch/Makefile
11872         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11873         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11874         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11875         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11876         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11877         * sysdeps/x86_64/fpu/multiarch/e_log.c
11878         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11879         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11880         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11881         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11882         Likewise.
11883         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11884         Likewise.
11885         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11886         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11887         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11888         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11889         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11890         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11891         (HAVE_SSE2AVX_SUPPORT): Likewise.
11893 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11895         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11896         instead of #pragma optimize.
11898 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11900         [BZ #17195]
11901         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11902         as is similarly done in systrim and _int_free already.
11904 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11906         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11908 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #19088]
11911         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11912         <limits.h>.
11913         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11914         overflows but exception would not result from cast.
11915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11916         and <limits.h>.
11917         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11918         overflows but exception would not result from cast.
11919         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11920         <limits.h>.
11921         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11922         overflows but exception would not result from cast.
11923         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11924         <limits.h>.
11925         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11926         overflows but exception would not result from cast.
11927         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11928         <limits.h>.
11929         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11930         overflows but exception would not result from cast.
11931         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11932         <limits.h>.
11933         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11934         overflows but exception would not result from cast.
11935         * math/libm-test.inc (lround_test_data): Add more tests.
11936         (llround_test_data): Likewise.
11938 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11940         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11941         (CFLAGS-ialloc.c): Ditto.
11942         (CFLAGS-scheck.c): Ditto.
11944 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11946         [BZ #19086]
11947         * manual/filesys.texi (Storage Allocation): Fix argument order for
11948         posix_fallocate64.
11950 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11952         [BZ #19085]
11953         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11954         exponent below 48 inside case for non-overflowing exponent.
11955         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11957 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11959         * iconvdata/cp737.h (from_idx): Add const.
11960         * iconvdata/cp775.h (from_idx): Likewise.
11962 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11964         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11965         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11966         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11968         [BZ #19079]
11969         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11970         file, conditioned on [!_LP64].
11971         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11972         [!_LP64] (__lround): Do not define as function or alias.
11973         [!_LP64] (lround): Likewise.
11974         [!_LP64] (__lroundl): Likewise.
11975         [!_LP64] (lroundl): Likewise.
11976         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11977         macro.
11978         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11979         Likewise.
11981 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11983         * math/libm-test.inc (lrint_test_data): Add more tests.
11984         (llrint_test_data): Likewise.
11985         (lround_test_data): Likewise.
11986         (llround_test_data): Likewise.
11988         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11989         (llrint_test_data): Add tests used for lrint.
11991         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11992         test.
11993         * sysdeps/i386/configure: Regenerated.
11994         * sysdeps/i386/i686/multiarch/Makefile
11995         [$(config-cflags-sse4) = yes]: Make code unconditional.
11996         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11997         Likewise.
11998         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11999         Likewise.
12000         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12001         test.
12002         * sysdeps/x86_64/configure: Regenerated.
12003         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12004         Make code unconditional.
12005         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12006         Likewise.
12007         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12008         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12010         * scripts/rpm2dynsym.sh: Remove file.
12012 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12014         * configure.ac (libc_cv_cxx_thread_local): Define.
12015         * configure: Regenerate.
12016         * config.make.in (have-cxx-thread_local): Define.
12017         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12018         (LDLIBS-tst-thread_local1): Define.
12019         (tests): Add tst-thread_local1.
12020         [have-cxx-thread_local != yes] (tests-unsupported): Add
12021         tst-thread_local1.
12022         * nptl/tst-thread_local1.cc: New file.
12024 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12026         [BZ #19078]
12027         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12028         (u_thres): Likewise.
12029         (__expl): Determine whether to call __kernel_standard_l based on
12030         value of result, not argument.
12032         * math/libm-test.inc (scalb_test_data): Add more expectations for
12033         the "inexact" exception.
12035         [BZ #19077]
12036         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12037         0.0L for argument 1.0L.
12039         [BZ #19076]
12040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12041         constant 0.0L when computing infinite result.
12043 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12045         [BZ #10432]
12046         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12047         malloc_usable_size.
12049 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12051         [BZ #19018]
12052         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12053         Mangle function pointer before storing it.
12054         (__call_tls_dtors): Demangle function pointer before calling it.
12056 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12058         [BZ #19012]
12059         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12060         Clean up on failure.
12062 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12064         [BZ #19071]
12065         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12066         long int variable to store possibly incremented high part of
12067         mantissa.
12068         * math/libm-test.inc (lround_test_data): Add tests used for
12069         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12070         for tests requiring 64-bit long.  Do not condition tests on
12071         [TEST_FLOAT] unnecessarily.
12072         (llround_test_data): Add tests used for lround.  Add another
12073         expectation for the "inexact" exception.  Do not condition tests
12074         on [TEST_FLOAT] unnecessarily.
12076         [BZ #887]
12077         [BZ #19049]
12078         [BZ #19050]
12079         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12080         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12081         <fix-int-fp-convert-zero.h>.
12082         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12083         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12084         <fix-int-fp-convert-zero.h>.
12085         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12086         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12087         <fix-int-fp-convert-zero.h>.
12088         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12089         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12090         <fix-int-fp-convert-zero.h>.
12091         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12092         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12093         <fix-int-fp-convert-zero.h>.
12094         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12095         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12096         <fix-int-fp-convert-zero.h>.
12097         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12098         * sysdeps/ieee754/flt-32/s_erff.c: Include
12099         <fix-int-fp-convert-zero.h>.
12100         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12101         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12102         <fix-int-fp-convert-zero.h>.
12103         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12105         <fix-int-fp-convert-zero.h>.
12106         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12107         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12108         <fix-int-fp-convert-zero.h>.
12109         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12110         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12111         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12112         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12113         file.
12114         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12116 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12118         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12120 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #19059]
12123         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12124         overflowing computation.
12125         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12126         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12127         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12128         Likewise.
12129         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12130         Likewise.
12131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12132         Likewise.
12133         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12134         Likewise.
12135         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12136         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12137         Likewise.
12138         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12139         Likewise.
12140         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12142         * nss/rewrite_field.c (__nss_rewrite_field): Use
12143         internal_function.
12144         * nss/valid_field.c (__nss_valid_field): Likewise.
12145         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12147 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12149         [BZ #18724]
12150         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12151         (__nss_invalid_field_characters, __nss_valid_field)
12152         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12153         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12154         tst-field.c: New file.
12155         * nss/Makefile (routines): Add valid_field, rewrite_field.
12156         (tests-static): Define unconditionally.
12157         (tests): Include tests-static.
12158         [build-static-nss] (tests-static): Use append.
12159         [build-static-nss] (tests): Remove modification.
12160         * nss/getent.c (print_group): Call putgrent.  Report error.
12161         (print_gshadow): Call putsgent.  Report error.
12162         (print_passwd): Call putpwent.  Report error.
12163         (print_shadow): Call putspent.  Report error.
12164         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12165         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12166         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12167         name, password, directory, shell fields for valid syntax.  Rewrite
12168         GECOS field to match syntax.
12169         * pwd/Makefile (tests): Add tst-putpwent.
12170         * pwd/tst-putpwent.c: New file.
12171         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12172         Check grName, grpasswd, gr_mem fields for valid syntax.
12173         Change loop variable i to size_t.
12174         * grp/Makefile (tests): Add tst-putgrent.
12175         * grp/tst-putgrent.c: New file.
12176         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12177         valid syntax.
12178         * shadow/Makefile (tests): Add tst-putspent.
12179         * shadow/tst-putspent.c: New file.
12180         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12181         sg_mem fields for valid syntax.
12182         * gshadow/Makefile (tests): Add tst-putsgent.
12183         * gshadow/tst-putsgent.c: New file.
12185 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12187         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12188         assembly instructions.
12190 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12192         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12193         prefix from operands.
12195 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12197         [BZ #16347]
12198         [BZ #19046]
12199         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12200         <libc-internal.h>.
12201         (MAXLGM): Do not use diagnostic control macros.
12202         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12203         threshold for ldbl-128ibm.
12204         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12205         instead of multiplying by log then subtracting.
12206         * math/auto-libm-test-in: Add more tests of lgamma.
12207         * math/auto-libm-test-out: Regenerated.
12209         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12210         (TYPE_HEX_DIG): Likewise.
12211         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12212         precisions when printing floating-point numbers.
12213         (check_float_internal): Likewise.
12215 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #16620]
12218         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12219         of log (10) rounded downward to 48 bits.
12220         (log10_low): Use corresponding low part of log (10).
12222         [BZ #19032]
12223         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12224         compute result as (x - x) / (x - x) not as 0 / 0.
12225         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12226         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12228         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12229         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12230         and expm1.
12231         * math/auto-libm-test-out: Regenerated.
12232         * math/libm-test.inc (acos_test_data): Add more tests.
12233         (asin_test_data): Likewise.
12234         (asinh_test_data): Likewise.
12235         (atan_test_data): Likewise.
12236         (atanh_test_data): Likewise.
12237         (atan2_test_data): Likewise.
12238         (cbrt_test_data): Likewise.
12239         (ceil_test_data): Likewise.
12240         (copysign_test_data): Likewise.
12241         (cos_test_data): Likewise.
12242         (cosh_test_data): Likewise.
12243         (erf_test_data): Likewise.
12244         (erfc_test_data): Likewise.
12245         (exp_test_data): Likewise.
12246         (exp10_test_data): Likewise.
12247         (exp2_test_data): Likewise.
12248         (expm1_test_data): Likewise.
12249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12251 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12253         [BZ #19006]
12254         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12255         to ...
12256         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12257         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12258         to ...
12259         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12260         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12261         to ...
12262         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12263         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12264         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12265         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12266         to ...
12267         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12268         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12269         Moved to ...
12270         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12272         Moved to ...
12273         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12275         to ...
12276         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12278         Moved to ...
12279         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12280         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12281         to ...
12282         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12283         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12284         Removed.
12285         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12286         Likewise.
12287         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12288         Likewise.
12289         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12290         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12291         Likewise.
12292         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12293         Likewise.
12294         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12295         Likewise.
12296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12297         Likewise.
12298         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12299         Likewise.
12300         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12301         Likewise.
12302         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12309         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12310         Likewise.
12311         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12312         Likewise.
12313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12316         Likewise.
12317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12318         Likewise.
12319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12320         Replace ../i486/pthread_cond_timedwait.S with
12321         ../pthread_cond_timedwait.S.
12323 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12325         * math/libm-test.inc (acos_test_data): Refine expectations for
12326         errno and "inexact" exceptions.
12327         (acosh_test_data): Likewise.
12328         (asin_test_data): Likewise.
12329         (asinh_test_data): Likewise.
12330         (atan_test_data): Likewise.
12331         (atanh_test_data): Likewise.
12332         (atan2_test_data): Likewise.
12333         (cbrt_test_data): Likewise.
12334         (ceil_test_data): Likewise.
12335         (copysign_test_data): Likewise.
12336         (cosh_test_data): Likewise.
12337         (erf_test_data): Likewise.
12338         (erfc_test_data): Likewise.
12339         (exp_test_data): Likewise.
12340         (exp10_test_data): Likewise.
12341         (exp2_test_data): Likewise.
12342         (expm1_test_data): Likewise.
12343         (fabs_test_data): Likewise.
12344         (floor_test_data): Likewise.
12345         (fma_test_data): Likewise.
12346         (fmax_test_data): Likewise.
12347         (fmin_test_data): Likewise.
12348         (fmod_test_data): Likewise.
12349         (fpclassify_test_data): Likewise.
12350         (frexp_test_data): Likewise.
12351         (hypot_test_data): Likewise.
12352         (ilogb_test_data): Likewise.
12353         (isgreater_test_data): Likewise.
12354         (isgreaterequal_test_data): Likewise.
12355         (isinf_test_data): Likewise.
12356         (isless_test_data): Likewise.
12357         (islessequal_test_data): Likewise.
12358         (islessgreater_test_data): Likewise.
12359         (isnan_test_data): Likewise.
12360         (isnormal_test_data): Likewise.
12361         (issignaling_test_data): Likewise.
12362         (isunordered_test_data): Likewise.
12363         (j0_test_data): Likewise.
12364         (j1_test_data): Likewise.
12365         (jn_test_data): Likewise.
12366         (lgamma_test_data): Likewise.
12367         (lrint_test_data): Likewise.
12368         (llrint_test_data): Likewise.
12369         (log_test_data): Likewise.
12370         (log10_test_data): Likewise.
12371         (log1p_test_data): Likewise.
12372         (log2_test_data): Likewise.
12373         (logb_test_data): Likewise.
12374         (lround_test_data): Likewise.
12375         (llround_test_data): Likewise.
12376         (modf_test_data): Likewise.
12377         (nearbyint_test_data): Likewise.
12378         (nextafter_test_data): Likewise.
12379         (nexttoward_test_data): Likewise.
12380         (pow_test_data): Likewise.
12381         (remainder_test_data): Likewise.
12382         (remquo_test_data): Likewise.
12383         (rint_test_data): Likewise.
12384         (round_test_data): Likewise.
12385         (signbit_test_data): Likewise.
12386         (sinh_test_data): Likewise.
12387         (sqrt_test_data): Likewise.
12388         (tanh_test_data): Likewise.
12389         (tgamma_test_data): Likewise.
12390         (trunc_test_data): Likewise.
12391         (y0_test_data): Likewise.
12392         (y1_test_data): Likewise.
12393         (yn_test_data): Likewise.
12394         (significand_test_data): Likewise.
12396 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12398         * manual/filesys.texi (Storage Allocation): Document that
12399         posix_fallocate emulation fails when fd is open with O_WRONLY.
12401 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12403         [BZ #19016]
12404         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12405         allow more cases with X^2 + Y^2 >= 0.5.
12406         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12407         normal element in sum instead of special-casing based on values of
12408         arguments.
12409         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12410         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12411         -1 as normal element in sum instead of special-casing based on
12412         values of arguments.
12413         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12414         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12415         (__x2y2m1): Update comment.
12416         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12417         as normal element in sum instead of special-casing based on values
12418         of arguments.
12419         * math/s_clog.c (__clog): Handle more cases using log1p without
12420         hypot.
12421         * math/s_clog10.c (__clog10): Likewise.
12422         * math/s_clog10f.c (__clog10f): Likewise.
12423         * math/s_clog10l.c (__clog10l): Likewise.
12424         * math/s_clogf.c (__clogf): Likewise.
12425         * math/s_clogl.c (__clogl): Likewise.
12426         * math/auto-libm-test-in: Add more tests of clog and clog10.
12427         * math/auto-libm-test-out: Regenerated.
12428         * sysdeps/i386/fpu/libm-test-ulps: Update.
12429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12431 2015-09-28  Martin Sebor  <msebor@redhat.com>
12433         [BZ #18969]
12434         * string/Makefile (LOCALES): Define.
12435         (gen-locales.mk): Include.
12436         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12437         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12438         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12439         on setlocale failure.
12441 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12443         [BZ #18985]
12444         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12445         (__strftime_internal): Likewise.
12446         * time/tst-strftime.c (do_bz18985): New test.
12447         (do_test): Call it.
12449 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12451         [BZ #18956]
12452         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12453         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12454         extracting high part.
12455         * math/auto-libm-test-in: Add another test of pow.
12456         * math/auto-libm-test-out: Regenerated.
12457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12459 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12461         [BZ #18825]
12462         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12463         New macro.
12464         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12465         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12466         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12467         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12468         DBL_NARROW_EVAL, reloading the PIC register as needed.
12469         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12470         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12471         FLT_NARROW_EVAL.  Use separate return path for case when first
12472         argument is NaN.
12473         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12474         DEFINE_LDBL_MIN.
12475         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12476         PIC register.
12477         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12478         math_check_force_underflow_nonneg.
12479         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12480         underflow for subnormal result.
12481         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12482         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12483         math_check_force_underflow_nonneg.
12484         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12485         math_check_force_underflow.
12486         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12487         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12488         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12489         DEFINE_LDBL_MIN.
12490         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12491         * math/auto-libm-test-in: Add more tests of pow.
12492         * math/auto-libm-test-out: Regenerated.
12494 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12496         * nss/bug17079.c (init_test_items): Add diagnostic for
12497         inconsistent entries.
12498         (test_buffer_size): Skip inconsistent entries.
12500 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12502         [BZ #13304]
12503         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12504         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12505         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12507         [BZ #13304]
12508         * sysdeps/microblaze/s_fma.c: New file.
12509         * sysdeps/microblaze/s_fmaf.c: Likewise.
12510         * sysdeps/microblaze/sfp-machine.h: Likewise.
12512 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12514         [BZ #17250]
12515         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12516         member.
12518 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12520         [BZ #18803]
12521         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12522         (MO): New macro.
12523         (__ieee754_hypot) [PIC]: Load PIC register.
12524         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12525         DBL_NARROW_EVAL.
12526         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12527         math_check_force_underflow_nonneg in case where result might be
12528         tiny.
12529         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12530         Likewise.
12531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12532         Likewise.
12533         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12534         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12535         * math/auto-libm-test-in: Add more tests of hypot.
12536         * math/auto-libm-test-out: Regenerated.
12538 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12540         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12542 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12544         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12545         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12546         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12547         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12548         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12549         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12550         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12552         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12553         LOAD_PIC_REG.
12555         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12556         (FLT_CHECK_FORCE_UFLOW): Likewise.
12557         (DBL_CHECK_FORCE_UFLOW): Likewise.
12558         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12559         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12560         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12561         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12562         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12563         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12564         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12565         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12566         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12567         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12568         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12569         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12570         (flt_min): Replace with use of DEFINE_FLT_MIN.
12571         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12572         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12573         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12574         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12575         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12576         (flt_min): Replace with use of DEFINE_FLT_MIN.
12577         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12578         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12579         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12580         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12581         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12582         (flt_min): Replace with use of DEFINE_FLT_MIN.
12583         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12584         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12585         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12586         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12587         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12588         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12589         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12590         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12591         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12592         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12593         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12594         (flt_min): Replace with use of DEFINE_FLT_MIN.
12595         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12596         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12598         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12599         main computation.
12600         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12601         (flt_min): Replace with use of DEFINE_FLT_MIN.
12602         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12603         main computation.
12604         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12605         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12606         (MO): New macro.
12607         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12608         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12609         (flt_min): Replace with use of DEFINE_FLT_MIN.
12610         (MO): New macro.
12611         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12612         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12613         (__log1pl): Use MO.
12615         [BZ #19003]
12616         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12617         $(config-cflags-nofma).
12619 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12621         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12623 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12625         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12626         (TWO127): Likewise.
12628         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12629         (min_of_type): Likewise.
12630         (math_check_force_underflow): Likewise.
12631         (math_check_force_underflow_nonneg): Likewise.
12632         (math_check_force_underflow_complex): Likewise.
12633         * math/e_exp2l.c (__ieee754_exp2l): Use
12634         math_check_force_underflow_nonneg.
12635         * math/k_casinh.c (__kernel_casinh): Likewise.
12636         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12637         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12638         * math/s_catan.c (__catan): Use
12639         math_check_force_underflow_complex.
12640         * math/s_catanf.c (__catanf): Likewise.
12641         * math/s_catanh.c (__catanh): Likewise.
12642         * math/s_catanhf.c (__catanhf): Likewise.
12643         * math/s_catanhl.c (__catanhl): Likewise.
12644         * math/s_catanl.c (__catanl): Likewise.
12645         * math/s_ccosh.c (__ccosh): Likewise.
12646         * math/s_ccoshf.c (__ccoshf): Likewise.
12647         * math/s_ccoshl.c (__ccoshl): Likewise.
12648         * math/s_cexp.c (__cexp): Likewise.
12649         * math/s_cexpf.c (__cexpf): Likewise.
12650         * math/s_cexpl.c (__cexpl): Likewise.
12651         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12652         * math/s_clog10.c (__clog10): Likewise.
12653         * math/s_clog10f.c (__clog10f): Likewise.
12654         * math/s_clog10l.c (__clog10l): Likewise.
12655         * math/s_clogf.c (__clogf): Likewise.
12656         * math/s_clogl.c (__clogl): Likewise.
12657         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12658         * math/s_csinf.c (__csinf): Likewise.
12659         * math/s_csinh.c (__csinh): Likewise.
12660         * math/s_csinhf.c (__csinhf): Likewise.
12661         * math/s_csinhl.c (__csinhl): Likewise.
12662         * math/s_csinl.c (__csinl): Likewise.
12663         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12664         * math/s_csqrtf.c (__csqrtf): Likewise.
12665         * math/s_csqrtl.c (__csqrtl): Likewise.
12666         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12667         * math/s_ctanf.c (__ctanf): Likewise.
12668         * math/s_ctanh.c (__ctanh): Likewise.
12669         * math/s_ctanhf.c (__ctanhf): Likewise.
12670         * math/s_ctanhl.c (__ctanhl): Likewise.
12671         * math/s_ctanl.c (__ctanl): Likewise.
12672         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12673         instead of volatile.
12674         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12675         math_check_force_underflow.
12676         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12677         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12678         volatile when forcing underflow.
12679         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12680         math_check_force_underflow_nonneg.
12681         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12682         Likewise.
12683         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12684         math_check_force_underflow.
12685         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12686         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12687         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12688         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12689         math_check_force_underflow_nonneg.
12690         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12691         math_check_force_underflow.
12692         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12694         instead of volatile.
12695         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12696         math_check_force_underflow.
12697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12698         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12699         math_check_force_underflow_nonneg.
12700         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12701         math_check_force_underflow.
12702         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12703         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12704         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12705         math_check_force_underflow_nonneg.
12706         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12707         Likewise.
12708         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12709         math_check_force_underflow.
12710         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12711         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12712         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12713         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12714         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12715         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12716         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12717         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12718         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12719         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12720         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12721         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12722         Likewise.
12723         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12724         math_check_force_underflow_nonneg.
12725         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12726         Likewise.
12727         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12728         math_check_force_underflow.
12729         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12730         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12731         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12732         Likewise.
12733         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12734         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12735         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12736         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12737         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12738         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12740         instead of volatile.
12741         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12742         math_check_force_underflow.
12743         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12745         math_check_force_underflow.
12746         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12747         Likewise.
12748         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12749         Use math_check_force_underflow_nonneg.
12750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12751         math_check_force_underflow.
12752         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12753         Likewise.
12754         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12755         Likewise.
12756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12757         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12758         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12759         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12761         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12762         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12763         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12764         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12765         math_check_force_underflow_nonneg.
12766         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12767         math_check_force_underflow.
12768         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12769         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12770         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12771         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12772         math_check_force_underflow_nonneg.
12773         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12774         math_check_force_underflow.
12775         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12777         instead of volatile.
12778         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12779         math_check_force_underflow.
12781         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12782         * stdlib/strtod_l.c: Include <math_private.h>.
12783         (overflow_value): Use math_narrow_eval.
12784         (underflow_value): Likewise.
12785         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12786         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12787         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12788         (__ieee754_gamma_r): Likewise.
12789         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12790         Likewise.
12791         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12792         Likewise.
12793         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12794         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12795         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12796         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12797         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12798         (__ieee754_gammaf_r): Likewise.
12799         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12800         Likewise.
12801         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12802         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12803         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12804         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12805         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12806         volatile.
12807         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12808         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12809         math_narrow_eval.
12810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12811         Likewise.
12812         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12813         Likewise.
12814         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12815         Likewise.
12816         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12817         volatile.
12818         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12820         math_narrow_eval.
12821         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12822         Likewise.
12823         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12824         Likewise.
12826 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12828         * nptl/Versions: Remove ignored symbols.
12830 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12832         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12833         * nss/Makefile (tests): Update.
12835 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12837         * nss/bug18287.c: New file.
12838         * nss/Makefile (tests): Add bug18287.
12840 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12842         * mach/Versions (__mach_host_self_): Add symbol.
12844 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12846         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12847         vm_page_size.
12849 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12851         Really fix sysdeps/i386/fpu/s_scalbn.S build
12853         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12854         (libc: GLIBC_2_22): Remove unused version set.
12856 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12858         * config.make.in (enable-timezone-tools): New variable.
12859         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12860         (enable_timezone_tools): Export to generated files.
12861         * configure: Regenerate.
12862         * INSTALL: Regenerate.
12863         * manual/install.texi (--disable-timezone-tools): Document new flag.
12864         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12865         ifeq ($(enable-timezone-tools),yes) check.
12867 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12869         * timezone/Makefile: Revert previous change.
12871         [BZ #18980]
12872         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12873         (DEFINE_DBL_MIN): Likewise.
12874         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12875         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12876         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12877         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12878         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12879         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12880         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12881         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12882         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12883         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12884         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12885         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12886         (flt_min): Replace with use of DEFINE_FLT_MIN.
12887         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12888         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12889         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12890         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12891         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12892         (flt_min): Replace with use of DEFINE_FLT_MIN.
12893         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12894         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12895         (flt_min): Replace with use of DEFINE_FLT_MIN.
12896         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12897         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12898         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12899         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12900         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12901         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12902         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12903         (__ieee754_pow): Use DBL_NARROW_EVAL.
12904         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12905         (__ieee754_powf): Use FLT_NARROW_EVAL.
12906         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12907         (__ieee754_expf_sse2): Convert double-precision result to single
12908         precision.
12909         * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12913         * timezone/Makefile: Ignore unused variable errors due to private.h
12914         (time_t_min) and (time_t_max).
12915         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12916         Likewise.
12918 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12920         [BZ #18981]
12921         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12922         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12923         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12924         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12925         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12926         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12927         (__scalbn): Use DBL_NARROW_EVAL.
12928         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12929         (__scalbnf): Use FLT_NARROW_EVAL.
12931 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12933         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12934         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12935         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12936         * stdio-common/printf_fp.c (___printf_fp):
12937         Use signbit to get the sign. Use isinf macro to allow inlining.
12938         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12939         * stdio-common/printf_size.c (__printf_size): Likewise.
12941 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12943         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12945 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12947         [BZ #18980]
12948         * sysdeps/generic/math_private.h: Include <float.h>.
12949         (math_narrow_eval): New macro.
12950         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12951         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12952         math_narrow_eval on overflowing return value.
12953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12954         Likewise.
12955         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12956         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12958         Likewise.
12959         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12961 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12963         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12964         * math/Makefile: Remove isinf_ns.c.
12965         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12966         * math/multc3.c (__multc3): Likewise.
12967         * math/s_casin.c (__casin): Likewise.
12968         * math/s_casinf.c (__casinf): Likewise.
12969         * math/s_casinl.c (__casinl): Likewise.
12970         * math/s_cproj.c (__cproj): Likewise.
12971         * math/s_cprojf.c (__cprojf): Likewise.
12972         * math/s_cprojl.c (__cprofl): Likewise.
12973         * math/s_ctan.c (__ctan): Likewise.
12974         * math/s_ctanf.c (__ctanf): Likewise.
12975         * math/s_ctanh.c (__ctanh): Likewise.
12976         * math/s_ctanhf.c (__ctanhf): Likewise.
12977         * math/s_ctanhl.c (__ctanhl): Likewise.
12978         * math/s_ctanl.c (__ctanl): Likewise.
12979         * math/w_fmod.c (__fmod): Likewise.
12980         * math/w_fmodf.c (__fmodf): Likewise.
12981         * math/w_fmodl.c (_fmodl): Likewise.
12982         * math/w_remainder.c (__remainder): Likewise.
12983         * math/w_remainderf.c (__remainderf): Likewise.
12984         * math/w_remainderl.c (__remainderl): Likewise.
12985         * math/w_scalb.c (__scalb): Likewise.
12986         * math/w_scalbf.c (__scalbf): Likewise.
12987         * math/w_scalbl.c (__scalbl): Likewise.
12988         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12989         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12990         with isinf.
12991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12993         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12994         __isinf_nsf with isinf.
12995         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12996         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12997         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12998         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12999         with isinf.
13000         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13001         __isinf_nsl with isinf.
13002         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13003         with isinf.
13004         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13005         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13006         __isinf_nsl with isinf.
13007         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13008         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13009         with isinf.
13011 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13013         * resolv/base64.c (rcsid): Remove unused static.
13014         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13015         static.  (tqpi1): Likewise.
13016         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13017         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13018         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13019         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13021         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13022         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13023         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13024         Likewise.
13026 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13028         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13029         <nptl/pthreadP.h>.
13030         (_longjmp_unwind): Use __libc_ptf_call.
13031         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13033 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13035         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13036         * sysdeps/arm/__longjmp.S: Likewise.
13038 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13040         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13041         Use __builtin_signbit.
13042         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13043         Use __builtin_signbitf.
13044         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13045         Use __builtin_signbitl.
13046         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13047         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13049 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13051         [BZ #15367]
13052         [BZ #17441]
13054         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13055         * math/math.h (fpclassify): Use __builtin_fpclassify when
13056         available.  (signbit): Use __builtin_signbit(f/l).
13057         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13058         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13059         (isinf): Use __builtin_isinf_sign.
13061 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13063         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13064         * benchtests/bench-math-inlines.c: New benchmark.
13065         * benchtests/bench-util.h: New file.
13066         * benchtests/bench-util.c: New file.
13067         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13069 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13071         * elf/tst-dlmopen1.c: Define TEST_SO.
13072         (do_test): Use TEST_SO.
13074         * elf/dl-load.c: Include libc-internal.h.
13075         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13077 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13079         [BZ #17887]
13080         * time/strptime_l.c (__strptime_internal): Make %z accept
13081         [+-]HH:MM time zones.
13083 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13085         [BZ #17886]
13086         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13087         valid time zone.
13089 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13091         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13092         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13094         (__ASSUME_FDATASYNC): Delete.
13096 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13098         * conform/linknamespace.pl: Require weak undefined symbols to be
13099         in the standard namespace.
13100         (%strong_syms): Rename to %seen_syms.
13101         (%strong_seen): Rename to %seen_where.
13103 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13105         [BZ #18970]
13106         * misc/error.c (error): Replace pthread_setcancelstate with
13107         __pthread_setcancelstate.
13108         (error_at_line): Likewise.
13109         * posix/wordexp.c (parse_comm): Likewise.
13110         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13111         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13112         (__pthread_setcancelstate): This.
13113         (pthread_setcancelstate): Add an alias.
13114         * nptl/nptl-init.c (pthread_functions): Replace
13115         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13116         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13117         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13118         hidden_proto.
13119         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13120         it with hidden_def.
13121         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13122         (pthread_setcancelstate): Renamed to ...
13123         (__pthread_setcancelstate): This.
13124         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13125         __libc_ptf_call with __pthread_setcancelstate.
13127 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13128             Andreas Schwab  <schwab@suse.de>
13130         [BZ #17118]
13131         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13132         result when imaginary part of argument is infinite using sine and
13133         cosine.
13134         * math/s_ctanf.c (__ctanf): Likewise.
13135         * math/s_ctanl.c (__ctanl): Likewise.
13136         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13137         of result when real part of argument is infinite using sine and
13138         cosine.
13139         * math/s_ctanhf.c (__ctanhf): Likewise.
13140         * math/s_ctanhl.c (__ctanhl): Likewise.
13141         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13142         (ctanh_test_data): Add more tests of ctanh.
13144 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13146         [BZ #15384]
13147         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13148         bit-mask as in subtraction.
13149         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13150         Likewise.
13151         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13152         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13153         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13155         [BZ #18951]
13156         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13157         underflow exception for small results.
13158         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13159         Likewise.
13160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13161         Likewise.
13162         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13163         Likewise.
13164         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13165         Likewise.
13166         * math/auto-libm-test-in: Add more tests of tgamma.
13167         * math/auto-libm-test-out: Regenerated.
13169 2015-09-17  Andreas Schwab  <schwab@suse.de>
13171         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13173 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13175         [BZ #18977]
13176         * math/bits/mathcalls.h
13177         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13178         not declare.
13179         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13180         Likewise.
13181         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13182         Likewise.
13183         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13184         Likewise.
13185         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13186         Likewise.
13187         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13188         Likewise.
13189         * conform/data/math.h-data
13190         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13191         function.
13192         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13196         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13198         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13199         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13200         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13201         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13202         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13204         [BZ #6803]
13205         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13206         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13207         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13208         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13209         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13210         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13211         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13212         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13213         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13215         Likewise.
13216         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13217         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13219         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13220         long_double_symbol calls.
13221         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13222         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13223         strong alias of __ldexpl.
13224         (scalbnl): Define using long_double_symbol.
13225         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13226         Remove alias.
13227         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13228         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13229         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13230         (scalbln_test_data): Add more errno expectations.
13232 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13234         Cache the host port like we cache the task port.  This way we do not
13235         need to call the kernel just to get the port.  Furthermore, we no
13236         longer increase the reference count on every invocation of
13237         `mach_host_self'.
13239         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13240         Protect declarations against the macro expansion.
13241         * mach/mach_init.c (__mach_host_self_): New variable.
13242         (mach_init): Initialize `__mach_host_self_'.
13243         * mach/mach_init.h (__mach_host_self_): New declaration.
13244         (__mach_host_self, mach_host_self): New macros.
13245         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13246         Release reference.
13248 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13250         [BZ #4404]
13251         * po/de.po: Update from Translation Project.
13253         [BZ #16415]
13254         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13255         (__expm1l): Remove code to handle positive infinity and overflow.
13256         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13257         variable.
13258         (__expm1l): Remove code to handle positive infinity and overflow.
13260 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13261             Paul Pluzhnikov  <ppluzhnikov@google.com>
13263         [BZ #18872]
13264         * stdio-common/Makefile (tst-printf-bz18872): New test.
13265         (tst-printf-bz18872-mem.out): Likewise.
13266         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13267         * stdio-common/vfprintf.c: Fix memory leaks.
13269 2015-09-16  Andreas Schwab  <schwab@suse.de>
13271         [BZ #17244]
13272         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13273         Remove extra va_start/va_end calls.
13275         [BZ #17243]
13276         * posix/execl.c (execl): Add missing va_end.
13277         * posix/execle.c (execle): Likewise.
13278         * posix/execlp.c (execlp): Likewise.
13280 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13282         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13283         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13285 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13287         [BZ #18967]
13288         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13289         undefine around includes of <bits/mathcalls.h>.
13290         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13291         not declare function.
13292         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13293         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13294         (scalb): Likewise.
13295         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13296         not define macro.
13297         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13298         variable.
13299         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13300         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13301         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13303         [BZ #18857]
13304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13305         return non-finite argument without doing ordered comparisons on
13306         it.
13308         [BZ #16296]
13309         * math/fenv.h (fegetround): Use __attribute_pure__.
13310         * include/fenv.h (__fegetround): Likewise.
13312         [BZ #18595]
13313         * math/s_ctan.c (__ctan): Force underflow exception for results
13314         whose real or imaginary part has small absolute value.
13315         * math/s_ctanf.c (__ctanf): Likewise.
13316         * math/s_ctanh.c (__ctanh): Likewise.
13317         * math/s_ctanhf.c (__ctanhf): Likewise.
13318         * math/s_ctanhl.c (__ctanhl): Likewise.
13319         * math/s_ctanl.c (__ctanl): Likewise.
13320         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13321         and ctanh.  Add more tests of ctan and ctanh.
13323         [BZ #15918]
13324         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13325         handling of cases where one argument is an infinity.
13327         [BZ #18875]
13328         [BZ #18966]
13329         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13330         (MO): New macro.
13331         (__ieee754_exp10): For small results, force underflow exception
13332         and remove excess range and precision from return value.
13333         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13334         (MO): New macro.
13335         (__ieee754_exp10f): For small results, force underflow exception
13336         and remove excess range and precision from return value.
13337         * math/auto-libm-test-in: Add more tests of exp10.
13338         * math/auto-libm-test-out: Regenerated.
13340 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13342         [BZ #18875]
13343         [BZ #18961]
13344         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13345         (MO): New macro.
13346         (__ieee754_exp): For small results, force underflow exception and
13347         remove excess range and precision from return value.
13348         (__exp_finite): Likewise.
13349         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13350         (MO): New macro.
13351         (__ieee754_expf): For small results, force underflow exception and
13352         remove excess range and precision from return value.
13353         (__expf_finite): Likewise.
13354         * math/auto-libm-test-in: Add more tests of exp.
13355         * math/auto-libm-test-out: Regenerated.
13357         [BZ #16521]
13358         [BZ #18875]
13359         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13360         small results.
13361         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13362         (MO): New macro.
13363         (__ieee754_exp2): For small results, force underflow exception and
13364         remove excess range and precision from return value.
13365         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13366         (MO): New macro.
13367         (__ieee754_exp2f): For small results, force underflow exception
13368         and remove excess range and precision from return value.
13369         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13370         (MO): New macro.
13371         (__ieee754_exp2l): Force underflow exception for small results.
13372         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13373         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13374         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13375         (MO): New macro.
13376         (__ieee754_exp2l): Force underflow exception for small results.
13377         * math/auto-libm-test-in: Add more tests or exp2.
13378         * math/auto-libm-test-out: Regenerated.
13380 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13382         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13384         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13385         /dev/null.
13387 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13389         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13390         io fs process)): Drop spurious backslash.
13392 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13395         Use sysinfo system call instead of parsing /proc/meminfo.
13396         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13397         Likewise.
13399 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13401         [BZ #16985]
13402         * programs/localedef.c (main): Display argv[remaining] when
13403         output_path is NULL.
13405 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13407         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13408         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13409         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13410         tanh.
13411         * math/auto-libm-test-out: Regenerated.
13412         * sysdeps/i386/fpu/libm-test-ulps: Update.
13413         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13414         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13417 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13419         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13420         Use 'override' keyword to freeze the value here, preventing
13421         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13423 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13425         [BZ #14912]
13426         * sysdeps/aarch64/bits/atomic.h: Move to ...
13427         * sysdeps/aarch64/atomic-machine.h: ...here.
13428         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13429         _AARCH64_ATOMIC_MACHINE_H.
13430         * sysdeps/alpha/bits/atomic.h: Move to ...
13431         * sysdeps/alpha/atomic-machine.h: ...here.
13432         * sysdeps/arm/bits/atomic.h: Move to ...
13433         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13434         * bits/atomic.h: Move to ...
13435         * sysdeps/generic/atomic-machine.h: ...here.
13436         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13437         * sysdeps/i386/bits/atomic.h: Move to ...
13438         * sysdeps/i386/atomic-machine.h: ...here.
13439         * sysdeps/ia64/bits/atomic.h: Move to ...
13440         * sysdeps/ia64/atomic-machine.h: ...here.
13441         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13442         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13443         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13444         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13445         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13446         * sysdeps/microblaze/bits/atomic.h: Move to ...
13447         * sysdeps/microblaze/atomic-machine.h: ...here.
13448         * sysdeps/mips/bits/atomic.h: Move to ...
13449         * sysdeps/mips/atomic-machine.h: ...here.
13450         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13451         * sysdeps/powerpc/bits/atomic.h: Move to ...
13452         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13453         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13454         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13455         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13456         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13457         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13458         <atomic-machine.h> instead of <bits/atomic.h>.
13459         * sysdeps/s390/bits/atomic.h: Move to ...
13460         * sysdeps/s390/atomic-machine.h: ...here.
13461         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13462         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13463         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13464         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13465         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13466         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13467         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13468         * sysdeps/tile/bits/atomic.h: Move to ...
13469         * sysdeps/tile/atomic-machine.h: ...here.
13470         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13471         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13472         <sysdeps/tile/atomic-machine.h> instead of
13473         <sysdeps/tile/bits/atomic.h>.
13474         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13475         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13476         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13477         <sysdeps/tile/atomic-machine.h> instead of
13478         <sysdeps/tile/bits/atomic.h>.
13479         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13480         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13481         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13482         <sysdeps/arm/atomic-machine.h> instead of
13483         <sysdeps/arm/bits/atomic.h>.
13484         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13485         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13486         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13487         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13488         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13489         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13490         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13491         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13492         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13493         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13494         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13495         * sysdeps/x86_64/bits/atomic.h: Move to ...
13496         * sysdeps/x86_64/atomic-machine.h: ...here.
13497         * include/atomic.h: Include <atomic-machine.h> instead of
13498         <bits/atomic.h>.
13500         * sysdeps/mips/mips32/libm-test-ulps: Update.
13501         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13503         [BZ #18952]
13504         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13505         not convert non-integer negative arguments to int to determine the
13506         value of signgam.
13507         * math/auto-libm-test-in: Add more tests of lgamma.
13508         * math/auto-libm-test-out: Regenerated.
13510         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13511         cosh, csqrt, erfc, expm1 and lgamma.
13512         * math/auto-libm-test-out: Regenerated.
13513         * sysdeps/i386/fpu/libm-test-ulps: Update.
13514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13518         [BZ #2542]
13519         [BZ #2543]
13520         [BZ #2558]
13521         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13522         __lgamma_neg for arguments from -28.0 to -2.0.
13523         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13524         __lgamma_negf for arguments from -15.0 to -2.0.
13525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13526         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13527         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13528         Call __lgamma_negl for arguments from -33.0 to -2.0.
13529         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13530         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13531         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13532         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13533         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13534         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13535         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13536         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13537         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13538         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13539         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13540         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13541         (__lgamma_neg): Likewise.
13542         (__lgamma_negl): Likewise.
13543         (__lgamma_product): Likewise.
13544         (__lgamma_productl): Likewise.
13545         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13546         * math/auto-libm-test-in: Add more tests of lgamma.
13547         * math/auto-libm-test-out: Regenerated.
13548         * sysdeps/i386/fpu/libm-test-ulps: Update.
13549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13551 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13553         [BZ #18675]
13554         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13556 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13558         [BZ #14912]
13559         * bits/libc-lock.h: Move to ...
13560         * sysdeps/generic/libc-lock.h: ...here.
13561         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13562         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13563         * sysdeps/mach/hurd/libc-lock.h: ...here.
13564         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13565         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13566         * sysdeps/mach/bits/libc-lock.h: Move to ...
13567         * sysdeps/mach/libc-lock.h: ...here.
13568         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13569         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13570         * sysdeps/nptl/libc-lock.h: ...here.
13571         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13572         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13573         * sysdeps/nptl/libc-lockP.h: ...here.
13574         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13575         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13576         <bits/libc-lock.h>.
13577         * dirent/scandir-tail.c: Likewise.
13578         * dlfcn/dlerror.c: Likewise.
13579         * elf/dl-close.c: Likewise.
13580         * elf/dl-iteratephdr.c: Likewise.
13581         * elf/dl-lookup.c: Likewise.
13582         * elf/dl-open.c: Likewise.
13583         * elf/dl-support.c: Likewise.
13584         * elf/dl-writev.h: Likewise.
13585         * elf/rtld.c: Likewise.
13586         * grp/fgetgrent.c: Likewise.
13587         * gshadow/fgetsgent.c: Likewise.
13588         * gshadow/sgetsgent.c: Likewise.
13589         * iconv/gconv_conf.c: Likewise.
13590         * iconv/gconv_db.c: Likewise.
13591         * iconv/gconv_dl.c: Likewise.
13592         * iconv/gconv_int.h: Likewise.
13593         * iconv/gconv_trans.c: Likewise.
13594         * include/link.h: Likewise.
13595         * inet/getnameinfo.c: Likewise.
13596         * inet/getnetgrent.c: Likewise.
13597         * inet/getnetgrent_r.c: Likewise.
13598         * intl/bindtextdom.c: Likewise.
13599         * intl/dcigettext.c: Likewise.
13600         * intl/finddomain.c: Likewise.
13601         * intl/gettextP.h: Likewise.
13602         * intl/loadmsgcat.c: Likewise.
13603         * intl/localealias.c: Likewise.
13604         * intl/textdomain.c: Likewise.
13605         * libidn/idn-stub.c: Likewise.
13606         * libio/libioP.h: Likewise.
13607         * locale/duplocale.c: Likewise.
13608         * locale/freelocale.c: Likewise.
13609         * locale/newlocale.c: Likewise.
13610         * locale/setlocale.c: Likewise.
13611         * login/getutent_r.c: Likewise.
13612         * login/getutid_r.c: Likewise.
13613         * login/getutline_r.c: Likewise.
13614         * login/utmp-private.h: Likewise.
13615         * login/utmpname.c: Likewise.
13616         * malloc/mtrace.c: Likewise.
13617         * misc/efgcvt.c: Likewise.
13618         * misc/error.c: Likewise.
13619         * misc/fstab.c: Likewise.
13620         * misc/getpass.c: Likewise.
13621         * misc/mntent.c: Likewise.
13622         * misc/syslog.c: Likewise.
13623         * nis/nis_call.c: Likewise.
13624         * nis/nis_callback.c: Likewise.
13625         * nis/nss-default.c: Likewise.
13626         * nis/nss_compat/compat-grp.c: Likewise.
13627         * nis/nss_compat/compat-initgroups.c: Likewise.
13628         * nis/nss_compat/compat-pwd.c: Likewise.
13629         * nis/nss_compat/compat-spwd.c: Likewise.
13630         * nis/nss_nis/nis-alias.c: Likewise.
13631         * nis/nss_nis/nis-ethers.c: Likewise.
13632         * nis/nss_nis/nis-grp.c: Likewise.
13633         * nis/nss_nis/nis-hosts.c: Likewise.
13634         * nis/nss_nis/nis-network.c: Likewise.
13635         * nis/nss_nis/nis-proto.c: Likewise.
13636         * nis/nss_nis/nis-pwd.c: Likewise.
13637         * nis/nss_nis/nis-rpc.c: Likewise.
13638         * nis/nss_nis/nis-service.c: Likewise.
13639         * nis/nss_nis/nis-spwd.c: Likewise.
13640         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13641         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13642         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13643         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13644         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13645         * nis/nss_nisplus/nisplus-network.c: Likewise.
13646         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13647         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13648         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13649         * nis/nss_nisplus/nisplus-service.c: Likewise.
13650         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13651         * nis/ypclnt.c: Likewise.
13652         * nptl/libc_pthread_init.c: Likewise.
13653         * nss/getXXbyYY.c: Likewise.
13654         * nss/getXXent.c: Likewise.
13655         * nss/getXXent_r.c: Likewise.
13656         * nss/nss_db/db-XXX.c: Likewise.
13657         * nss/nss_db/db-netgrp.c: Likewise.
13658         * nss/nss_db/nss_db.h: Likewise.
13659         * nss/nss_files/files-XXX.c: Likewise.
13660         * nss/nss_files/files-alias.c: Likewise.
13661         * nss/nsswitch.c: Likewise.
13662         * posix/regex_internal.h: Likewise.
13663         * posix/wordexp.c: Likewise.
13664         * pwd/fgetpwent.c: Likewise.
13665         * resolv/res_hconf.c: Likewise.
13666         * resolv/res_libc.c: Likewise.
13667         * shadow/fgetspent.c: Likewise.
13668         * shadow/lckpwdf.c: Likewise.
13669         * shadow/sgetspent.c: Likewise.
13670         * socket/opensock.c: Likewise.
13671         * stdio-common/reg-modifier.c: Likewise.
13672         * stdio-common/reg-printf.c: Likewise.
13673         * stdio-common/reg-type.c: Likewise.
13674         * stdio-common/vfprintf.c: Likewise.
13675         * stdio-common/vfscanf.c: Likewise.
13676         * stdlib/abort.c: Likewise.
13677         * stdlib/cxa_atexit.c: Likewise.
13678         * stdlib/fmtmsg.c: Likewise.
13679         * stdlib/random.c: Likewise.
13680         * stdlib/setenv.c: Likewise.
13681         * string/strsignal.c: Likewise.
13682         * sunrpc/auth_none.c: Likewise.
13683         * sunrpc/bindrsvprt.c: Likewise.
13684         * sunrpc/create_xid.c: Likewise.
13685         * sunrpc/key_call.c: Likewise.
13686         * sunrpc/rpc_thread.c: Likewise.
13687         * sysdeps/arm/backtrace.c: Likewise.
13688         * sysdeps/generic/ldsodefs.h: Likewise.
13689         * sysdeps/generic/stdio-lock.h: Likewise.
13690         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13691         * sysdeps/i386/backtrace.c: Likewise.
13692         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13693         * sysdeps/m68k/backtrace.c: Likewise.
13694         * sysdeps/mach/hurd/cthreads.c: Likewise.
13695         * sysdeps/mach/hurd/dirstream.h: Likewise.
13696         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13697         * sysdeps/nptl/malloc-machine.h: Likewise.
13698         * sysdeps/nptl/stdio-lock.h: Likewise.
13699         * sysdeps/posix/dirstream.h: Likewise.
13700         * sysdeps/posix/getaddrinfo.c: Likewise.
13701         * sysdeps/posix/system.c: Likewise.
13702         * sysdeps/pthread/aio_suspend.c: Likewise.
13703         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13704         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13705         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13706         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13707         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13708         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13709         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13710         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13711         * sysdeps/unix/sysv/linux/system.c: Likewise.
13712         * sysdeps/x86_64/backtrace.c: Likewise.
13713         * time/alt_digit.c: Likewise.
13714         * time/era.c: Likewise.
13715         * time/tzset.c: Likewise.
13716         * wcsmbs/wcsmbsload.c: Likewise.
13717         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13718         instead of <bits/libc-lock.h> in comment.
13720 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13722         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13723         Only use .set mips2 if the current ISA is below mips2.
13724         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13725         Likewise.
13726         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13727         mips32r2 if the current ISA is below mips32r2.
13728         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13729         (TLS_IE): Updated to use the TLD_RDHWR macro.
13730         (TLS_LE): Likewise.
13731         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13732         __ASSEMBLER__ condition.
13734 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13736         Fix parallel build of before-compile targets.
13738         * sysdeps/mach/Makefile ($(patsubst
13739         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13740         mach-before-compile target.
13741         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13742         io fs process)): Move rule to dedicated hurd-before-compile target.
13744 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13746         Fix rules generating headers in hurd/ and mach/ when initial make call
13747         has subdir= explicitly set.
13749         * sysdeps/mach/Makefile ($(patsubst
13750         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13751         calling $(MAKE).
13752         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13753         io fs process)): Force subdir to hurd when calling $(MAKE).
13754         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13755         subdir to mach when calling $(MAKE).
13757 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13759         Check sysheaders when looking for Mach and Hurd headers
13761         * sysdeps/mach/configure.ac: Add sysheaders check.
13762         * sysdeps/mach/configure: Regenerate.
13763         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13764         * sysdeps/mach/hurd/configure: Regenerate.
13766 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13768         [BZ #18921]
13769         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13770         Fix inverted sense of test of 'o_directory_works' value.
13771         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13772         Bernhard Voelker <mail@bernhard-voelker.de>.
13774 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13776         [BZ #14912]
13777         * bits/linkmap.h: Move to ...
13778         * sysdeps/generic/linkmap.h: ...here.
13779         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13780         * sysdeps/aarch64/linkmap.h: ...here.
13781         * sysdeps/arm/bits/linkmap.h: Move to ...
13782         * sysdeps/arm/linkmap.h: ...here.
13783         * sysdeps/hppa/bits/linkmap.h: Move to ...
13784         * sysdeps/hppa/linkmap.h: ...here.
13785         * sysdeps/ia64/bits/linkmap.h: Move to ...
13786         * sysdeps/ia64/linkmap.h: ...here.
13787         * sysdeps/mips/bits/linkmap.h: Move to ...
13788         * sysdeps/mips/linkmap.h: ...here.
13789         * sysdeps/s390/bits/linkmap.h: Move to ...
13790         * sysdeps/s390/linkmap.h: ...here.
13791         * sysdeps/sh/bits/linkmap.h: Move to ...
13792         * sysdeps/sh/linkmap.h: ...here.
13793         * sysdeps/x86/bits/linkmap.h: Move to ...
13794         * sysdeps/x86/linkmap.h: ...here.
13795         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13797 2015-09-04  Andreas Schwab  <schwab@suse.de>
13799         [BZ #18635]
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13801         (__makecontext): Terminate FDE before return label.
13802         (__novec_makecontext): Likewise.
13804 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13806         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13807         first member of struct sv in syscall macro.
13809 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13811         [BZ #14912]
13812         * bits/stdio-lock.h: Move to ...
13813         * sysdeps/generic/stdio-lock.h: ...here.
13814         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13815         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13816         * sysdeps/nptl/stdio-lock.h: ...here.
13817         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13818         * include/libio.h: Include <stdio-lock.h> instead of
13819         <bits/stdio-lock.h>.
13820         * sysdeps/nptl/fork.c: Likewise.
13821         * sysdeps/pthread/flockfile.c: Likewise.
13822         * sysdeps/pthread/ftrylockfile.c: Likewise.
13823         * sysdeps/pthread/funlockfile.c: Likewise.
13825         [BZ #14912]
13826         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13827         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13828         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13829         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13830         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13831         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13832         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13834 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13836         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13837         (test-xfail-tst-protected1b): New variable.
13839 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #14912]
13842         * bits/libc-tsd.h: Move to ...
13843         * sysdeps/generic/libc-tsd.h: ...here.
13844         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13845         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13846         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13847         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13848         * include/ctype.h: Include <libc-tsd.h> instead of
13849         <bits/libc-tsd.h>.
13850         * include/rpc/rpc.h: Likewise.
13851         * locale/localeinfo.h: Likewise.
13852         * sunrpc/rpc_thread.c: Likewise.
13853         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13854         * sysdeps/nptl/malloc-machine.h: Likewise.
13856         * Makefile (headers): Remove bits/libc-lock.h.
13857         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13859         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13860         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13861         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13862         <bits/stdio-lock.h>.
13863         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13864         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13866 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13868         [BZ #18757]
13869         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13870         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13871         BZ #18757.
13873 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13875         * malloc/mtrace.pl: Filter out NULL entries.
13877 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13879         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13880         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13881         macro.
13883         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13884         (TCP_CC_INFO): Likewise.
13885         (TCP_SAVE_SYN): Likewise.
13886         (TCP_SAVED_SYN): Likewise.
13888 2015-08-31  Brett Neumeier <brett@neumeier.us>
13890         [BZ #18870]
13891         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13893 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13895         [BZ #18873]
13896         Fix broken overflow check in posix_fallocate
13897         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13898         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13899         Fix parenthesization typo.
13901 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13903         [BZ #18887]
13904         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13905         tst-mntent-blank-passno.
13906         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13907         * misc/tst-mntent-blank-corrupt.c: New test.
13908         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13909         * misc/tst-mntent.c (do_test): ... here.
13911 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13913         [BZ #4404]
13914         * po/de.po: Fix SIGALRM typo.
13916 2015-08-28  James Perkins  <james@loowit.net>
13918         * time/tst-strptime2.c (tests): Replace short list of test
13919         strings for strptime %z specifier with code which exhaustively
13920         tests every combination of sign and 0 to 5 digits. Tests for
13921         rejection of invalid strings.
13923 2015-08-28  James Perkins  <james@loowit.net>
13925         [BZ #16141]
13926         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13927         calculation, removing incorrect decimal time rounding, so that
13928         all minute values result in a valid seconds value.
13929         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13930         offset range limits to UTC-99:59 through UTC+99:59 to parse
13931         current and historical use cases.
13932         * time/tst-strptime2.c (tests): Modify and add tests for the
13933         strptime %z input field descriptor, specifically conversion of
13934         minutes to seconds and validating an offset range of -9959 to
13935         +9959.
13937 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13938             Dmitry V. Levin  <ldv@altlinux.org>
13940         [BZ #18877]
13941         * posix/Makefile (tests): Add tst-mmap-offset.
13942         * posix/tst-mmap.c: New file.
13943         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13944         offset calculation for negative values.
13946 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13948         * sysdeps/i386/init-arch.h: New file.
13949         * sysdeps/i386/i586/init-arch.h: Likewise.
13950         * sysdeps/i386/i686/init-arch.h: Likewise.
13951         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13952         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13953         * sysdeps/x86/cpu-features.h (bit_I586): New.
13954         (bit_I686): Likewise.
13955         (bit_CX8): Likewise.
13956         (bit_CMOV): Likewise.
13957         (index_CX8): Likewise.
13958         (index_CMOV): Likewise.
13959         (index_I586): Likewise.
13960         (index_I686): Likewise.
13961         (reg_CX8): Likewise.
13962         (reg_CMOV): Likewise.
13963         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13964         available at compile-time.
13965         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13966         available at compile-time.
13967         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13968         (USE_I686): Likewise.
13970 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13972         * sysdeps/i386/bcopy.S: New file.
13973         * sysdeps/i386/bzero.S: Likewise.
13974         * sysdeps/i386/memcpy.S: Likewise.
13975         * sysdeps/i386/memmove.S: Likewise.
13976         * sysdeps/i386/mempcpy.S: Likewise.
13977         * sysdeps/i386/memset.S: Likewise.
13978         * sysdeps/i386/bzero.c: Removed.
13979         * sysdeps/i386/memset.c: Likewise.
13980         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13981         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13982         * sysdeps/i386/i586/memset_chk.S: Likewise.
13983         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13984         * sysdeps/i386/memcpy_chk.S: Here.
13985         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13986         * sysdeps/i386/memmove_chk.S: Here.
13987         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13988         * sysdeps/i386/mempcpy_chk.S: Likewise.
13989         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13990         * sysdeps/i386/memset_chk.S: Likewise.
13992 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13994         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13995         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13996         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13997         * soft-fp/fmadf4.c: Ditto.
13998         * soft-fp/fmatf4.c: Ditto.
14000 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14002         * sysdeps/i386/i586/Implies: Removed.
14003         * sysdeps/i386/i686/Implies: Likewise.
14005 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14007         * sysdeps/i386/i486/strlen.S: Moved to ...
14008         * sysdeps/i386/strlen.S: Here.
14010 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14012         * sysdeps/i386/i486/strcat.S: Moved to ...
14013         * sysdeps/i386/strcat.S: Here.
14015 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14017         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14018         * sysdeps/i386/pthread_spin_trylock.S: Here.
14019         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14020         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14022 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14024         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14025         * sysdeps/i386/string-inlines.c: Here.
14027 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14029         * sysdeps/i386/i486/htonl.S: Moved ...
14030         * sysdeps/i386/htonl.S: here.
14032 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14034         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14035         * sysdeps/i386/bits/atomic.h: Here.
14037 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14039         * sysdeps/i386/i486/Versions: Removed.
14041 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14043         [BZ #2898]
14044         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14045         Based on patch by Aurelien Jarno.
14047 2015-08-26  Stan Shebs  <stanshebs@google.com>
14049         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14050         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14052 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14054         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14055         * sysdeps/powerpc/dl-procinfo.c:
14056         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14057         feature so it shows when LD_SHOW_AUXV=1.
14059 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14061         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14062         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14063         definition.  ISA 2.07B no longer requires full sync.
14065 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14067         [BZ #18863]
14068         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14069         (si_call_addr): Define.
14070         (si_syscall): Define.
14071         (si_arch): Define.
14073 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14075         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14076         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14077         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14078         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14079         (__memset_zero_constant_len_parameter): New.
14080         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14081         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14082         (__memset_zero_constant_len_parameter): Don't define if
14083         __memset_chk or USE_AS_BZERO are defined.
14085         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14086         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14087         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14089         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14090         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14091         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14092         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14093         comments.
14094         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14095         -mno-mmx for $(all-rtld-routines).
14096         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14097         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14098         i386.
14100 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14102         * sysdeps/generic/unwind.h
14103         (_Unwind_Word): Use __mode__(__unwind_word__)
14104         instead of __mode__(__word__).
14105         (_Unwind_Sword): Likewise.
14107         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14108         (MAX_NEEDED_INPUT): New define.
14109         (MAX_NEEDED_OUTPUT): New define.
14111         * NEWS: New item for IBM z13 string optimizations.
14113         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14114         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14115         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14116         * sysdeps/s390/multiarch/Makefile
14117         (sysdep_routines): Add memrchr functions.
14118         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14119         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14121         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14122         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14123         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14124         * sysdeps/s390/multiarch/Makefile
14125         (sysdep_routines): Add wmemcmp functions.
14126         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14127         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14128         * benchtests/bench-wmemcmp.c: New File.
14129         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14131         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14132         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14133         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14134         * sysdeps/s390/multiarch/Makefile
14135         (sysdep_routines): Add wmemset functions.
14136         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14137         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14138         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14139         * string/test-memset.c: Add wmemset support.
14140         * wcsmbs/test-wmemset.c: New File.
14141         * wcsmbs/Makefile (strop-tests): Add wmemset.
14142         * benchtests/bench-memset.c: Add wmemset support.
14143         * benchtests/bench-wmemset.c: New File.
14144         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14146         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14147         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14148         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14149         * sysdeps/s390/multiarch/Makefile
14150         (sysdep_routines): Add memccpy functions.
14151         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14152         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14153         * string/memccpy.c: Use MEMCCPY if defined.
14155         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14156         * sysdeps/s390/multiarch/memchr.c: Likewise.
14157         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14158         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14159         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14160         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14161         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14162         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14163         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14164         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14166         and rawmemchr functions.
14167         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14168         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14169         and wmemchr.
14170         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14171         * string/test-memchr.c: Add wmemchr support.
14172         * wcsmbs/test-wmemchr.c: New File.
14173         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14174         * benchtests/bench-memchr.c: Add wmemchr support.
14175         * benchtests/bench-wmemchr.c: New File.
14176         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14178         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14179         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14180         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14181         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14182         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14183         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14185         wcscspn functions.
14186         * sysdeps/s390/multiarch/ifunc-impl-list.c
14187         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14188         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14189         * string/test-strcspn.c: Add wcscspn support.
14190         * wcsmbs/test-wcscspn.c: New File.
14191         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14192         * benchtests/bench-strcspn.c: Add wcscspn support.
14193         * benchtests/bench-wcscspn.c: New File.
14194         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14196         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14197         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14198         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14199         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14200         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14201         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14202         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14203         wcspbrk functions.
14204         * sysdeps/s390/multiarch/ifunc-impl-list.c
14205         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14206         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14207         * string/test-strpbrk.c: Add wcspbrk support.
14208         * wcsmbs/test-wcspbrk.c: New File.
14209         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14210         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14211         * benchtests/bench-wcspbrk.c: New File.
14212         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14214         * sysdeps/s390/multiarch/strspn-c.c: New File.
14215         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14216         * sysdeps/s390/multiarch/strspn.c: Likewise.
14217         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14218         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14219         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14220         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14222         wcsspn functions.
14223         * sysdeps/s390/multiarch/ifunc-impl-list.c
14224         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14225         * string/test-strspn.c: Add wcsspn support.
14226         * wcsmbs/test-wcsspn.c: New File.
14227         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14228         * benchtests/bench-strspn.c: Add wcsspn support.
14229         * benchtests/bench-wcsspn.c: New File.
14230         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14232         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14233         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14234         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14235         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14236         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14237         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14238         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14239         wcsrchr functions.
14240         * sysdeps/s390/multiarch/ifunc-impl-list.c
14241         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14242         * benchtests/bench-wcsrchr.c: New File.
14243         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14245         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14246         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14247         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14248         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14249         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14250         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14252         wcschrnul functions.
14253         * sysdeps/s390/multiarch/ifunc-impl-list.c
14254         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14255         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14256         * string/test-strchr.c: Add wcschrnul support.
14257         * wcsmbs/test-wcschrnul.c: New File.
14258         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14259         * benchtests/bench-strchr.c: Add wcschrnul support.
14260         * benchtests/bench-wcschrnul.c: New File.
14261         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14263         * sysdeps/s390/multiarch/strchr-c.c: New File.
14264         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14265         * sysdeps/s390/multiarch/strchr.c: Likewise.
14266         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14267         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14268         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14269         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14270         wcschr functions.
14271         * sysdeps/s390/multiarch/ifunc-impl-list.c
14272         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14273         * string/strchr.c (STRCHR): Define and use macro.
14274         * benchtests/bench-wcschr.c: New File.
14275         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14277         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14278         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14279         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14280         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14281         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14282         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14284         wcsncmp functions.
14285         * sysdeps/s390/multiarch/ifunc-impl-list.c
14286         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14287         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14288         * benchtests/bench-strncmp.c: Add wcsncmp support.
14289         * benchtests/bench-wcsncmp.c: New File.
14290         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14292         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14293         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14294         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14295         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14296         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14297         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14298         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14299         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14300         wcscmp functions.
14301         * sysdeps/s390/multiarch/ifunc-impl-list.c
14302         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14303         * string/strcmp.c (STRCMP): Define and use macro.
14304         * benchtests/bench-wcscmp.c: New File.
14305         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14306         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14307         instead of _HAVE_STRING_ARCH_memchr.
14309         * sysdeps/s390/multiarch/strncat-c.c: New File.
14310         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14311         * sysdeps/s390/multiarch/strncat.c: Likewise.
14312         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14313         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14314         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14315         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14316         wcsncat functions.
14317         * sysdeps/s390/multiarch/ifunc-impl-list.c
14318         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14319         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14320         * string/test-strncat.c: Add wcsncat support.
14321         * wcsmbs/test-wcsncat.c: New File.
14322         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14323         * benchtests/bench-strncat.c: Add wcsncat support.
14324         * benchtests/bench-wcsncat.c: New File.
14325         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14327         * sysdeps/s390/multiarch/strcat-c.c: New File.
14328         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14329         * sysdeps/s390/multiarch/strcat.c: Likewise.
14330         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14331         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14332         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14334         wcscat functions.
14335         * sysdeps/s390/multiarch/ifunc-impl-list.c
14336         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14337         * string/strcat.c (STRCAT): Define and use macro.
14338         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14339         * string/test-strcat.c: Add wcscat support.
14340         * wcsmbs/test-wcscat.c: New File.
14341         * wcsmbs/Makefile (strop-tests): Add wcscat.
14342         * benchtests/bench-strcat.c: Add wcscat support.
14343         * benchtests/bench-wcscat.c: New File.
14344         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14346         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14347         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14348         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14349         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14350         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14351         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14353         wcpncpy functions.
14354         * sysdeps/s390/multiarch/ifunc-impl-list.c
14355         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14356         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14357         * string/test-stpncpy.c: Add wcpncpy support.
14358         * wcsmbs/test-wcpncpy.c: New File.
14359         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14360         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14361         * benchtests/bench-wcpncpy.c: New File.
14362         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14364         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14365         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14366         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14367         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14368         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14369         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14370         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14372         wcsncpy functions.
14373         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14374         * sysdeps/s390/multiarch/ifunc-impl-list.c
14375         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14376         * string/test-strncpy.c: Add wcsncpy support.
14377         * wcsmbs/test-wcsncpy.c: New File.
14378         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14379         * benchtests/bench-strncpy.c: Add wcsncpy support.
14380         * benchtests/bench-wcsncpy.c: New File.
14381         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14383         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14384         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14385         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14386         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14387         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14388         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14390         wcpcpy functions.
14391         * string/stpcpy.c: Use STPCPY if defined.
14392         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14393         * sysdeps/s390/multiarch/ifunc-impl-list.c
14394         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14395         * string/test-stpcpy.c: Add wcpcpy support.
14396         * wcsmbs/test-wcpcpy.c: New File.
14397         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14398         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14399         * benchtests/bench-wcpcpy.c: New File.
14400         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14402         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14403         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14404         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14405         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14406         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14407         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14408         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14409         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14410         wcscpy functions.
14411         * sysdeps/s390/multiarch/ifunc-impl-list.c
14412         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14413         * benchtests/bench-wcscpy.c: New File.
14414         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14416         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14417         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14418         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14419         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14420         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14421         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14423         wcsnlen functions.
14424         * sysdeps/s390/multiarch/ifunc-impl-list.c
14425         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14426         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14427         * string/test-strnlen.c: Add wcsnlen support.
14428         * wcsmbs/test-wcsnlen.c: New File.
14429         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14430         * benchtests/bench-strnlen.c: Add wcsnlen support.
14431         * benchtests/bench-wcsnlen.c: New File.
14432         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14434         * sysdeps/s390/multiarch/Makefile: New File.
14435         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14436         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14437         * sysdeps/s390/multiarch/strlen.c: Likewise.
14438         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14439         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14440         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14441         * string/strlen.c (STRLEN): Define and use macro.
14442         * sysdeps/s390/multiarch/ifunc-impl-list.c
14443         (IFUNC_VX_IMPL): New macro function.
14444         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14445         * benchtests/Makefile (wcsmbs-bench): New variable.
14446         (string-bench-all): Added wcsmbs-bench.
14447         * benchtests/bench-wcslen.c: New File.
14449         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14450         s390_vx_libc_ifunc2): New macro function.
14452         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14453         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14454         assembler support.
14455         * sysdeps/s390/configure: Regenerated.
14457         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14458         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14460         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14461         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14462         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14464         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14465         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14467         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14468         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14469         (memcmp, bcmp): Use __memcmp_default as alias source.
14470         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14471         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14472         Rename to __memcmp_default.
14473         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14474         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14475         (memcpy): Use __memcpy_default as alias source.
14476         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14477         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14478         Rename to __memcpy_default.
14479         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14480         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14481         (memset): Use __memset_default as alias source.
14482         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14483         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14484         Rename to __memset_default.
14485         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14486         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14487         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14488         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14489         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14490         (memcmp, bcmp): Use __memcmp_default as alias source.
14491         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14492         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14493         Rename to __memcmp_default.
14494         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14495         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14496         (memcpy): Use __memcpy_default as alias source.
14497         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14498         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14499         Rename to __memcpy_default.
14500         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14501         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14502         (memset): Use __memset_default as alias source.
14503         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14504         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14505         Rename to __memset_default.
14506         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14507         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14509         [BZ #18610]
14510         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14511         __ieee_instruction_pointer to __unused.
14512         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14513         __ieee_instruction_pointer.
14514         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14515         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14516         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14517         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14518         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14519         Mark dxc-field as reserved.
14521 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14523         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14524         if the weak reference is not null.
14526 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14528         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14530         [BZ #11214]
14531         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14533 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14535         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14536         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14537         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14538         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14539         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14540         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14541         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14542         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14543         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14544         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14545         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14546         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14547         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14548         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14549         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14550         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14551         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14552         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14554 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14556         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14557         register other than r0 for tabort, it has special meaning.
14558         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14559         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14560         transaction before starting syscall.
14562 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14564         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14566 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14568         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14570         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14571         * sysdeps/x86_64/rtld-memset.S: Likewise.
14572         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14573         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14574         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14575         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14577         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14579 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14581         * debug/strcpy_chk.c: Improve performance.
14582         * debug/stpcpy_chk.c: Likewise.
14583         * sysdeps/x86_64/strcpy_chk.S: Remove.
14584         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14586         [BZ #18240]
14587         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14589 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14591         [BZ #15128]
14592         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14593         ifuncmain8.
14594         (modules-names): Add ifuncmod8.
14595         ($(objpfx)ifuncmain8): New rule.
14596         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14597         <cpuid.h>.
14598         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14599         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14600         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14601         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14602         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14603         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14604         * sysdeps/x86_64/ifuncmain8.c: New file.
14605         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14606         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14607         Removed.
14608         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14609         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14610         Change rtld_savespace_sse to __glibc_unused2.
14611         (RTLD_CHECK_FOREIGN_CALL): Removed.
14612         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14613         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14614         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14616 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14618         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14620 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14622         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14623         Unconditionally set __fpcr to avoid uninialized warning.
14624         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14626 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14628         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14629         is corrupt.
14631         * malloc/arena.c (arena_get2): Drop unused argument.
14632         (arena_lock): Adjust.
14633         (arena_get_retry): Likewise.
14635 2015-08-24  Andreas Schwab  <schwab@suse.de>
14637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14638         Don't define.
14639         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14640         (__ASSUME_IPC64): Don't undef.
14641         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14642         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14643         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14644         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14645         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14646         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14647         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14648         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14649         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14650         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14651         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14652         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14653         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14654         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14655         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14656         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14657         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14658         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14659         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14660         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14661         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14663 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14665         * manual/Makefile (install): Only build manual when perl is available.
14667 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14669         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14670         '#undef memcpy' by '#undef memchr'.
14672 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14674         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14675         memchr not point to the internal __GI_memchr implementation.
14677 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14679         * timezone/Makefile (CFLAGS-zdump.c): Remove
14680         -Wno-strict-prototypes.
14681         (CFLAGS-zic.c): Likewise.
14682         (CFLAGS-ialloc.c): Likewise.
14683         (CFLAGS-scheck.c): Likewise.
14685         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14686         -Wno-error=undef.
14688 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14690         * i386/i686/multiarch/strcasestr-c.c: Removed.
14691         * x86_64/multiarch/strcasestr.c: Likewise.
14692         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14693         Remove strcasestr.
14695 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14697         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14699         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14700         variables for high and low parts before possibly modifying them.
14702 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14704         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14705         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14706         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14707         of "multiarch/init-arch.h".
14708         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14709         * sysdeps/x86/init-arch.h: This.
14711 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14713         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14714         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14716 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14718         [BZ #17787]
14719         * manual/macros.texi: Add twoexp macro.
14720         * manual/filesys.texi: Fix exponents.
14721         * manual/llio.texi: Likewise.
14722         * manual/stdio.texi: Likewise.
14724 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14726         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14727         incorrect use.
14729 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14731         [BZ #18370]
14732         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14733         whose real or imaginary part has small absolute value.
14734         * math/s_csqrtf.c (__csqrtf): Likewise.
14735         * math/s_csqrtl.c (__csqrtl): Likewise.
14736         * math/auto-libm-test-in: Add more tests of csqrt.
14737         * math/auto-libm-test-out: Regenerated.
14738         * sysdeps/i386/fpu/libm-test-ulps: Update.
14740 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14742         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14743         __ppc_set_ppr_very_low): New functions.
14744         * manual/platform.texi: Add documentation about
14745         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14747 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14749         * string/stpncpy.c (stpncpy): Improve performance using
14750         __strnlen/memcpy/memset.
14752 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14754         [BZ #18796]
14755         * scripts/test-installation.pl: Don't add -lmvec to build options if
14756         libmvec wasn't built.
14758 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14760         [BZ #14341]
14761         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14762         case when there is a gap between DT_REL and DT_JMPREL sections.
14763         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14764         (LDFLAGS-tst-split-dynreloc): New.
14765         (tst-split-dynreloc-ENV): Likewise.
14766         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14767         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14769 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14771         [BZ #18822]
14772         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14773         attribute_hidden.
14774         (__xstat64_conv): Likewise.
14775         (__xstat32_conv): Likewise.
14777 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14779         [BZ #18822]
14780         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14781         Don't load %ebx when calling __setcontext.  Call __setcontext
14782         with HIDDEN_JUMPTARGET.
14783         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14784         libc_hidden_def.
14786 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14788         * sysdeps/i386/i686/Makefile
14789         [$(subdir) == string] (sysdep_routines): Moved to ...
14790         * sysdeps/i386/Makefile: Here.
14791         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14792         * sysdeps/i386/cacheinfo.c: Here.
14793         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14794         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14796         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14798 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14800         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14801         __i586__ is defined.
14802         (HAS_I686): Defined to 1 if __i686__ is defined.
14804 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14806         * elf/Makefile [$(have-z-execstack) = yes]
14807         (CPPFLAGS-tst-execstack.c): New variable.
14809         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14810         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14811         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14812         UTMPX || _HAVE_UT_TV].
14813         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14814         UTMPX || _HAVE_UT_TV - 0].
14816 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14818         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14819         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14820         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14822 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14824         * sysdeps/powerpc/dl-procinfo.c:
14825         (_dl_powerpc_cap_flags): Added missing strings for some
14826         hwcap features.
14827         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14829 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14831         Port the 0x7efe...feff pattern to GCC 6.
14832         See Steve Ellcey's bug report in:
14833         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14834         * string/memrchr.c (MEMRCHR):
14835         * string/rawmemchr.c (RAWMEMCHR):
14836         * string/strchr.c (strchr):
14837         * string/strchrnul.c (STRCHRNUL):
14838         Rewrite code to avoid issues with signed shift overflow.
14840 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14842         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14843         whether cpuid is available only if HAS_CPUID is 0.
14844         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14845         (HAS_I586): Likewise.
14846         (HAS_I686): Likewise.
14848 2015-08-18  Zack Weinberg  <zackw@panix.com>
14850         * misc/Versions (libc): Add GLIBC_2.23.
14852 2015-08-18  Alan Modra  <amodra@gmail.com>
14854         [BZ #18421]
14855         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14856         .Lp__global.
14857         (_start): Load %dp via .Lp__global.
14858         [!SHARED]: Use .section .rodata.
14860 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14862         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14863         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14865 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14867         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14868         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14870 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14872         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14873         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14875 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14877         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14878         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14880 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14882         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14883         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14885 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14887         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14888         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14890 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14892         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14894 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14896         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14897         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14898         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14899         (__ASSUME_LWS_CAS): Delete.
14901 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14903         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14904         * sysdeps/hppa/configure: Regenerated.
14905         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14906         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14907         * sysdeps/hppa/nptl/tls.h: Likewise.
14909 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14911         [BZ #18823]
14912         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14913         for scaling up small arguments.
14914         * math/s_csqrtf.c (__csqrtf): Likewise.
14915         * math/s_csqrtl.c (__csqrtl): Likewise.
14916         * math/auto-libm-test-in: Add more tests of csqrt.
14917         * math/auto-libm-test-out: Regenerated.
14919 2015-08-17  Andreas Schwab  <schwab@suse.de>
14921         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14922         version set GLIBC_2.19.
14924 2015-08-16  Zack Weinberg  <zackw@panix.com>
14926         [BZ #18681]
14927         * misc/regexp.h: This interface is no longer supported.
14928         Remove all contents, leaving only an #error directive.
14929         * misc/regexp.c (loc1, loc2, locs, step, advance):
14930         Demote to compatibility symbols.
14932 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14934         [BZ #18084]
14935         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14936         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14937         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14938         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14939         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14940         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14941         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14942         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14943         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14945 2015-08-15  Zack Weinberg  <zackw@panix.com>
14947         [BZ #18795]
14948         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14949         buffer length is known to be too large, not if it's known to be
14950         small enough.
14951         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14952         overflow at runtime, involving a length parameter, twice: once
14953         with a compile-time constant length parameter, once without.
14955 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14957         [BZ #18824]
14958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14959         scaling x * y up instead of down.
14960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14962         * math/auto-libm-test-in: Add more tests of fma.
14963         * math/auto-libm-test-out: Regenerated.
14965 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14969 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14971         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14972         unnecessary movq.
14973         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14974         Likewise.
14976 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14978         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14979         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14980         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14981         and tgamma.
14982         * math/auto-libm-test-out: Regenerated.
14983         * sysdeps/i386/fpu/libm-test-ulps: Update.
14984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14986         [BZ #16520]
14987         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14988         (__tanh): Force underflow exception for arguments with small
14989         absolute value.
14990         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14991         (__tanhf): Force underflow exception for arguments with small
14992         absolute value.
14993         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14994         (__tanhl): Force underflow exception for arguments with small
14995         absolute value.
14996         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14997         (__tanhl): Force underflow exception for arguments with small
14998         absolute value.
14999         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15000         (__tanhl): Force underflow exception for arguments with small
15001         absolute value.
15002         * math/auto-libm-test-in: Add more tests of tanh.
15003         * math/auto-libm-test-out: Regenerated.
15004         * sysdeps/i386/fpu/libm-test-ulps: Update.
15006 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15008         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15009         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15011 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15013         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15014         <cpuid.h>.
15016 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15018         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15019         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15021 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15023         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15024         Remove $(objpfx)init-arch.o.
15025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15026         init-arch.
15027         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15028         (INIT_ARCH_EXT): Defined as empty.
15029         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15031         __init_cpu_features call.  Replace HAS_XXX with
15032         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15033         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15034         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15035         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15036         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15037         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15038         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15039         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15043         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15044         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15046         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15047         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15050         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15051         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15054         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15055         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15056         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15057         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15058         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15060         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15061         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15067         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15069 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15071         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15072         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15073         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15074         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15075         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15076         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15077         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15078         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15079         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15080         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15081         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15082         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15083         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15084         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15085         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15087         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15088         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15089         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15090         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15091         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15092         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15094         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15095         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15096         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15097         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15098         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15099         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15100         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15101         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15102         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15103         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15105         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15106         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15107         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15108         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15109         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15112         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15115 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15117         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15118         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15120         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15121         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15122         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15124         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15125         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15126         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15127         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15128         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15129         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15130         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15131         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15132         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15133         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15134         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15135         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15136         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15138         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15139         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15140         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15141         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15142         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15143         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15144         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15145         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15146         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15147         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15148         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15149         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15150         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15151         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15152         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15153         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15154         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15155         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15156         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15157         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15158         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15159         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15161 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15163         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15164         (dl_platform_init): Call init_cpu_features.
15165         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15166         * sysdeps/i386/i686/cacheinfo.c
15167         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15168         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15169         * sysdeps/i386/i686/multiarch/Versions: Removed.
15170         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15171         Removed.
15172         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15173         * sysdeps/unix/sysv/linux/x86/Makefile
15174         (libpthread-sysdep_routines): Remove init-arch.
15175         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15176         <sysdeps/x86_64/dl-procinfo.c> instead of
15177         sysdeps/generic/dl-procinfo.c>.
15178         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15179         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15180         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15181         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15182         [$(subdir) == elf] (tests-static): Add
15183         tst-get-cpu-features-static.
15184         * sysdeps/x86/Versions: New file.
15185         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15186         * sysdeps/x86/cpu-features.c: Likewise.
15187         * sysdeps/x86/cpu-features.h: Likewise.
15188         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15189         * sysdeps/x86/libc-start.c: Likewise.
15190         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15191         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15192         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15193         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15194         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15195         Assume USE_MULTIARCH is defined and don't check it.
15196         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15197         (is_amd): Likewise.
15198         (max_cpuid): Likewise.
15199         (intel_check_word): Likewise.
15200         (__cache_sysconf): Don't call __init_cpu_features.
15201         (__x86_preferred_memory_instruction): Removed.
15202         (init_cacheinfo): Don't call __init_cpu_features. Replace
15203         __cpu_features with GLRO(dl_x86_cpu_features).
15204         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15205         (dl_platform_init): Call init_cpu_features.
15206         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15207         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15208         * sysdeps/x86_64/multiarch/Versions: Removed.
15209         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15210         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15211         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15212         Removed.
15213         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15215 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15217         [BZ #18820]
15218         * libio/Makefile (test-fmemopen-mem): New test.
15219         * libio/test-fmemopen.c (do_bz18820): New test.
15220         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15221         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15223 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15225         [BZ #16734]
15226         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15227         (FREE_BUF): Delete.
15228         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15229         * libio/genops.c (_IO_setb): Use malloc and free directly.
15230         (_IO_default_doallocate, _IO_default_finish): Likewise.
15231         ( _IO_unbuffer_all): Likewise.
15232         ( libc_freeres_fn): Likewise.
15233         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15234         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15235         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15236         (_IO_wdefault_doallocate): Likewise.
15238 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15240         [BZ #18086]
15241         * sysdeps/posix/nice.c (nice): Restore old errno.
15242         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15244 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15246         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15248 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15250         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15251         __bcopy and add a weak_alias to bcopy.
15252         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15253         for static build.
15255         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15256         cleanup macro usage.
15257         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15258         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15260         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15261         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15262         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15263         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15264         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15265         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15266         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15268         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15270         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15271         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15273         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15275         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15277         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15278         libc_hidden_def.
15279         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15281         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15282         (sysdep_routines): Add strstr-ppc64.
15283         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15285 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15287         [BZ #18778]
15288         * elf/Makefile (tests): Add Add tst-nodelete2.
15289         (modules-names): Add tst-nodelete2mod.
15290         (tst-nodelete2mod.so-no-z-defs): New.
15291         ($(objpfx)tst-nodelete2): Likewise.
15292         ($(objpfx)tst-nodelete2.out): Likewise.
15293         (LDFLAGS-tst-nodelete2): Likewise.
15294         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15295         out of loop through all loaded libraries.
15296         * elf/tst-nodelete2.c: New file.
15297         * elf/tst-nodelete2mod.c: Likewise.
15298         * elf/tst-znodelete-zlib.cc: Delete.
15300 2015-08-11  Andreas Schwab  <schwab@suse.de>
15302         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15303         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15304         (__openat64_nocancel): Likewise.
15306 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15308         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15309         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15310         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15311         * math/auto-libm-test-out: Regenerated.
15312         * sysdeps/i386/fpu/libm-test-ulps: Update.
15313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15317         [BZ #18790]
15318         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15319         threshold for returning +/- 1.
15320         * math/auto-libm-test-in: Add more tests of tanh.
15321         * math/auto-libm-test-out: Regenerated.
15322         * sysdeps/i386/fpu/libm-test-ulps: Update.
15324 2015-08-10  Andreas Schwab  <schwab@suse.de>
15326         [BZ #18781]
15327         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15328         MORE_OFLAGS to oflag.
15329         * io/test-lfs.c (do_test): Test openat64.
15331 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15333         [BZ #18789]
15334         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15335         smaller threshold for returning the argument.
15336         * math/auto-libm-test-in: Add more tests of sinh.
15337         * math/auto-libm-test-out: Regenerated.
15338         * sysdeps/i386/fpu/libm-test-ulps: Update.
15340 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15342         [BZ #18674]
15343         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15344         break.
15346 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15348         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15349         (generated): Don't add $(addprefix z.,$(tzfiles)).
15351 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15353         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15354         * scripts/sysd-rules.awk: Likewise.
15356 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15358         * iconvdata/tst-tables.sh: Change echo -n to printf.
15359         * nss/db-Makefile: Likewise.
15360         * posix/tst-getconf.sh: Likewise.
15361         * stdio-common/tst-unbputc.sh: Likewise.
15363 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15365         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15366         MADV_*_PAGES defines behind this feature check.
15368 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15370         [BZ #18480]
15371         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15372         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15373         Define.
15374         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15375         LOAD_REGS_5, LOAD_REGS_6): Update.
15376         (INTERNAL_SYSCALL): Update using new LOAD defines.
15377         (INTERNAL_SYSCALL_NCS): Likewise.
15378         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15380 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15382         [BZ #16734]
15383         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15385 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15387         [BZ #17905]
15388         * catgets/Makefile (tst-catgets-mem): New test.
15389         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15390         * catgets/open_catalog.c (__open_catalog): Likewise.
15391         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15393 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15395         [BZ #18787]
15396         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15397         clobber registers.
15398         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15399         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15400         Cast return to __typeof (oldval).
15402 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15404         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15405         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15406         and delete sys/syscall.h include.
15408 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #16517]
15411         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15412         (tan): Force underflow exception for arguments with small absolute
15413         value.
15414         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15415         (__kernel_tanf): Force underflow exception for arguments with
15416         small absolute value.
15417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15418         (__kernel_tanl): Force underflow exception for arguments with
15419         small absolute value.
15420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15421         (__kernel_tanl): Force underflow exception for arguments with
15422         small absolute value.
15423         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15424         (__kernel_tanl): Force underflow exception for arguments with
15425         small absolute value.
15426         * math/auto-libm-test-in: Add more tests of tan.
15427         * math/auto-libm-test-out: Regenerated.
15429 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15431         Fix sysdeps/i386/fpu/s_scalbn.S build
15433         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15435 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15437         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15439 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15441         Fix gcrt0.o compilation
15443         When static-start-installed-name is different from
15444         start-installed-name, we must not use the shared objects.
15446         * csu/Makefile
15447         (extra-objs): Add gmon-start.o when building shared library and
15448         $(static-start-installed-name) is different from
15449         $(start-installed-name).
15450         $(objpfx)g$(static-start-installed-name): When building shared
15451         library and $(static-start-installed-name) is different from
15452         $(static-start-installed-name), revert to non-shared rule,
15453         i.e. using $(objpfx)% and gmon-start.o.
15455 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15457         [BZ #16519]
15458         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15459         (__ieee754_sinh): Force underflow exception for arguments with
15460         small absolute value.
15461         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15462         (__ieee754_sinhf): Force underflow exception for arguments with
15463         small absolute value.
15464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15465         (__ieee754_sinhl): Force underflow exception for arguments with
15466         small absolute value.
15467         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15468         (__ieee754_sinhl): Force underflow exception for arguments with
15469         small absolute value.
15470         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15471         (__ieee754_sinhl): Force underflow exception for arguments with
15472         small absolute value.
15473         * math/auto-libm-test-in: Add more tests of sinh.
15474         * math/auto-libm-test-out: Regenerated.
15475         * sysdeps/i386/fpu/libm-test-ulps: Update.
15477 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15479         * libio/oldfileops.c: Include unistd.h.
15481 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15483         * stdlib/isomac.c: Include ctype.h.
15485 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15487         * dirent/tst-seekdir.c (main): Converted to ...
15488         (do_test): ... this.
15489         (TEST_FUNCTION): New macro.
15490         Include test-skeleton.c.
15491         * elf/tst-dlmodcount.c (main): Converted to ...
15492         (do_test): ... this.
15493         (TEST_FUNCTION): New macro.
15494         Include test-skeleton.c.
15495         * elf/tst-order-main.c (main): Converted to ...
15496         (do_test): ... this.
15497         (TEST_FUNCTION): New macro.
15498         Include test-skeleton.c.
15499         * elf/tst-pie2.c (main): Converted to ...
15500         (do_test): ... this.
15501         (TEST_FUNCTION): New macro.
15502         Include test-skeleton.c.
15503         * inet/tst-ether_aton.c (main): Converted to ...
15504         (do_test): ... this.
15505         (TEST_FUNCTION): New macro.
15506         Include test-skeleton.c.
15507         * misc/tst-mntent.c (main): Converted to ...
15508         (do_test): ... this.
15509         (TEST_FUNCTION): New macro.
15510         Include test-skeleton.c.
15511         * misc/tst-tsearch.c (main): Converted to ...
15512         (do_test): ... this.
15513         (TEST_FUNCTION): New macro.
15514         Include test-skeleton.c.
15515         * posix/tst-regexloc.c (main): Converted to ...
15516         (do_test): ... this.
15517         (TEST_FUNCTION): New macro.
15518         Include test-skeleton.c.
15519         * resolv/tst-aton.c (main): Converted to ...
15520         (do_test): ... this.
15521         (TEST_FUNCTION): New macro.
15522         Include test-skeleton.c.
15523         * stdio-common/test-fwrite.c (main): Converted to ...
15524         (do_test): ... this.
15525         (TEST_FUNCTION): New macro.
15526         Include test-skeleton.c.
15527         * stdio-common/tst-ferror.c (main): Converted to ...
15528         (do_test): ... this.
15529         (TEST_FUNCTION): New macro.
15530         Include test-skeleton.c.
15531         * stdio-common/tst-printf.c (main): Converted to ...
15532         (do_test): ... this.
15533         (TEST_FUNCTION): New macro.
15534         Include test-skeleton.c.
15535         * stdio-common/tst-printfsz.c (main): Converted to ...
15536         (do_test): ... this.
15537         (TEST_FUNCTION): New macro.
15538         Include test-skeleton.c.
15539         * stdlib/tst-strtod.c (main): Converted to ...
15540         (do_test): ... this.
15541         (TEST_FUNCTION): New macro.
15542         Include test-skeleton.c.
15543         * string/tst-strlen.c (main): Converted to ...
15544         (do_test): ... this.
15545         (TEST_FUNCTION): New macro.
15546         Include test-skeleton.c.
15547         * string/tst-svc.c (main): Converted to ...
15548         (do_test): ... this.
15549         (TEST_FUNCTION): New macro.
15550         Include test-skeleton.c.
15551         * time/tst-strptime.c (main): Converted to ...
15552         (do_test): ... this.
15553         (TEST_FUNCTION): New macro.
15554         Include test-skeleton.c.
15555         * timezone/tst-timezone.c (main): Converted to ...
15556         (do_test): ... this.
15557         (TEST_FUNCTION): New macro.
15558         Include test-skeleton.c.
15560 2015-08-05  Zack Weinberg  <zackw@panix.com>
15562         * misc/regexp.h: Update comments.
15564 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15566         [BZ #18635]
15567         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15568         before return label.
15570 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15572         [BZ #18661]
15573         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15574         when calling __errno_location.
15575         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15576         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15578 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15580         [BZ #18661]
15581         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15582         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15583         __gettimeofday.
15585 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15587         [BZ #18661]
15588         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15589         (__start_context): Don't use pop to restore %rdi so that stack
15590         is aligned to 16 bytes when calling __setcontext.
15592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15594         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15595         only for libc.
15596         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15598 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15600         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15601         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15602         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15604 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15606         * string/memccpy.c (memccpy):
15607         Improve performance by using memchr/memcpy/__mempcpy.
15609 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15611         * string/strncpy.c (strncpy):
15612         Improve performance by using __strnlen/memcpy.
15614 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15616         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15617         Optimize to avoid an unnecessary FPCR read.
15619 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15621         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15622         Optimize to reduce FPCR/FPSR accesses.
15624 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15626         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15627         dead->data[category] != NULL.
15629 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15631         [BZ #18647]
15632         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15633         and |x| close to 1, use absolute value of x when computing log.
15634         * math/auto-libm-test-in: Add more tests of pow.
15635         * math/auto-libm-test-out: Regenerated.
15637 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15639         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15640         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15641         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15643 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15645         [BZ #18525]
15646         * locales/km_KH: Remove timezone definition.
15647         * locales/lo_LA: Likewise.
15648         * locales/my_MM: Likewise.
15649         * locales/nan_TW@latin: Likewise.
15650         * locales/th_TH: Likewise.
15651         * locales/uk_UA: Likewise.
15653 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15655         [BZ #18265]
15656         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15657         (wcsncat): Likewise.
15658         (wcscmp): Likewise.
15659         (wcsncmp): Likewise.
15661 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15663         * test-skeleton.c (usage): New function.
15664         (main): Call usage when opt is '?'.
15666 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15668         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15669         before first use.
15671 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15673         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15674         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15675         in there too.
15677 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15679         * version.h (RELEASE): Set to "development".
15680         (VERSION): Set to "2.22.90"
15682         * version.h (RELEASE): Set to "stable".
15683         (VERSION): Set to "2.22"
15684         * include/features.h (__GLIBC_MINOR__): Set to 22.
15686 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15688         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15689         Restructure macro to avoid "value computed is not used" warning.
15690         (atomic_compare_and_exchange_val_acq): Likewise.
15692 2015-08-04  Andreas Schwab  <schwab@suse.de>
15694         [BZ #18635]
15695         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15696         ret.
15697         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15699 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15701         * po/pl.po: Updated translation.
15702         * po/uk.po: Likewise.
15703         * po/fi.po: Likewise.
15704         * po/ko.po: Likewise.
15705         * po/ru.po: Likewise.
15706         * po/vi.po: Likewise.
15708 2015-07-31  Zack Weinberg  <zackw@panix.com>
15710         [BZ #18681]
15711         * regexp.h: Add unconditional #warning stating that this header
15712         will be removed soon.  Revise banner comment to match.
15713         (compile): Consistently use ERROR instead of RETURN to report
15714         errors (partial fix for bz#18681).
15715         * regexp.c: Don't include regexp.h. Remove some unnecessary
15716         declarations.
15718 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15720         * po/libc.pot: Regenerated.
15722 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15724         [BZ #18740]
15725         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15726         float-vlen4-arch-ext-cflags): Removed.
15727         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15728         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15730 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15732         [BZ #14113]
15733         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15734         aligned to __aligned__.
15735         (pthread_cond_t, pthread_rwlock_t): Likewise.
15737 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15739         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15741 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15743         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15744         (struct sigaction): Change sa_flags from a long to an int, and add
15745         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15747 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15749         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15750         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15751         sysdeps/generic/sysdep.h include.
15752         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15753         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15754         sysdeps/hppa/sysdep.h.
15755         (ENTRY, PSEUDO): Undefine before defining.
15757 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15759         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15760         from scratch to use INTERNAL_SYSCALL.
15762 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15764         [BZ #18078]
15765         * scripts/check-localplt.awk: Support alternate relocations.
15766         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15767         sections.
15768         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15769         malloc entries with + REL R_386_GLOB_DAT.
15770         * sysdeps/x86_64/localplt.data: New file.
15772 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15774         [BZ #18731]
15775         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15776         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15777         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15779 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15781         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15783 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15785         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15786         directly in terms of __sync_fetch_and_add and delete (int) cast.
15788 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15790         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15791         the -D_ASM_IA64_CURRENT_H flag.
15793 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15795         [BZ #18641]
15796         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15798 2015-07-27  Andreas Schwab  <schwab@suse.de>
15800         * conform/conformtest.pl (checknamespace): Filter out string
15801         literals while tokenizing.
15803 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15805         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15806         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15807         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15809 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15811         * nptl/tst-join7mod.c: Add #include <string.h>.
15813 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15815         * sysdeps/nios2/libm-test-ulps: Update.
15817 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15819         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15820         Fix order of arguments to the rt_sigprocmask syscall.
15821         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15822         Likewise.
15824 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15826         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15828 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15830         [BZ #18457]
15831         * nptl/Makefile (tests): New test case tst-join7.
15832         (modules-names): New test case module tst-join7mod.
15833         * nptl/tst-join7.c: New file.
15834         * nptl/tst-join7mod.c: New file.
15835         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15836         all translation units in libc.so, libpthread.so and rtld.
15838 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15842 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15846         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15853         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15856         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15857         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15859         implementation.
15861 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15863         [BZ #17711]
15864         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15865         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15866         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15867         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15868         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15869         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15871 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15873         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15874         instead of just saying load lock in the comments.
15876 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15878         * sysdeps/unix/Subdirs: Moved ...
15879         * sysdeps/posix/Subdirs: ... here.
15880         * login/pty.h (struct termios, struct winsize): Add forward decls.
15881         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15882         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15883         * sysdeps/arm/nacl/libc.abilist: Updated.
15884         * sysdeps/nacl/libutil.abilist: New file.
15886         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15887         (SIGWINCH): New macro.
15889         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15890         * sysdeps/arm/nacl/libc.abilist: Add it.
15892 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15894         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15896 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15898         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15899         Swap __glibc_reserved0 and sa_flags order.
15901 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903         [BZ #18657]
15904         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15905         are pending TLS destructor calls.
15906         * include/link.h (struct link_map): Add concurrency note for
15907         L_TLS_DTOR_COUNT.
15908         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15909         Don't touch the link map flag.  Atomically increment
15910         l_tls_dtor_count.
15911         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15912         Avoid taking the load lock and don't touch the link map flag.
15913         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15914         * stdlib/Makefile (tests): Use it.
15915         * stdlib/tst-tls-atexit.c (do_test): dlopen
15916         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15917         to allow tst-tls-atexit-nodelete test case to use it.
15919 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15921         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15922         to bits/types.h.
15923         (msgqnum_t): New typedef.
15924         (msglen_t): Likewise.
15925         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15926         and msg_qbytes type to msglen_t.
15928 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15930         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15931         pad0 to __glibc_reserved0.
15932         (struct stat64): Likewise.
15934 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15936         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15937         Change sa_flags from a long to an int and add __glibc_reserved0 before
15938         it for padding.
15940 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15942         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15943         anonymous by deleting "siginfo" name.
15945 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15947         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15948         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15949         rather than __nacl_irt_filename.
15950         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15952         * NEWS: New item for arm-nacl port.
15953         * sysdeps/arm/nacl/libc.abilist: New file.
15954         * sysdeps/nacl/ld.abilist: New file.
15955         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15956         * sysdeps/nacl/libanl.abilist: New file.
15957         * sysdeps/nacl/libcrypt.abilist: New file.
15958         * sysdeps/nacl/libdl.abilist: New file.
15959         * sysdeps/nacl/libm.abilist: New file.
15960         * sysdeps/nacl/libpthread.abilist: New file.
15961         * sysdeps/nacl/libresolv.abilist: New file.
15962         * sysdeps/nacl/librt.abilist: New file.
15964 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15966         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15967         __startcontext to initialize the new context.
15968         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15969         up CFI directive to forbid further backtracing.
15971 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15973         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15974         reference.
15975         * charmaps/ANSI_X3.4-1968: Likewise.
15976         * charmaps/BS_4730: Likewise.
15977         * charmaps/BS_VIEWDATA: Likewise.
15978         * charmaps/CP1250: Likewise.
15979         * charmaps/CP1251: Likewise.
15980         * charmaps/CP1252: Likewise.
15981         * charmaps/CP1253: Likewise.
15982         * charmaps/CP1254: Likewise.
15983         * charmaps/CP1255: Likewise.
15984         * charmaps/CP1256: Likewise.
15985         * charmaps/CSN_369103: Likewise.
15986         * charmaps/EBCDIC-DK-NO: Likewise.
15987         * charmaps/GB_1988-80: Likewise.
15988         * charmaps/GREEK-CCITT: Likewise.
15989         * charmaps/GREEK7: Likewise.
15990         * charmaps/INIS-8: Likewise.
15991         * charmaps/ISIRI-3342: Likewise.
15992         * charmaps/ISO_2033-1983: Likewise.
15993         * charmaps/ISO_5427-EXT: Likewise.
15994         * locales/POSIX: Likewise.
15995         * locales/ar_SA: Likewise.
15996         * locales/be_BY: Likewise.
15997         * locales/be_BY@latin: Likewise.
15998         * locales/ca_ES: Likewise.
15999         * locales/cs_CZ: Likewise.
16000         * locales/da_DK: Likewise.
16001         * locales/de_BE: Likewise.
16002         * locales/de_CH: Likewise.
16003         * locales/de_LU: Likewise.
16004         * locales/en_AU: Likewise.
16005         * locales/en_BW: Likewise.
16006         * locales/en_CA: Likewise.
16007         * locales/en_DK: Likewise.
16008         * locales/en_GB: Likewise.
16009         * locales/en_IE: Likewise.
16010         * locales/en_NZ: Likewise.
16011         * locales/en_ZA: Likewise.
16012         * locales/en_ZW: Likewise.
16013         * locales/es_AR: Likewise.
16014         * locales/es_BO: Likewise.
16015         * locales/es_CL: Likewise.
16016         * locales/es_CO: Likewise.
16017         * locales/es_DO: Likewise.
16018         * locales/es_EC: Likewise.
16019         * locales/es_ES: Likewise.
16020         * locales/es_HN: Likewise.
16021         * locales/es_MX: Likewise.
16022         * locales/es_PA: Likewise.
16023         * locales/es_PE: Likewise.
16024         * locales/es_PY: Likewise.
16025         * locales/es_SV: Likewise.
16026         * locales/es_US: Likewise.
16027         * locales/es_UY: Likewise.
16028         * locales/es_VE: Likewise.
16029         * locales/et_EE: Likewise.
16030         * locales/fa_IR: Likewise.
16031         * locales/fo_FO: Likewise.
16032         * locales/fr_CA: Likewise.
16033         * locales/fr_CH: Likewise.
16034         * locales/gv_GB: Likewise.
16035         * locales/he_IL: Likewise.
16036         * locales/hr_HR: Likewise.
16037         * locales/id_ID: Likewise.
16038         * locales/is_IS: Likewise.
16039         * locales/it_CH: Likewise.
16040         * locales/iw_IL: Likewise.
16041         * locales/kl_GL: Likewise.
16042         * locales/ko_KR: Likewise.
16043         * locales/kw_GB: Likewise.
16044         * locales/lg_UG: Likewise.
16045         * locales/lt_LT: Likewise.
16046         * locales/lv_LV: Likewise.
16047         * locales/mi_NZ: Likewise.
16048         * locales/nhn_MX: Likewise.
16049         * locales/nl_BE: Likewise.
16050         * locales/pl_PL: Likewise.
16051         * locales/sk_SK: Likewise.
16052         * locales/sl_SI: Likewise.
16053         * locales/sv_FI: Likewise.
16054         * locales/tl_PH: Likewise.
16055         * locales/tr_TR: Likewise.
16056         * locales/vi_VN: Likewise.
16058 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16060         [BZ #17475]
16061         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16062         of tu_IN and bh_IN.
16064 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16066         [BZ #18694]
16067         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16068         bits/wordsize.h.
16069         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16071 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16073         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16074         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16075         (spawn_thread): New function.
16076         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16077         (do_test): ... here.  Use IS_LOADED to test for its
16078         availability.
16080 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16082         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16084 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16086         [BZ #18696]
16087         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16088         si_addr_bnd.
16089         (si_lower): New.
16090         (si_upper): Likewise.
16092 2015-07-16  David S. Miller  <davem@davemloft.net>
16094         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16096 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16098         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16099         buffer.
16100         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16101         fail output information.
16103 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16106         and strstr-ppc64..
16107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16108         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16109         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16110         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16111         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16113 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16115         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16116         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16117         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16118         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16120 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16122         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16123         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16124         rtld_hidden_proto.
16125         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16127 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16129         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16130         the test can fail.
16132         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16134         [BZ #18676]
16135         * elf/tst-nodelete-opened.c: New test case.
16136         * elf/tst-nodelete-opened-lib.c: New test case module.
16137         * elf/Makefile (tests, modules-names): Use them.
16138         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16139         early.
16141 2015-07-15  David S. Miller  <davem@davemloft.net>
16143         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16144         futex-intenal.h
16145         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16146         * sysdeps/sparc/sparc64/Makefile: Likewise.
16147         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16148         Remove space from macro define.
16149         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16151 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16153         [BZ #17475]
16154         * locale/iso-639.def: Update Bhili and Tulu language codes as
16155         per iso639-3.
16157 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16159         * elf/tst-leaks1.c (main): Converted to ...
16160         (do_test): ... this.
16161         (TEST_FUNCTION): New macro.
16162         Include test-skeleton.c.
16163         * localedata/tst-langinfo.c (main): Converted to ...
16164         (do_test): ... this.
16165         (TEST_FUNCTION): New macro.
16166         Include test-skeleton.c.
16167         * math/test-fpucw.c (main): Converted to ...
16168         (do_test): ... this.
16169         (TEST_FUNCTION): New macro.
16170         Include test-skeleton.c.
16171         * math/test-tgmath.c (main): Converted to ...
16172         (do_test): ... this.
16173         (TEST_FUNCTION): New macro.
16174         Include test-skeleton.c.
16175         * math/test-tgmath2.c (main): Converted to ...
16176         (do_test): ... this.
16177         (TEST_FUNCTION): New macro.
16178         Include test-skeleton.c.
16179         * setjmp/tst-setjmp.c (main): Converted to ...
16180         (do_test): ... this.
16181         (TEST_FUNCTION): New macro.
16182         Include test-skeleton.c.
16183         * stdio-common/tst-sscanf.c (main): Converted to ...
16184         (do_test): ... this.
16185         (TEST_FUNCTION): New macro.
16186         Include test-skeleton.c.
16187         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16188         (do_test): ... this.
16189         (TEST_FUNCTION): New macro.
16190         Include test-skeleton.c.
16192         * elf/tst-audit9.c (main): Converted to ...
16193         (do_test): ... this.
16194         (TEST_FUNCTION): New macro.
16195         Include test-skeleton.c.
16197 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16199         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16201 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16203         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16204         New variable.
16206 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16208         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16210 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16212         * sysdeps/generic/dl-fileid.h: New file.
16213         * sysdeps/posix/dl-fileid.h: New file.
16214         * sysdeps/nacl/dl-fileid.h: New file.
16215         * include/link.h: Include <dl-fileid.h>.
16216         (struct link_map): Replace l_dev and l_ino with l_file_id.
16217         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16218         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16219         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16221 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16223         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16225 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16227         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16228         Add iff $CXX is set.
16229         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16230         Likewise.
16231         (tst-nodelete-zmodiff): Likewise.
16232         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16234 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16236         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16238 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16240         * sysdeps/aarch64/fpu/math_private.h
16241         (define math_opt_barrier): Add AArch64 version.
16242         (math_force_eval): Likewise.
16244 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16246         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16248 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16250         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16251         %ld with %jd and cast to intmax_t.
16252         (do_test_length_zero): Likewise.
16254 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16256         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16258 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16260         * sysdeps/tile/libm-test-ulps: Regenerated.
16262         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16263         Comment out the whole function, not just its body.
16265 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16267         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16268         locks.
16270         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16272 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16274         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16275         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16277 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16279         * sysdeps/nptl/futex-internal.h: New file.
16280         * sysdeps/nacl/futex-internal.h: New file.
16281         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16282         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16283         error checking.
16284         (setxid_unmark_thread): Likewise.
16285         (__nptl_setxid): Likewise.
16286         (__wait_lookup_done): Likewise.
16287         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16288         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16289         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16290         * nptl/pthread_once.c (clear_once_control): Likewise.
16291         (__pthread_once_slow): Likewise.
16292         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16293         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16294         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16295         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16296         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16297         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16298         Likewise.
16299         (__pthread_rwlock_rdlock): Likewise.
16300         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16301         Likewise.
16302         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16303         Likewise.
16304         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16305         Likewise.
16306         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16307         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16308         Likewise.
16309         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16310         __ASSUME_PRIVATE_FUTEX check.
16311         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16312         Check that shared futexes are supported.
16313         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16314         wrappers with error checking.
16315         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16316         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16317         * nptl/pthread_barrierattr_setpshared.c
16318         (pthread_barrierattr_setpshared): Check that shared futexes are
16319         supported.
16320         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16321         Likewise.
16322         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16323         Likewise.
16324         * nptl/sem_init.c (futex_private_if_supported): Remove.
16325         (__new_sem_init): Adapt and check that shared futexes are supported.
16326         * nptl/sem_open.c (sem_open): Likewise.
16327         * nptl/sem_post.c (futex_wake): Remove.
16328         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16329         (do_futex_wait): Use futex wrappers with error checking.
16330         * nptl/sem_wait.c: Include lowlevellock.h.
16331         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16332         Use futex_supports_pshared.
16333         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16334         Use futex wrappers with error checking.
16335         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16336         Likewise.
16337         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16338         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16339         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16340         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16341         (futex_wake): Likewise.
16342         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16343         (do_futex_wait): Use futex wrappers with error checking.
16344         (__new_sem_wait_slow): Update EINTR handling.
16345         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16347 2015-07-09  Martin Sebor  <msebor@redhat.com>
16349         [BZ #18435]
16350         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16351         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16352         * nptl/Makefile (test-xfail-tst-once5): Define.
16354 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16356         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16357         * elf/dl-minimal.c: For readability, reorder some definitions and
16358         introduce more page breaks.  Include <stdio.h>.
16359         (__libc_fatal): New function.
16361         * include/unistd.h: Add rtld_hidden_proto for _exit.
16362         * posix/_exit.c: Add rtld_hidden_def.
16363         * sysdeps/mach/hurd/_exit.c: Likewise.
16364         * sysdeps/nacl/_exit.c: Likewise.
16365         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16366         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16368 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16371         bndmov encoding with zero displacement.
16373 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16374             H.J. Lu  <hongjiu.lu@intel.com>
16376         [BZ #18134]
16377         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16378         * sysdeps/i386/configure: Regenerated.
16379         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16380         (_dl_runtime_profile): Save and restore Intel MPX return bound
16381         registers when calling _dl_call_pltexit.  Add
16382         PRESERVE_BND_REGS_PREFIX before return.
16383         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16384         (LRV_BND1_OFFSET): Likewise.
16385         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16386         lrv_bnd1.
16387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16388         typo in bndmov encoding.
16389         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16390         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16391         branch instructions to preserve bounds.
16393 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16396         [GLIBC_2.22]: Add fmemopen.
16398 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16400         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16401         returns an error, also try to use host port from __mach_host_self for
16402         the __vm_wire call.
16403         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16405 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16407         [BZ #18400]
16408         [BZ #18648]
16409         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16410         Fix pr_uid and pr_gid members.
16411         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16412         definition to elf_greg_t.
16414 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16416         [BZ #18383]
16417         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16418         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16419         * sysdeps/arm/configure: Regenerated.
16420         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16421         (test-xfail-tst-tlsalign-static): Variable removed.
16423         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16424         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16425         rather than explicit 'ln -s'.
16427         * resolv/rpc/netdb.h: New file.
16428         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16430 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16432         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16433         length buffers.
16434         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16435         test-skeleton.c.
16437         [BZ #6544]
16438         [BZ #11216]
16439         [BZ #12836]
16440         [BZ #13151]
16441         [BZ #13152]
16442         [BZ #14292]
16443         * include/stdio.h (fmemopen): Remove hidden prototype.
16444         (__fmemopen): Add new hidden prototype.
16445         * libio/Makefile: Add oldfmemopen object.
16446         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16447         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16448         compliance.
16449         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16450         symbol compatibility.
16451         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16452         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16453         fmemopen.
16454         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16455         on append and read mode.
16456         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16457         fmemopen.
16458         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16459         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16460         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16461         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16462         Likewise.
16463         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16464         [GLIBC_2.22]: Likewise.
16465         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16466         Likewise.
16467         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16468         Likewise.
16469         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16470         [GLIBC_2.22]: Likewise.
16471         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16472         [GLIBC_2.22]: Likewise.
16473         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16474         [GLIBC_2.22]: Likewise.
16475         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16476         [GLIBC_2.22]: Likewise.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16478         [GLIBC_2.22]: Likewise.
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16480         [GLIBC_2.22]: Likewise.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16482         [GLIBC_2.22]: Likewise.
16483         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16484         Likewise.
16485         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16486         Likewise.
16487         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16488         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16489         [GLIBC_2.22]: Likewise.
16490         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16491         [GLIBC_2.22]: Likewise.
16492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16493         [GLIBC_2.22]: Likewise.
16494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16495         [GLIBC_2.22]: Likewise.
16496         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16497         Likewise.
16498         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16499         Likewise.
16500         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16501         Likewise.
16502         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16503         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16505 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16507         [BZ #18643]
16508         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16509         IPV6_PATHMTU, and IPV6_DONTFRAG.
16511 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16513         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16514         and _IO_UNBUFFERED.
16515         * libio/oldfileops.c: Likewise.
16516         * libio/wfileops.c: Likewise.
16518 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16520         * nscd/selinux.c: Delete selinux/flask.h include.
16522 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16524         [BZ #18641]
16525         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16526         (putpwent): Likewise.
16527         (getpwnam): Likewise.
16528         (getpwent_r): Likewise.
16529         (getpwuid_r): Likewise.
16530         (getpwnam_r): Likewise.
16531         (fgetpwent_r): Likewise.
16533 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16535         [BZ #18557]
16536         * inet/rcmd.c (__validuser2_sa): Check user first to
16537         short-circuit host check.
16539 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16540             Mikhail Ilin  <m.ilin@samsung.com>
16542         [BZ #17833]
16543         * elf/Makefile (tests): Add tst-nodelete.
16544         (modules-names): Add tst-nodelete-uniquemod.
16545         (tst-nodelete-uniquemod.so-no-z-defs): New.
16546         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16547         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16548         ($(objpfx)tst-nodelete): Likewise.
16549         ($(objpfx)tst-nodelete.out): Likewise.
16550         (LDFLAGS-tst-nodelete): Likewise.
16551         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16552         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16553         implement forced object deletion.
16554         (_dl_close): Pass false to _dl_close_worker.
16555         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16556         * elf/tst-nodelete.cc: New file.
16557         * elf/tst-nodeletelib.cc: Likewise.
16558         * elf/tst-znodeletelib.cc: Likewise.
16559         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16561 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16563         [BZ #18508]
16564         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16565         Depend on $(libdl).
16566         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16567         is not called infinitely times.
16568         (backtrace_helper): New function.
16569         (trace_arg): New struct.
16570         (st1): Enlarge stack size.
16571         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16572         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16573         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16574         Likewise.
16576 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16578         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16580 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16582         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16583         Include sys/types.h instead of bits/types.h.
16584         Remove inclusion of bits/wordsize.h.
16586 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16588         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16589         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16590         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16591         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16592         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16593         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16595 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16597         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16598         link-defines.sym.
16599         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16600         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16601         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16602         and LR_SIZE.
16603         * sysdeps/i386/link-defines.sym: New file.
16605 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16607         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16608         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16609         ($(objpfx)tst-audit3): New rule.
16610         ($(objpfx)tst-audit3.out): Likewise.
16611         * sysdeps/i386/tst-audit3.c: New file.
16612         * sysdeps/i386/tst-audit3.h: Likewise.
16613         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16614         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16616 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16618         [BZ #18633]
16619         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16620         pointer in C code.
16621         (__strcat_c): Likewise.
16622         (__strcat_g): Likewise.
16624 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16626         [BZ #18592]
16627         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16629 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16631         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16632         New function.  (__ieee754_sqrtf): New function.
16633         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16634         New function.
16635         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16636         New function.
16638 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16640         * sysdeps/ieee754/support.c: Remove unused file.
16642 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16644         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16645         registers instead of d ones so the layout is kernel abi compatible.
16646         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16647         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16648         Likewise.
16650 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16652         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16654 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16656         [BZ #18619]
16657         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16658         and return argument in case of subnormal argument.
16660 2015-07-01  Martin Sebor  <msebor@redhat.com>
16662         [BZ #18435]
16663         * nptl/Makefile: Add tst-once5.cc.
16664         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16665         Remove macro redefinitions.
16666         * nptl/tst-once5.cc: New test.
16668 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16670         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16672         * sysdeps/arm/libm-test-ulps: Regenerated.
16674         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16675         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16677 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16679         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16680         lll_lock_wait_private and lll_futex_wake probes.
16682         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16683         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16684         Likewise.
16685         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16686         atomic_spin_nop.
16687         * sysdeps/x86_64/bits/atomic.h: Likewise.
16688         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16689         to atomic_spin_nop and move ...
16690         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16691         ... here and ...
16692         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16693         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16694         atomic_spin_nop instead of BUSY_WAIT_NOP.
16695         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16696         Likewise.
16697         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16698         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16699         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16700         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16701         instead of atomic_delay.
16703 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16705         [BZ #18613]
16706         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16707         X_ADJ not X when adjusting exponent.
16708         (__ieee754_gamma_r): Do intermediate computations in
16709         round-to-nearest then adjust overflowing and underflowing results
16710         as needed.
16711         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16712         of X_ADJ not X when adjusting exponent.
16713         (__ieee754_gammaf_r): Do intermediate computations in
16714         round-to-nearest then adjust overflowing and underflowing results
16715         as needed.
16716         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16717         log of X_ADJ not X when adjusting exponent.
16718         (__ieee754_gammal_r): Do intermediate computations in
16719         round-to-nearest then adjust overflowing and underflowing results
16720         as needed.  Use 1.0L not 1.0f as numerator of division.
16721         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16722         log of X_ADJ not X when adjusting exponent.
16723         (__ieee754_gammal_r): Do intermediate computations in
16724         round-to-nearest then adjust overflowing and underflowing results
16725         as needed.  Use 1.0L not 1.0f as numerator of division.
16726         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16727         of X_ADJ not X when adjusting exponent.
16728         (__ieee754_gammal_r): Do intermediate computations in
16729         round-to-nearest then adjust overflowing and underflowing results
16730         as needed.  Use 1.0L not 1.0f as numerator of division.
16731         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16732         to auto-libm-test-in.
16733         (tgamma_test): Use ALL_RM_TEST.
16734         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16735         tests of tgamma with spurious-overflow.
16736         * math/auto-libm-test-out: Regenerated.
16737         * math/gen-libm-have-vector-test.sh: Do not check for START.
16738         * sysdeps/i386/fpu/libm-test-ulps: Update.
16739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16741         [BZ #18612]
16742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16743         arguments, just return 0.5 times the argument, with underflow
16744         forced as needed.
16745         * math/auto-libm-test-in: Add more tests of j1.
16746         * math/auto-libm-test-out: Regenerated.
16748         [BZ #16559]
16749         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16750         (__ieee754_j1): Force underflow exception for small results.
16751         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16752         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16753         (__ieee754_j1f): Force underflow exception for small results.
16754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16757         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16758         (__ieee754_j1l): Force underflow exception for small results.
16759         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16760         * math/auto-libm-test-in: Add more tests of j1 and jn.
16761         * math/auto-libm-test-out: Regenerated.
16763         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16764         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16765         (PF_MPLS): Likewise.
16766         (AF_IB): Likewise.
16767         (AF_MPLS): Likewise.
16768         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16769         value and macro.
16770         (MS_RMT_MASK): Include MS_LAZYTIME.
16772 2015-06-26  Mel Gorman  <mgorman@suse.de>
16774         [BZ #18502]
16775         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16776         already minimal.
16778 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16780         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16781         (DT_MIPS_NUM): Update.
16782         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16783         DT_MIPS_RLD_MAP_REL.
16785 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16787         [BZ #16559]
16788         [BZ #18602]
16789         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16790         round-to-nearest internally then recompute results that
16791         underflowed to zero in the original rounding mode.
16792         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16793         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16794         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16795         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16796         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16797         * sysdeps/i386/fpu/libm-test-ulps: Update.
16798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16802         * NEWS: Fixed description of link with vector math library.
16804 2015-06-25  Andreas Schwab  <schwab@suse.de>
16806         [BZ #18549]
16807         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16808         * libio/test-fmemopen.c (do_test): Add test for it.
16810 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16812         [BZ #17841]
16813         * Makeconfig (no-pie-ldflag): New.
16814         (+link): Set to $(+link-pie) if default to PIE.
16815         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16816         * config.make.in (build-pie-default): New.
16817         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16818         is default.  AC_SUBST.
16819         * configure: Regenerated.
16820         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16822 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16824         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16825         to 'unsigned int'.
16827         * resolv/gai_misc.h (struct waitlist): Change type of field
16828         counterp to 'volatile unsigned int *'.
16829         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16830         FUTEXADDR and OLDVAL.
16831         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16832         Give local variable TOTAL type 'volatile unsigned int'.
16833         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16834         * resolv/gai_suspend.c (gai_suspend):
16835         Give local variable CNTR type 'unsigned int'.
16837         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16838         counterp to 'volatile unsigned int *'.
16839         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16840         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16841         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16842         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16843         Give local variable TOTAL type 'volatile unsigned int'.
16844         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16846 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16848         [BZ #18383]
16849         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16850         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16851         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16852         comment for i386/x86-64.
16853         (test-xfail-tst-tlsalign-extern-static): Removed.
16855 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16857         * math/test-double.h: New file.
16858         * math/test-float.h: Likewise.
16859         * math/test-ldouble.h: Likewise.
16860         * math/test-math-inline.h: Likewise.
16861         * math/test-math-no-inline.h: Likewise.
16862         * math/test-math-scalar.h: Likewise.
16863         * math/test-math-vector.h: Likewise.
16864         * math/test-vec-loop.h: Remove file.  Contents moved into
16865         test-math-vector.h.
16866         * math/libm-test.inc (MATHCONST): Do not document macro.
16867         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16868         and test-math-scalar.h.
16869         (FUNC): Remove macro.
16870         (FUNC_TEST): Likewise.
16871         (FLOAT): Likewise.
16872         (MATHCONST): Likewise.
16873         (PRINTF_EXPR): Likewise.
16874         (PRINTF_XEXPR): Likewise.
16875         (PRINTF_NEXPR): Likewise.
16876         (TEST_DOUBLE): Likewise.
16877         (TEST_MATHVEC): Likewise.
16878         (__NO_MATH_INLINES): Likewise.
16879         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16880         and test-math-scalar.h.
16881         (FUNC): Remove macro.
16882         (FUNC_TEST): Likewise.
16883         (FLOAT): Likewise.
16884         (MATHCONST): Likewise.
16885         (PRINTF_EXPR): Likewise.
16886         (PRINTF_XEXPR): Likewise.
16887         (PRINTF_NEXPR): Likewise.
16888         (TEST_FLOAT): Likewise.
16889         (TEST_MATHVEC): Likewise.
16890         (__NO_MATH_INLINES): Likewise.
16891         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16892         and test-math-scalar.h.
16893         (FUNC): Remove macro.
16894         (FUNC_TEST): Likewise.
16895         (FLOAT): Likewise.
16896         (MATHCONST): Likewise.
16897         (PRINTF_EXPR): Likewise.
16898         (PRINTF_XEXPR): Likewise.
16899         (PRINTF_NEXPR): Likewise.
16900         (TEST_DOUBLE): Likewise.
16901         (TEST_MATHVEC): Likewise.
16902         (TEST_INLINE): Likewise.
16903         (__NO_MATH_INLINES): Likewise.
16904         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16905         test-math-scalar.h.
16906         (FUNC): Remove macro.
16907         (FUNC_TEST): Likewise.
16908         (FLOAT): Likewise.
16909         (MATHCONST): Likewise.
16910         (PRINTF_EXPR): Likewise.
16911         (PRINTF_XEXPR): Likewise.
16912         (PRINTF_NEXPR): Likewise.
16913         (TEST_FLOAT): Likewise.
16914         (TEST_MATHVEC): Likewise.
16915         (TEST_INLINE): Likewise.
16916         (__NO_MATH_INLINES): Likewise.
16917         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16918         and test-math-scalar.h.
16919         (FUNC): Remove macro.
16920         (FUNC_TEST): Likewise.
16921         (FLOAT): Likewise.
16922         (MATHCONST): Likewise.
16923         (PRINTF_EXPR): Likewise.
16924         (PRINTF_XEXPR): Likewise.
16925         (PRINTF_NEXPR): Likewise.
16926         (TEST_LDOUBLE): Likewise.
16927         (TEST_MATHVEC): Likewise.
16928         (TEST_INLINE): Likewise.
16929         (__NO_MATH_INLINES): Likewise.
16930         * math/test-ldouble.c: Include test-ldouble.h,
16931         test-math-no-inline.h and test-math-scalar.h.
16932         (FUNC): Remove macro.
16933         (FUNC_TEST): Likewise.
16934         (FLOAT): Likewise.
16935         (MATHCONST): Likewise.
16936         (PRINTF_EXPR): Likewise.
16937         (PRINTF_XEXPR): Likewise.
16938         (PRINTF_NEXPR): Likewise.
16939         (TEST_LDOUBLE): Likewise.
16940         (TEST_MATHVEC): Likewise.
16941         (__NO_MATH_INLINES): Likewise.
16942         * math/test-double-vlen2.h: Include test-double.h,
16943         test-math-no-inline.h and test-math-vector.h.
16944         (FLOAT): Remove macro.
16945         (FUNC): Likewise.
16946         (MATHCONST): Likewise.
16947         (PRINTF_EXPR): Likewise.
16948         (PRINTF_XEXPR): Likewise.
16949         (PRINTF_NEXPR): Likewise.
16950         (TEST_DOUBLE): Likewise.
16951         (TEST_MATHVEC): Likewise.
16952         (__NO_MATH_INLINES): Likewise.
16953         (CNCT): Likewise.
16954         (CONCAT): Likewise.
16955         (WRAPPER_NAME): Likewise.
16956         (WRAPPER_DECL): Likewise.
16957         (WRAPPER_DECL_ff): Likewise.
16958         (WRAPPER_DECL_fFF): Likewise.
16959         (VECTOR_WRAPPER): Likewise.
16960         (VECTOR_WRAPPER_ff): Likewise.
16961         (VECTOR_WRAPPER_fFF): Likewise.
16962         (VEC_LEN): New macro.
16963         * math/test-double-vlen4.h: Include test-double.h,
16964         test-math-no-inline.h and test-math-vector.h.
16965         (FLOAT): Remove macro.
16966         (FUNC): Likewise.
16967         (MATHCONST): Likewise.
16968         (PRINTF_EXPR): Likewise.
16969         (PRINTF_XEXPR): Likewise.
16970         (PRINTF_NEXPR): Likewise.
16971         (TEST_DOUBLE): Likewise.
16972         (TEST_MATHVEC): Likewise.
16973         (__NO_MATH_INLINES): Likewise.
16974         (CNCT): Likewise.
16975         (CONCAT): Likewise.
16976         (WRAPPER_NAME): Likewise.
16977         (WRAPPER_DECL): Likewise.
16978         (WRAPPER_DECL_ff): Likewise.
16979         (WRAPPER_DECL_fFF): Likewise.
16980         (VECTOR_WRAPPER): Likewise.
16981         (VECTOR_WRAPPER_ff): Likewise.
16982         (VECTOR_WRAPPER_fFF): Likewise.
16983         (VEC_LEN): New macro.
16984         * math/test-double-vlen8.h: Include test-double.h,
16985         test-math-no-inline.h and test-math-vector.h.
16986         (FLOAT): Remove macro.
16987         (FUNC): Likewise.
16988         (MATHCONST): Likewise.
16989         (PRINTF_EXPR): Likewise.
16990         (PRINTF_XEXPR): Likewise.
16991         (PRINTF_NEXPR): Likewise.
16992         (TEST_DOUBLE): Likewise.
16993         (TEST_MATHVEC): Likewise.
16994         (__NO_MATH_INLINES): Likewise.
16995         (CNCT): Likewise.
16996         (CONCAT): Likewise.
16997         (WRAPPER_NAME): Likewise.
16998         (WRAPPER_DECL): Likewise.
16999         (WRAPPER_DECL_ff): Likewise.
17000         (WRAPPER_DECL_fFF): Likewise.
17001         (VECTOR_WRAPPER): Likewise.
17002         (VECTOR_WRAPPER_ff): Likewise.
17003         (VECTOR_WRAPPER_fFF): Likewise.
17004         (VEC_LEN): New macro.
17005         * math/test-float-vlen4.h: Include test-float.h,
17006         test-math-no-inline.h and test-math-vector.h.
17007         (FLOAT): Remove macro.
17008         (FUNC): Likewise.
17009         (MATHCONST): Likewise.
17010         (PRINTF_EXPR): Likewise.
17011         (PRINTF_XEXPR): Likewise.
17012         (PRINTF_NEXPR): Likewise.
17013         (TEST_FLOAT): Likewise.
17014         (TEST_MATHVEC): Likewise.
17015         (__NO_MATH_INLINES): Likewise.
17016         (CNCT): Likewise.
17017         (CONCAT): Likewise.
17018         (WRAPPER_NAME): Likewise.
17019         (WRAPPER_DECL): Likewise.
17020         (WRAPPER_DECL_ff): Likewise.
17021         (WRAPPER_DECL_fFF): Likewise.
17022         (VECTOR_WRAPPER): Likewise.
17023         (VECTOR_WRAPPER_ff): Likewise.
17024         (VECTOR_WRAPPER_fFF): Likewise.
17025         (VEC_LEN): New macro.
17026         * math/test-float-vlen8.h: Include test-float.h,
17027         test-math-no-inline.h and test-math-vector.h.
17028         (FLOAT): Remove macro.
17029         (FUNC): Likewise.
17030         (MATHCONST): Likewise.
17031         (PRINTF_EXPR): Likewise.
17032         (PRINTF_XEXPR): Likewise.
17033         (PRINTF_NEXPR): Likewise.
17034         (TEST_FLOAT): Likewise.
17035         (TEST_MATHVEC): Likewise.
17036         (__NO_MATH_INLINES): Likewise.
17037         (CNCT): Likewise.
17038         (CONCAT): Likewise.
17039         (WRAPPER_NAME): Likewise.
17040         (WRAPPER_DECL): Likewise.
17041         (WRAPPER_DECL_ff): Likewise.
17042         (WRAPPER_DECL_fFF): Likewise.
17043         (VECTOR_WRAPPER): Likewise.
17044         (VECTOR_WRAPPER_ff): Likewise.
17045         (VECTOR_WRAPPER_fFF): Likewise.
17046         (VEC_LEN): New macro.
17047         * math/test-float-vlen16.h: Include test-float.h,
17048         test-math-no-inline.h and test-math-vector.h.
17049         (FLOAT): Remove macro.
17050         (FUNC): Likewise.
17051         (MATHCONST): Likewise.
17052         (PRINTF_EXPR): Likewise.
17053         (PRINTF_XEXPR): Likewise.
17054         (PRINTF_NEXPR): Likewise.
17055         (TEST_FLOAT): Likewise.
17056         (TEST_MATHVEC): Likewise.
17057         (__NO_MATH_INLINES): Likewise.
17058         (CNCT): Likewise.
17059         (CONCAT): Likewise.
17060         (WRAPPER_NAME): Likewise.
17061         (WRAPPER_DECL): Likewise.
17062         (WRAPPER_DECL_ff): Likewise.
17063         (WRAPPER_DECL_fFF): Likewise.
17064         (VECTOR_WRAPPER): Likewise.
17065         (VECTOR_WRAPPER_ff): Likewise.
17066         (VECTOR_WRAPPER_fFF): Likewise.
17067         (VEC_LEN): New macro.
17068         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17069         test-vec-loop.h.
17070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17071         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17073         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17074         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17076         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17078 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17080         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17081         (__getlogin_r): ... this.
17083 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #18594]
17086         * math/s_ccosh.c (__ccosh): Compare with least normal value
17087         instead of comparing class with FP_SUBNORMAL.
17088         * math/s_ccoshf.c (__ccoshf): Likewise.
17089         * math/s_ccoshl.c (__ccoshl): Likewise.
17090         * math/s_cexp.c (__cexp): Likewise.
17091         * math/s_cexpf.c (__cexpf): Likewise.
17092         * math/s_cexpl.c (__cexpl): Likewise.
17093         * math/s_csin.c (__csin): Likewise.
17094         * math/s_csinf.c (__csinf): Likewise.
17095         * math/s_csinh.c (__csinh): Likewise.
17096         * math/s_csinhf.c (__csinhf): Likewise.
17097         * math/s_csinhl.c (__csinhl): Likewise.
17098         * math/s_csinl.c (__csinl): Likewise.
17099         * math/s_ctan.c (__ctan): Likewise.
17100         * math/s_ctanf.c (__ctanf): Likewise.
17101         * math/s_ctanh.c (__ctanh): Likewise.
17102         * math/s_ctanhf.c (__ctanhf): Likewise.
17103         * math/s_ctanhl.c (__ctanhl): Likewise.
17104         * math/s_ctanl.c (__ctanl): Likewise.
17105         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17106         csin, csinh, ctan and ctanh.
17107         * math/auto-libm-test-out: Regenerated.
17108         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17109         * sysdeps/i386/fpu/libm-test-ulps: Update.
17110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17112 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17114         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17115         return value is wrong, print the expected value too.
17117 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17119         [BZ #18585]
17120         * elf/readlib.c (is_gdb_python_file): New.
17121         (process_file): Don't issue errors on filenames with -gdb.py
17122         suffix.
17124 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17126         * math/auto-libm-test-in: Add more tests of csin and csinh.
17127         * math/auto-libm-test-out: Regenerated.
17128         * math/libm-test.inc (csin_test_data): Remove tests moved to
17129         auto-libm-test-in.
17130         (csinh_test_data): Likewise.
17132         [BZ #18593]
17133         * math/s_csin.c (__csin): Negate before rather than after possibly
17134         overflowing multiplication.
17135         * math/s_csinf.c (__csinf): Likewise.
17136         * math/s_csinh.c (__csinh): Likewise.
17137         * math/s_csinhf.c (__csinhf): Likewise.
17138         * math/s_csinhl.c (__csinhl): Likewise.
17139         * math/s_csinl.c (__csinl): Likewise.
17140         * math/auto-libm-test-in: Add some tests of csin and csinh.
17141         * math/auto-libm-test-out: Regenerated.
17142         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17143         (csinh_test_data): Likewise.
17144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17146         [BZ #18586]
17147         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17148         underflow exception for small results.
17150 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17152         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17154         variable and included header.
17155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17157         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17163         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17164         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17165         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17166         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17167         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17168         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17169         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17170         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17172 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17174         [BZ #16526]
17175         [BZ #16538]
17176         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17177         (__sin): Force underflow exception for arguments with small
17178         absolute value.
17179         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17180         (__kernel_sinf): Force underflow exception for arguments with
17181         small absolute value.
17182         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17183         (__kernel_sincosl): Force underflow exception for arguments with
17184         small absolute value.
17185         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17186         (__kernel_sinl): Force underflow exception for arguments with
17187         small absolute value.
17188         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17189         (__kernel_sincosl): Force underflow exception for arguments with
17190         small absolute value.
17191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17192         (__kernel_sinl): Force underflow exception for arguments with
17193         small absolute value.
17194         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17195         (__kernel_sinl): Force underflow exception for arguments with
17196         small absolute value.
17197         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17198         (__kernel_sinf): Force underflow exception for arguments with
17199         small absolute value.
17200         * math/auto-libm-test-in: Add more tests of sin and sincos.
17201         * math/auto-libm-test-out: Regenerated.
17203         [BZ #18245]
17204         [BZ #18583]
17205         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17206         (__kernel_standard_l): Use feholdexcept and fesetenv around
17207         conversion to double instead of special-casing overflow and
17208         underflow.
17209         * math/libm-test.inc (fmod_test_data): Add more tests.
17210         (remainder_test_data): Likewise.
17211         (sqrt_test_data): Likewise.
17213 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17215         [BZ #17403]
17216         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17217         atomic_read_barrier, atomic_write_barrier): Define.
17218         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17219         atomic_read_barrier, atomic_write_barrier): Define.
17221 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17223         * math/Makefile [$(PERL) != no]
17224         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17225         dependency on libm-test.stmp below the inclusion of Rules.
17227 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17229         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17231         and included header.
17232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17240         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17241         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17242         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17243         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17244         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17245         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17246         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17247         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17248         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17249         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17250         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17252 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17254         [BZ #18371]
17255         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17256         intermediate but not final result might underflow.
17257         * math/s_csqrtf.c (__csqrtf): Likewise.
17258         * math/s_csqrtl.c (__csqrtl): Likewise.
17259         * math/auto-libm-test-in: Add more tests of csqrt.
17260         * math/auto-libm-test-out: Regenerated.
17261         * sysdeps/i386/fpu/libm-test-ulps: Update.
17263         [BZ #18219]
17264         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17265         threshold on absolute value of exponent for which scaling is used.
17266         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17267         * math/auto-libm-test-in: Add more tests of exp2.
17268         * math/auto-libm-test-out: Regenerated.
17270 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17272         [BZ #17977]
17273         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17274         when initializing interface list, based on the bug analysis
17275         and the patch proposed by Eric Newton.
17276         * resolv/tst-res_hconf_reorder.c: New test.
17277         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17278         tst-res_hconf_reorder.
17279         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17280         and $(shared-thread-library).
17281         (tst-res_hconf_reorder-ENV): New variable.
17283         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17284         in comment.
17286 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17288         [BZ #16353]
17289         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17290         (__expm1): Force underflow exception for arguments with small
17291         absolute value.
17292         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17293         (__expm1f): Force underflow exception for arguments with small
17294         absolute value.
17295         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17296         (__expm1): Force underflow exception for arguments with small
17297         absolute value.
17298         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17299         (__expm1f): Force underflow exception for arguments with small
17300         absolute value.
17301         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17302         Check for small arguments before calling __expm1.
17303         * math/auto-libm-test-in: Do not mark underflow exceptions as
17304         possibly missing for bug 16353.
17305         * math/auto-libm-test-out: Regenerated.
17307 2015-06-22  Andreas Schwab  <schwab@suse.de>
17309         [BZ #18513]
17310         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17311         PTR queries.
17313 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17315         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17317         * string/strcoll_l.c: Remove unused struct element idxnow.
17319 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17321         [BZ #18569]
17322         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17323         underflow and return argument in case of subnormal argument.
17324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17325         Likewise.
17326         * math/auto-libm-test-in: Add more tests of expm1.
17327         * math/auto-libm-test-out: Regenerated.
17329         [BZ #16361]
17330         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17331         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17332         tiny results.
17333         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17334         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17335         tiny results.
17336         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17337         mark underflow exceptions as possibly missing for bug 16361.
17338         * math/auto-libm-test-out: Regenerated.
17340 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17342         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17343         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17344         Remove variable.
17345         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17346         (test-xfail-XOPEN2K8/utmpx.h/conform).
17348         * conform/conformtest.pl ($xerrors): New variable.
17349         (note_error): New function.
17350         (compiletest): New argument $xfail.  Use not_error.
17351         (runtest): Likewise.
17352         (top level): Handle xfail- lines.  Update calls to compiletest and
17353         runtest.  Handle xfail- and optional- in headers listed with
17354         allow-header.
17355         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17356         (O_EXEC): Likewise.
17357         (O_SEARCH): Likewise.
17358         * conform/data/stropts.h-data (ioctl): Likewise.
17359         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17360         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17361         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17362         (msghdr.msg_controllen): Likewise.
17363         (cmsghdr.cmsg_len): Likewise.
17364         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17365         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17366         variable.
17367         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17368         (test-xfail-XPG4/stropts.h/conform): Likewise.
17369         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17370         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17371         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17372         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17373         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17374         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17375         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17376         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17377         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17378         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17379         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17380         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17381         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17382         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17383         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17384         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17385         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17386         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17387         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17389 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17391         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17392         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17393         definitions for proper unfolding of __MATHDECL_VEC.
17395 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17397         * benchtests/bench-strcoll.c:
17398         Include string.h.
17399         (main): Remove unused variable res.
17401 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17403         * timezone/Makefile (%/UTC %/Universal):
17404         Generate test-result files for UTC and Universal.
17406 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17408         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17410 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17412         [BZ #16350]
17413         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17414         for arguments with small absolute value.
17415         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17416         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17417         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17418         (__asinh): Force underflow exception for arguments with small
17419         absolute value.
17420         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17421         (__asinhf): Force underflow exception for arguments with small
17422         absolute value.
17423         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17424         (__asinhl): Force underflow exception for arguments with small
17425         absolute value.
17426         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17427         (__asinhl): Force underflow exception for arguments with small
17428         absolute value.
17429         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17430         (__asinhl): Force underflow exception for arguments with small
17431         absolute value.
17432         * math/auto-libm-test-in: Do not mark underflow exceptions as
17433         possibly missing for bug 16350.
17434         * math/auto-libm-test-out: Regenerated.
17436         * include/bits/ipc.h: Remove file.
17437         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17438         variable.
17439         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17440         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17441         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17442         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17443         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17444         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17445         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17446         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17447         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17449         * math/auto-libm-test-in: Remove spurious underflow allowance for
17450         tests of cexp.
17451         * math/auto-libm-test-out: Regenerated.
17453         [BZ #18558]
17454         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17455         unconditional definition.
17456         (MCAST_BLOCK_SOURCE): Likewise.
17457         (MCAST_UNBLOCK_SOURCE): Likewise.
17458         (MCAST_LEAVE_GROUP): Likewise.
17459         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17460         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17461         (MCAST_MSFILTER): Likewise.
17462         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17463         Remove variable.
17464         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17465         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17466         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17467         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17468         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17470 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17472         * NEWS: Mention addition of x86_64 vector sincosf.
17473         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17474         * math/test-float-vlen4.h: Likewise.
17475         * math/test-float-vlen8.h: Likewise.
17476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17477         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17478         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17479         * sysdeps/x86_64/fpu/Versions: New versions added.
17480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17481         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17482         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17484         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17489         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17490         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17491         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17492         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17493         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17494         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17495         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17496         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17497         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17498         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17499         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17500         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17502         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17503         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17505         * NEWS: Mention addition of x86_64 vector sincos.
17506         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17507         * math/math.h (__MATHDECL_VEC): New macro.
17508         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17509         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17510         declaration under condition.
17511         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17512         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17513         TEST_VEC_LOOP change.
17514         * math/test-double-vlen4.h: Likewise.
17515         * math/test-double-vlen8.h: Likewise.
17516         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17517         * math/test-float-vlen4.h: Likewise.
17518         * math/test-float-vlen8.h: Likewise.
17519         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17520         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17521         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17522         * sysdeps/x86_64/fpu/Versions: New versions added.
17523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17524         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17525         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17532         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17533         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17534         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17535         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17536         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17537         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17538         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17539         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17540         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17543         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17544         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17545         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17546         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17548         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17549         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17550         redirections for powf.
17551         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17552         * sysdeps/x86_64/fpu/Versions: New versions added.
17553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17554         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17555         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17556         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17561         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17562         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17563         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17564         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17565         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17566         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17567         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17568         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17569         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17570         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17571         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17572         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17573         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17575         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17576         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17577         * math/test-float-vlen16.h: Fixed 2 argument macro.
17578         * math/test-float-vlen4.h: Likewise.
17579         * math/test-float-vlen8.h: Likewise.
17580         * NEWS: Mention addition of x86_64 vector powf.
17582 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17584         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17585         and redefine.
17586         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17587         and redefine.
17588         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17592         [BZ #18553]
17593         * resource/getpriority.c (getpriority): Rename to __getpriority
17594         and define as weak alias of __getpriority.
17595         * resource/setpriority.c (setpriority): Rename to __setpriority
17596         and define as weak alias of __setpriority.
17597         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17598         __getpriority and define as weak alias of __getpriority.
17599         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17600         __setpriority and define as weak alias of __setpriority.
17601         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17602         strong name.
17603         (setpriority): Use __setpriority as strong name.
17604         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17605         __getpriority and define as weak alias of __getpriority.
17606         * include/sys/resource.h (__getpriority): Declare.  Use
17607         libc_hidden_proto.
17608         (__setpriority): Likewise.
17609         (getpriority): Don't use libc_hidden_proto.
17610         (setpriority): Likewise.
17611         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17612         getpriority.  Call __setpriority instead of setpriority.
17613         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17614         Remove variable.
17616         [BZ #18547]
17617         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17618         as weak alias of __getttynam.  Use prototype function definition.
17619         Call __setttyent, __getttyent and __endttyent instead of
17620         setttyent, getttyent and endttyent.
17621         (getttyent): Rename to __getttyent and define as weak alias of
17622         __getttyent.  Call __setttyent instead of setttyent.  Call
17623         __fgets_unlocked instead of fgets_unlocked.
17624         (setttyent): Rename to __setttyent and define as weak alias of
17625         __setttyent.
17626         (endttyent): Rename to __endttyent and define as weak alias of
17627         __endttyent.
17628         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17629         (__setttyent): Likewise.
17630         (__endttyent): Likewise.
17631         (getttyent): Don't use libc_hidden_proto.
17632         (setttyent): Likewise.
17633         (endttyent): Likewise.
17634         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17635         __endttyent instead of setttyent, getttyent and endttyent.
17636         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17637         Remove variable.
17639         [BZ #18546]
17640         * socket/recv.c (__recv): Use libc_hidden_def.
17641         * socket/socket.c (__socket): Likewise.
17642         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17643         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17644         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17645         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17646         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17647         libc_hidden_def.
17648         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17649         libc_hidden_weak.
17650         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17651         Use libc_hidden_proto.
17652         (__recv): Likewise.
17653         * socket/Versions (libc): Export __recv and __socket at version
17654         GLIBC_PRIVATE.
17655         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17656         instead of recv.
17657         (init_mq_netlink): Call __socket instead of socket.
17658         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17659         Remove variable.
17661         [BZ #18545]
17662         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17663         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17664         hidden_weak.
17665         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17666         define as alias of __mq_timedsend.  Use hidden_weak.
17667         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17668         __mq_timedsend as strong name.
17669         (mq_timedreceive): Use __mq_timedreceive as strong name.
17670         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17671         (__mq_timedreceive): Likewise.
17672         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17673         __mq_timedreceive instead of mq_timedreceive.
17674         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17675         instead of mq_timedsend.
17676         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17677         Remove variable.
17679         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17680         hidden_def and hidden_weak instead of libc_hidden_def and
17681         libc_hidden_weak.
17682         (top level): Refer to hidden_def in comment.
17683         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17684         macro.  Use it instead of libc_hidden_def.
17685         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17686         specify __GI_* name explicitly.
17687         (mq_timedreceive): Likewise.
17688         (mq_setattr): Likewise.
17690         [BZ #18544]
17691         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17692         __pthread_barrier_init and define as weak alias of
17693         __pthread_barrier_init.
17694         * sysdeps/sparc/nptl/pthread_barrier_init.c
17695         (pthread_barrier_init): Likewise.
17696         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17697         __pthread_barrier_wait and define as weak alias of
17698         __pthread_barrier_wait.
17699         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17700         (pthread_barrier_wait): Likewise.
17701         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17702         (pthread_barrier_wait): Likewise.
17703         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17704         (pthread_barrier_wait): Likewise.
17705         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17706         (pthread_barrier_wait): Likewise.
17707         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17708         __pthread_barrier_wait at version GLIBC_PRIVATE.
17709         * include/pthread.h (__pthread_barrier_init): Declare.
17710         (__pthread_barrier_wait): Likewise.
17711         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17712         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17713         (helper_thread): Likewise.
17714         (init_mq_netlink): Call __pthread_barrier_init instead of
17715         pthread_barrier_init.
17717         [BZ #18542]
17718         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17719         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17720         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17721         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17722         vswscanf.
17723         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17724         Remove variable.
17726         [BZ #18540]
17727         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17728         strong alias of _IO_fflush.  Use libc_hidden_def.
17729         * libio/iofflush_u.c (fflush_unlocked): Rename to
17730         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17731         Use libc_hidden_weak.
17732         * include/stdio.h (__fflush_unlocked): Declare.  Use
17733         libc_hidden_proto.
17734         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17735         fflush_unlocked.
17736         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17737         Remove variable.
17739         [BZ #18539]
17740         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17741         define as weak alias of __addseverity.
17742         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17743         Remove variable.
17744         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17745         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17746         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17748         [BZ #18536]
17749         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17750         (__tfind): Likewise.
17751         (__tdelete): Likewise.
17752         (__twalk): Likewise.
17753         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17754         __twalk to GLIBC_PRIVATE.
17755         * include/search.h (__tsearch): Use libc_hidden_proto.
17756         (__tfind): Likewise.
17757         (__tdelete): Likewise.
17758         (__twalk): Likewise.
17759         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17760         Call __tdelete instead of tdelete.
17761         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17762         tfind.  Call __tsearch instead of tsearch.
17763         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17764         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17765         Remove variable.
17766         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17768         [BZ #18534]
17769         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17770         (dprintf): Define as a weak alias of __dprintf, not a strong
17771         alias.
17772         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17773         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17774         dprintf.
17775         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17776         Remove variable.
17777         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17778         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17780         [BZ #18533]
17781         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17782         not a strong alias.
17783         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17784         Remove variable.
17786         [BZ #18532]
17787         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17788         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17789         (in6addr_loopback): Rename to __in6addr_loopback and define as
17790         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17791         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17792         libc_hidden_proto.
17793         (__in6addr_any): Likewise.
17794         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17795         in6addr_any.
17796         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17797         variable.
17798         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17800 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17802         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17803         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17805         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17806         redirections for pow.
17807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17808         * sysdeps/x86_64/fpu/Versions: New versions added.
17809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17811         build of SSE, AVX2 and AVX512 IFUNC versions.
17812         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17817         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17819         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17820         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17821         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17822         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17823         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17824         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17825         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17833         * NEWS: Mention addition of x86_64 vector pow.
17835         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17836         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17837         redirections for expf.
17838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17839         * sysdeps/x86_64/fpu/Versions: New versions added.
17840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17842         build of SSE, AVX2 and AVX512 IFUNC versions.
17843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17847         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17848         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17849         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17850         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17851         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17852         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17853         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17854         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17855         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17856         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17857         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17858         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17861         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17862         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17863         * NEWS: Mention addition of x86_64 vector expf.
17865         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17866         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17867         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17868         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17869         redirections for exp.
17870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17871         * sysdeps/x86_64/fpu/Versions: New versions added.
17872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17873         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17874         build of SSE, AVX2 and AVX512 IFUNC versions.
17875         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17877         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17878         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17879         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17880         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17881         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17882         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17883         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17884         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17885         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17886         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17887         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17888         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17891         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17892         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17893         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17894         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17895         * NEWS: Mention addition of x86_64 vector exp.
17897         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17898         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17899         redirections for logf.
17900         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17901         * sysdeps/x86_64/fpu/Versions: New versions added.
17902         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17903         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17904         build of SSE, AVX2 and AVX512 IFUNC versions.
17905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17911         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17912         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17913         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17914         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17915         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17916         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17917         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17918         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17919         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17920         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17921         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17922         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17923         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17924         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17925         * NEWS: Mention addition of x86_64 vector logf.
17927         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17928         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17929         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17930         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17931         redirections for log.
17932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17933         * sysdeps/x86_64/fpu/Versions: New versions added.
17934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17936         build of SSE, AVX2 and AVX512 IFUNC versions.
17937         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17938         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17939         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17940         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17941         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17942         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17943         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17944         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17945         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17946         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17947         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17948         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17949         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17950         test.
17951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17958         * NEWS: Mention addition of x86_64 vector log.
17960 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17962         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17963         cfi_adjust_cfa_offset argument.
17964         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17965         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17967         [BZ #18034]
17968         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17969         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17970         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17971         ordering using ldar.
17972         (_dl_tlsdesc_dynamic): Likewise.
17973         (_dl_tlsdesc_return_lazy): Likewise.
17974         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17975         relaxed atomics instead of volatile and synchronize with release store.
17976         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17977         volatile.
17978         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17980 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17982         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17983         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17985         * sysdeps/x86_64/fpu/Versions: New versions added.
17986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17987         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17988         build of SSE, AVX2 and AVX512 IFUNC versions.
17989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17995         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17996         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17997         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17998         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17999         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18000         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18001         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18002         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18003         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18004         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18007         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18008         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18009         * NEWS: Mention addition of x86_64 vector sinf.
18011 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18013         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18014         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18015         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18016         Remove variable.
18017         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18018         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18020 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18022         [BZ #18530]
18023         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18024         strong alias of _IO_fputs.  Use libc_hidden_def.
18025         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18026         and define as weak alias of __fputs_unlocked.  Use
18027         libc_hidden_weak.
18028         * include/stdio.h (__fputs_unlocked): Declare.  Use
18029         libc_hidden_proto.
18030         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18031         fputs_unlocked.
18033         [BZ #18529]
18034         * resolv/netdb.h [__USE_POSIX]: Change condition to
18035         [__USE_XOPEN2K].
18036         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18037         not expect.
18038         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18039         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18040         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18041         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18042         [XPG4 || UNIX98] (AI_ALL): Likewise.
18043         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18044         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18045         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18046         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18047         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18048         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18049         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18050         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18051         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18052         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18053         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18054         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18055         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18056         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18057         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18058         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18059         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18060         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18061         [XPG4 || UNIX98] (gai_strerror): Likewise.
18062         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18063         [XPG4 || UNIX98] (getnameinfo): Likewise.
18065         [BZ #18528]
18066         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18067         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18068         __USE_XOPEN2K8].
18069         (getgrent): Likewise.
18070         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18071         expect.
18072         [XPG3 || POSIX2008] (endgrent): Likewise.
18073         [XPG3] (setgrent): Likewise.
18074         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18075         variable.
18076         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18078         [BZ #18527]
18079         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18080         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18081         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18082         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18083         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18084         * include/unistd.h (__getlogin_r): Declare.  Use
18085         libc_hidden_proto.
18086         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18087         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18088         variable.
18089         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18090         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18091         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18093 2015-06-12  Martin Sebor  <msebor@redhat.com>
18095         [BZ #18512]
18096         * Makerules (check-install-supported): New target.
18097         (install): Add check-install-supported as a dependency.
18098         * manual/install.texi (Installing the C Library): Document
18099         that overriding prefix and exec_prefix is not supported.
18100         Mention DESTDIR.
18101         * INSTALL: Regenerate from the above.
18103 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18105         [BZ #18519]
18106         * posix/Versions (libc): Export __libc_pread at version
18107         GLIBC_PRIVATE.
18108         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18109         instead of pread.
18110         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18111         variable.
18113         [BZ #18522]
18114         * misc/efgcvt_r.c
18115         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18116         (cvt_symbol): Use weak_alias instead of strong_alias.
18117         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18118         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18119         Remove variable.
18120         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18121         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18123         [BZ #18520]
18124         * inet/herrno.c (h_errno): Rename to __h_errno.
18125         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18126         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18127         to __h_errno instead of h_errno.
18128         * nptl/herrno.c (h_errno): Rename to __h_errno.
18129         (__h_errno_location): Refer to __h_errno not h_errno.
18130         * resolv/Versions (h_errno): Rename to __h_errno.
18131         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18132         Remove variable.
18133         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18135 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18137         * configure.ac: More strict check for AVX512 assembler support.
18138         * configure: Regenerated.
18140         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18141         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18142         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18143         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18144         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18145         * sysdeps/x86_64/fpu/Versions: New versions added.
18146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18147         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18148         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18155         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18156         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18157         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18158         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18159         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18160         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18161         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18162         test.
18163         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18164         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18166         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18167         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18168         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18169         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18170         * NEWS: Mention addition of x86_64 vector sin.
18172 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18174         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18175         comment.
18177 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18179         [BZ #18479]
18180         * nptl/pt-interp.c: New file.
18181         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18182         Add pt-interp.
18183         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18184         $(common-objpfx)runtime-linker.h.
18186 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18188         * Makeconfig (+interp): Remove unused variable.
18189         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18190         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18191         $(elf-objpfx)runtime-linker.h.
18192         ($(elf-objpfx)runtime-linker.h): Rename to
18193         $(common-objpfx)runtime-linker.h and move ...
18194         * Makerules [$(build-shared) = yes]: ... here.
18195         * elf/interp.c: Include <runtime-linker.h> instead of
18196         <elf/runtime-linker.h>.
18198 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18200         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18201         (__gettimeofday_syscall): Remove vsyscall fallback.
18202         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18203         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18204         Add syscall fallback function.
18205         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18206         if vDSO is not present.
18207         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18208         fallback function.
18209         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18210         present.
18211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18212         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18214 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18216         [BZ #18497]
18217         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18218         of wcscmp.
18219         (wcscmp): Define as weak alias of WCSCMP.
18220         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18221         wcscoll.
18222         (USE_HIDDEN_DEF): Define.
18223         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18224         __wcscoll.  Don't use libc_hidden_weak.
18225         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18226         wcscmp.
18227         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18228         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18229         __GI_wcscmp.
18230         (weak_alias): Undefine and redefine.
18231         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18232         __wcscmp and define as weak alias of __wcscmp.
18233         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18234         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18235         (__wcscoll): Likewise.
18236         (wcscmp): Don't use libc_hidden_proto.
18237         (wcscoll): Likewise.
18238         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18239         wcscoll.
18240         * posix/regexec.c (check_node_accept_bytes): Likewise.
18241         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18242         variable.
18243         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18244         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18246         [BZ #18507]
18247         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18248         __fstatvfs and define as weak alias of __fstatvfs.  Use
18249         libc_hidden_weak.
18250         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18251         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18252         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18253         Define as alias of __fstatvfs, not fstatvfs.
18254         (fstatvfs64): Likewise.
18255         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18256         Define as alias of __statvfs, not statvfs.
18257         (statvfs64): Likewise.
18258         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18259         Remove variable.
18261 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18264         (HAVE_GETCPU_VSYSCALL): Define.
18265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18266         (HAVE_GETCPU_VSYSCALL): Likewise.
18267         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18268         * sysdeps/unix/sysv/linux/sched_getcpu.c
18269         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18270         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18271         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18272         prototype.
18273         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18274         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18275         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18277         Define.
18278         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18279         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18280         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18281         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18283 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18285         * sysdeps/x86_64/fpu/Makefile: New file.
18286         * sysdeps/x86_64/fpu/Versions: New file.
18287         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18288         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18289         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18290         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18291         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18292         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18293         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18299         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18300         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18301         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18302         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18303         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18304         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18305         * sysdeps/x86_64/configure: Regenerated.
18306         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18307         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18308         * manual/install.texi (Configuring and compiling): Document
18309         --disable-mathvec.
18310         * INSTALL: Regenerated.
18311         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18313         * math/Makefile: Added rules for vector tests.
18314         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18315         declaration under condition.
18316         * math/test-double-vlen2.h: New file.
18317         * math/test-double-vlen4.h: New file.
18318         * math/test-double-vlen8.h: New file.
18319         * math/test-vec-loop.h: Added initialization macro.
18320         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18322         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18323         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18324         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18326         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18327         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18328         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18329         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18330         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18333         * sysdeps/x86_64/fpu/Versions: New versions added.
18334         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18337         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18338         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18341         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18342         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18344         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18345         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18346         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18348         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18349         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18350         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18351         * NEWS: Mention addition of x86_64 vector cosf.
18353         * math/Makefile: Added CFLAGS for new tests.
18354         * math/test-float-vlen16.h: New file.
18355         * math/test-float-vlen4.h: New file.
18356         * math/test-float-vlen8.h: New file.
18357         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18358         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18360         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18361         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18362         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18363         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18364         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18366         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18367         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18369 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18371         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18372         * locale/programs/ld-ctype.c: Likewise.
18374 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18376         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18377         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18378         bit_ZMM16_31_state): New macro.
18379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18380         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18382 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18384         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18386 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18388         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18390 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18392         [BZ #18498]
18393         * libio/memstream.c (open_memstream): Rename to __open_memstream
18394         and define as weak alias of __open_memstream.
18395         * include/stdio.h (__open_memstream): Declare.  Use
18396         libc_hidden_proto.
18397         (open_memstream): Don't use libc_hidden_proto.
18398         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18399         open_memstream.
18400         * posix/getopt.c (_getopt_internal_r): Likewise.
18401         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18402         variable.
18403         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18404         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18405         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18407         [BZ #18496]
18408         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18409         instead of wcrtomb.
18411         [BZ #18483]
18412         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18413         [__USE_XOPEN2K8].  Remove redundant #endif.
18414         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18415         Remove redundant #if.
18416         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18417         Remove variable.
18418         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18419         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18421         [BZ #18495]
18422         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18423         (__iswlower): Likewise.
18424         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18425         (__iswlower): Likewise.
18426         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18427         instead of towlower.
18428         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18429         instead of iswlower.  Call __towupper instead of towupper.
18430         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18431         instead of iswalnum.
18433 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18435         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18436         errors to stderr.
18438 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18440         [BZ #15661]
18441         [BZ #17322]
18442         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18443         Check for overflow properly.  Check for O_APPEND.  Ignore large
18444         file system block sizes.  Add comments about problems.
18445         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18446         * manual/filesys.texi (Storage Allocation): New node.
18448 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18450         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18451         cancellable syscalls.
18452         (SYS_ify): Add guard to no redefine it.
18453         (INLINE_SYSCALL): Likewise.
18454         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18455         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18456         SYSCALL_CANCEL instead.
18457         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18458         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18459         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18460         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18461         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18462         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18463         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18464         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18465         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18466         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18467         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18468         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18469         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18470         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18471         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18473         Likewise.
18474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18475         (__libc_pread64): Likewise.
18476         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18477         (__libc_preadv): Likewise.
18478         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18479         (__libc_readv64): Likewise.
18480         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18481         (__libc_pwrite): Likewise.
18482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18483         (__libc_pwrite64): Likewise.
18484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18485         (__libc_pwritev): Likewise.
18486         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18487         (__libc_pwritev64): Likewise.
18488         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18489         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18490         (sync_file_range): Likewise.
18491         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18492         Likewise.
18493         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18494         Likewise.
18495         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18496         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18497         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18498         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18499         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18500         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18501         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18502         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18504         Likewise.
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18506         (__libc_read64): Likewise.
18507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18508         Likewise.
18509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18510         Likewise.
18511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18512         Likewise.
18513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18514         Likewise.
18515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18516         (__libc_pread64): Likewise.
18517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18518         Likewise.
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18520         (__libc_pwrite64): Likewise.
18521         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18522         (sync_file_range): Likewise.
18523         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18524         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18525         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18526         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18527         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18528         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18529         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18530         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18531         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18532         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18533         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18534         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18535         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18536         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18537         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18538         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18539         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18540         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18541         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18542         Likewise.
18543         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18544         Likewise.
18545         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18546         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18547         Likewise.
18548         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18549         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18550         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18551         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18552         Likewise.
18553         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18554         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18555         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18556         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18557         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18559 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18561         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18562         Include dl-vdso.
18563         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18564         Use VDSO routines for gettimeofday, clock_gettime if
18565         available.
18566         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18567         Declare VDSO symbols.
18568         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18569         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18570         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18571         * sysdeps/unix/sysv/linux/arm/Versions: Add
18572         __vdso_clock_gettime.
18574 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18576         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18577         be an inline implementation regardless of library is built within.
18578         (open_not_cancel_2): Likewise.
18579         (__read_nocancel): Likewise.
18580         (__write_nocancel): Likewise.
18581         (openat_not_cancel): Likewise.
18582         (openat_not_cancel_3): Likewise.
18583         (openat64_not_cancel): Likewise.
18584         (openat64_not_cancel_3): Likewise.
18585         (__close_nocancel): Likewise.
18586         (pause_not_cancel): Likewise.
18587         (nanosleep_not_cancel): Likewise.
18588         (sigsuspend_not_cancel): Likewise.
18590 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18592         [BZ #14958]
18593         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18594         wake-up.
18595         (__pthread_rwlock_rdlock_slow): Likewise.
18596         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18597         Likewise.
18598         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18599         Likewise.
18600         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18601         * nptl/tst-rwlock16.c: New file.
18602         * nptl/Makefile (tests): Add new test.
18604 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18606         [BZ #18324]
18607         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18608         missing wake-up of readers.
18609         * nptl/tst-rwlock15.c: New file.
18610         * nptl/Makefile (tests): Add new test.
18612 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18614         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18615         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18616         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18617         and __nacl_supply_interface_rtld.
18618         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18619         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18620         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18621         Add __nacl_supply_interface_rtld.
18622         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18624 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18626         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18627         isfinite.
18628         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18629         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18631 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18633         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18634         __signbit* with standard C99 macros.
18635         * math/e_exp10l.c: Likewise.
18636         * math/e_exp2l.c: Likewise.
18637         * math/e_scalb.c: Likewise.
18638         * math/e_scalbf.c: Likewise.
18639         * math/e_scalbl.c: Likewise.
18640         * math/s_ldexp.c: Likewise.
18641         * math/s_ldexpf.c: Likewise.
18642         * math/s_ldexpl.c: Likewise.
18643         * math/w_atan2.c: Likewise.
18644         * math/w_atan2f.c: Likewise.
18645         * math/w_atan2l.c: Likewise.
18646         * math/w_cosh.c: Likewise.
18647         * math/w_coshf.c: Likewise.
18648         * math/w_coshl.c: Likewise.
18649         * math/w_exp10.c: Likewise.
18650         * math/w_exp10f.c: Likewise.
18651         * math/w_exp10l.c: Likewise.
18652         * math/w_exp2.c: Likewise.
18653         * math/w_exp2f.c: Likewise.
18654         * math/w_exp2l.c: Likewise.
18655         * math/w_fmod.c: Likewise.
18656         * math/w_fmodf.c: Likewise.
18657         * math/w_fmodl.c: Likewise.
18658         * math/w_hypot.c: Likewise.
18659         * math/w_hypotf.c: Likewise.
18660         * math/w_hypotl.c: Likewise.
18661         * math/w_jnl.c: Likewise.
18662         * math/w_lgamma.c: Likewise.
18663         * math/w_lgamma_r.c: Likewise.
18664         * math/w_lgammaf.c: Likewise.
18665         * math/w_lgammaf_r.c: Likewise.
18666         * math/w_lgammal.c: Likewise.
18667         * math/w_lgammal_r.c: Likewise.
18668         * math/w_pow.c: Likewise.
18669         * math/w_powf.c: Likewise.
18670         * math/w_powl.c: Likewise.
18671         * math/w_remainder.c: Likewise.
18672         * math/w_remainderf.c: Likewise.
18673         * math/w_remainderl.c: Likewise.
18674         * math/w_scalb.c: Likewise.
18675         * math/w_scalbf.c: Likewise.
18676         * math/w_scalbl.c: Likewise.
18677         * math/w_scalbln.c: Likewise.
18678         * math/w_scalblnf.c: Likewise.
18679         * math/w_scalblnl.c: Likewise.
18680         * math/w_sinh.c: Likewise.
18681         * math/w_sinhf.c: Likewise.
18682         * math/w_sinhl.c: Likewise.
18683         * math/w_tgamma.c: Likewise.
18684         * math/w_tgammaf.c: Likewise.
18685         * math/w_tgammal.c: Likewise.
18686         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18687         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18688         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18689         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18690         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18691         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18692         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18693         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18694         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18695         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18696         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18709         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18711         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18712         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18713         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18714         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18715         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18717         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18718         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18719         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18720         * stdio-common/printf_fp.c: Likewise.
18721         * stdio-common/printf_fphex.c: Likewise.
18722         * stdio-common/printf_size.c: Likewise.
18724 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18726         [BZ #18470]
18727         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18728         strnlen.
18729         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18730         Remove variable.
18731         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18732         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18733         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18734         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18735         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18736         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18737         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18738         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18739         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18740         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18742         [BZ #18468]
18743         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18744         weak alias of __wmemchr.  Use libc_hidden_weak.
18745         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18746         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18747         instead of wmemchr.
18749 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18751         [BZ #18383]
18752         * elf/tst-tlsalign-extern.c: New file.
18753         * elf/tst-tlsalign-extern-static.c: New file.
18754         * elf/tst-tlsalign-vars.c: New file.
18755         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18756         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18757         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18758         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18759         (test-xfail-tst-tlsalign-extern-static): New variable.
18761 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18763         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18764         Use variable name _sc_err instead of err.
18765         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18766         instead of ret.
18767         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18768         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18769         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18770         (INLINE_SYSCALL): Likewise.
18772         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18773         * include/string.h (__strnlen): Use libc_hidden_proto.
18774         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18775         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18776         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18777         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18778         (libc_hidden_def): Undefine and redefine.
18779         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18780         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18781         __GI_strnlen.
18782         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18783         libc_hidden_def.
18784         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18786         [BZ #18469]
18787         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18788         weak alias of __towlower.  Use libc_hidden_weak.
18789         (towupper): Rename to __towupper and define as weak alias of
18790         __towupper.  Use libc_hidden_weak.
18791         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18792         (__towupper): Likewise.
18793         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18794         __towlower instead of towlower.
18796 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18798         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18799         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18801 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18803         * sysdeps/aarch64/libm-test-ulps: Update.
18805 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18807         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18808         Define.
18809         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18811         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18812         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18813         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18814         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18815         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18817 2015-06-01  Martin Sebor  <msebor@redhat.com>
18819         [BZ #18116]
18820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18821         (__setcontext): Use extended four-operand version of mtsf whenever
18822         possible.
18823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18824         (__novec_swapcontext): Likewise.
18826 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18828         * benchtests/scripts/compare_bench.py: New file.
18829         * benchtests/scripts/import_bench.py (mean): New function.
18830         (split_list): Likewise.
18831         (do_for_all_timings): Likewise.
18832         (compress_timings): Likewise.
18834         * benchtests/scripts/import_bench.py: New file.
18835         * benchtests/scripts/validate_benchout.py: Import import_bench
18836         instead of jsonschema.
18837         (validate_bench): Remove function.
18838         (main): Use import_bench.
18840 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18842         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18843         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18845 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18849 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18851         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18852         set THREAD_SELF->tid to a magic value and futex-wake it.
18853         Pass its address to the thread_exit system call.
18854         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18855         bit is clear.
18856         * sysdeps/nacl/lowlevellock.h: New file.
18857         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18859         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18860         Add TIMEOUT to current time, don't subtract it.
18862 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18864         [BZ #2981]
18865         [BZ #18422]
18866         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18867         ($(objpfx)tst-audit2.out): Also depend on
18868         $(objpfx)tst-auditmod9b.so.
18869         * elf/tst-audit2.c: Include <dlfcn.h>.
18870         (calloc_called): New.
18871         (calloc): Allow to be called more than once.
18872         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18874 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18876         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18877         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18879 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18881         * stdlib/monetary.h: Fix comment.
18883 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18885         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18886         Avoid using variables in #defines that might cause shadowing.
18887         (INTERNAL_VSYSCALL_CALL): Likewise.
18889 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18891         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18893         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18894         * nptl/lll_timedlock_wait.c: ... to this new file.
18895         * nptl/Makefile (libpthread-routines): Add it.
18896         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18897         * nptl/lll_timedwait_tid.c: ... to this new file.
18898         * nptl/Makefile (libpthread-routines): Add it.
18899         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18900         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18901         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18902         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18903         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18904         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18905         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18906         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18907         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18908         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18910 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18912         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18913         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18914         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18916         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18918         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18920         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18921         * sysdeps/unix/sysv/linux/tile/sysdep.h
18922         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18923         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18924         using vDSO syscall macro.
18926 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18928         [BZ #17293]
18929         * uk_UA: Fix sorting order for Ukrainian locale
18931 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18933         * stdlib/monetary.h: Fix comment.
18935 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18937         [BZ #18234]
18938         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18939         st_mtim and st_ctim members.
18940         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18941         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18942         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18943         (struct stat64): Likewise.
18944         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18945         (struct stat64): Likewise.
18946         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18947         (struct stat64): Likewise.
18949 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18951         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18952         Define and include sysdep-vdso.h.
18953         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18954         Likewise.
18955         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18956         Likewise.
18957         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18958         Define with VDSO_SYMBOL and use PTR_MANGLE.
18959         (__vdso_clock_gettime): Likewise.
18960         (__vdso_clock_getres): Likewise.
18961         (_libc_vdso_platform_setup): Likewise.
18962         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18963         Likewise.
18964         (_libc_vdso_platform_setup): Likewise.
18965         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18966         Likewise.
18967         (__vdso_clock_gettime): Likewise.
18968         (__vdso_clock_getres): Likewise.
18969         (__vdso_get_tbfreq): Likewise.
18970         (__vdso_getcpu): Likewise.
18971         (__vdso_time): Likewise.
18972         (__vdso_sigtramp_rt64): Likewise.
18973         (__vdso_signtramp32): Likewise.
18974         (__vdso_sigtramp_rt32): Likewise.
18975         (_libc_vdso_platform_setup): Likewise.
18976         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18977         Likewise.
18978         (__vdso_clock_gettime): Likewise.
18979         (__vdso_clock_getres): Likewise.
18980         (_libc_vdso_platform_setup): Likewise.
18981         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18982         Likewise.
18983         (__vdso_clock_gettime): Likewise.
18984         (_libc_vdso_platform_setup): Likewise.
18985         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18986         Likewise.
18987         (__vdso_getcpu): Likewise.
18988         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18989         Use VDSO_SYMBOL macro to define.
18990         (__vdso_clock_gettime): Likewise.
18991         (__vdso_clock_getres): Likewise.
18992         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18993         Likewise.
18994         (__vdso_clock_gettime): Likewise.
18995         (__vdso_clock_getres): Likewise.
18996         (__vdso_get_tbfreq): Likewise.
18997         (__vdso_getcpu): Likewise.
18998         (__vdso_time): Likewise.
18999         (__vdso_sigtramp_rt64): Likewise.
19000         (__vdso_signtramp32): Likewise.
19001         (__vdso_sigtramp_rt32): Likewise.
19002         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19003         Likewise.
19004         (__vdso_clock_gettime): Likewise.
19005         (__vdso_clock_getres): Likewise.
19006         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19007         Likewise.
19008         (__vdso_clock_gettime): Likewise.
19009         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19010         Likewise.
19011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19012         macro.
19013         (INTERNAL_VSYSCALL): Likewise.
19014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19015         Remove macro.
19016         (INTERNAL_VSYSCALL): Likewise.
19017         (INTERNAL_VSYSCALL_NCS): Likewise.
19018         (INTERNAL_VSYSCALL_CALL): New macro.
19019         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19021         Likewise.
19022         (INTERNAL_VSYSCALL): Likewise.
19023         (INTERNAL_VSYSCALL_NCS): Likewise.
19024         (INTERNAL_VSYSCALL_CALL): New macro.
19025         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19027         (INLINE_VSYSCALL): Remove macro.
19028         (INTERNAL_VSYSCALL): Remove macro.
19029         (INTERNAL_VSYSCALL_NCS): Remove macro.
19030         (INTERNAL_VSYSCALL_CALL): New macro.
19031         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19032         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19033         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19034         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19035         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19037         (INLINE_VSYSCALL): Remove macro.
19038         (INTERNAL_VSYSCALL): Likewise.
19039         (INTERNAL_VSYSCALL_NCS): Likewise.
19040         (INTERNAL_VSYSCALL_CALL): New macro.
19041         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19042         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19043         PTR_DEMANGLE on vDSO pointer.
19044         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19045         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19046         macro.
19047         (INTERNAL_SYSCALL): Likewise.
19048         (INTERNAL_VSYSCALL_NCS): Remove macro.
19049         (INTERNAL_VSYSCALL_CALL): New macro.
19050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19051         Remove macro.
19052         (INTERNAL_VSYSCALL): Likewise.
19053         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19054         sysdep-vdso.h instead of libc-vdso.h.
19055         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19056         definition.
19057         (INLINE_VSYSCALL): Likewise.
19058         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19059         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19060         definition.
19061         (INLINE_VSYSCALL): Likewise.
19062         (INTERNAL_VSYSCALL): Likewise.
19063         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19064         * sysdeps/unix/sysv/linux/timespec_get.c
19065         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19066         (timespec_get): Use ANSI prototype.
19067         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19068         and definition for Linux.
19070 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19072         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19073         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19075 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19077         [BZ #2981]
19078         [BZ #18410]
19079         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19080         for missing DT_PLTRELSZ.
19082 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19084         Remove obsolete aliases that broke 'locale -a'
19085         [BZ #18412]
19086         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19087         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19088         breaking some applications that use 'locale -a' output.
19089         Change the encoding of this file from Latin-1 to ASCII to avoid
19090         other potential problems with people grepping this file.
19092 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19094         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19095         -fasynchronous-unwind-tables.
19096         (CFLAGS-sendto.c): Likewise.
19097         (CFLAGS-sendmsg.c): Likewise.
19098         (CFLAGS-connect.c): Likewise.
19099         (CFLAGS-recvmsg.c): Likewise.
19100         (CFLAGS-recvfrom.c): Likewise.
19101         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19102         (SOCKETCALL): New macro: non-cancellable socketcall.
19103         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19104         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19105         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19106         * sysdeps/unix/sysv/linux/accept.c: New file.
19107         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19108         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19109         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19110         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19111         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19112         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19113         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19114         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19115         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19116         * sysdeps/unix/sysv/linux/send.c: Likewise.
19117         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19118         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19119         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19120         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19121         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19122         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19123         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19124         prototype.
19125         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19126         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19127         instead of __internal_xxx function.
19128         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19129         prototype.
19130         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19131         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19132         instead of __internal_xxx function.
19133         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19134         prototype.
19135         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19136         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19137         instead of __internal_xxx function.
19138         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19139         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19140         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19141         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19142         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19143         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19144         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19145         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19146         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19147         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19148         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19149         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19150         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19151         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19152         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19153         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19154         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19155         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19156         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19157         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19160         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19161         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19162         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19163         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19164         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19165         * sysdeps/unix/sysv/linux/send.S: Likewise.
19166         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19167         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19168         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19169         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19170         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19171         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19172         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19173         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19174         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19175         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19176         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19177         socketcall is implemented in GLIBC.
19179 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19181         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19182         (__fma): Ignore uninitialized warnings around packing.
19183         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19184         (__fmaf): Ignore uninitialized warnings around packing.
19185         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19186         (__fmal): Ignore uninitialized warnings around packing.
19188         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19189         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19191         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19193         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19194         switch statement into default case.
19195         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19197         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19198         a conditional in forcing "inexact".
19199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19200         Likewise.
19202 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19204         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19205         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19206         for each INTERNAL_SYSCALL use.
19208 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19210         [BZ #438]
19211         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19212         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19213         variable.
19215         [BZ #18444]
19216         * string/basename.c (basename): Rename to __basename and define as
19217         weak alias of __basename.  Use libc_hidden_weak.
19218         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19219         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19220         __basename instead of basename.
19221         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19222         Remove variable.
19223         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19225 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19227         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19228         (_IO_JUMPS_FILE_plus): New.
19229         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19230         _IO_CAST_FIELD_ACCESS.
19231         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19232         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19233         * libio/freopen.c (freopen): Likewise.
19234         * libio/freopen64.c (freopen64): Likewise.
19235         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19236         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19237         * libio/iofwide.c (_IO_fwide): Likewise.
19238         * libio/memstream.c (open_memstream): Likewise.
19239         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19240         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19241         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19243 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19245         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19246         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19247         NADJ.
19248         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19249         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19250         NADJ.
19251         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19252         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19253         NADJ.
19255         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19256         (p == 4) case.
19258         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19259         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19260         Remove variable.
19261         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19262         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19263         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19265 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19267         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19268         Adjust jump table label generation macros.
19270 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19272         * stdio-common/vfprintf.c (vfprintf): Move local variables
19273         args_malloced, specs, specs_malloced, and the code after
19274         do_positional to the printf_positional function.
19275         (printf_positional): New function.
19277 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19279         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19280         function.
19281         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19282         STEP4_TABLE, process_arg): Move macro definitions
19283         out of the vfprintf function.  (Cosmetic change only.)
19285 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19287         * benchtests/Makefile (stdio-common-bench): Define.
19288         (benchset): Add stdio-common-bench.
19289         * sprintf-inputs: New file.
19290         * sprintf-source.c: New file.
19292 2015-05-21  Andreas Schwab  <schwab@suse.de>
19294         [BZ #13028]
19295         [BZ #17053]
19296         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19297         of struct __res_state.
19298         * resolv/res_send.c (__libc_res_nsend): Likewise.
19299         (get_nsaddr): New function.
19300         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19301         statp directly.
19303 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19305         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19306         -D_POSIX_C_SOURCE=199506L.
19308         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19310         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19311         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19312         Do not mention otherwise.
19313         [POSIX] (_XOPEN_VERSION): Do not expect.
19314         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19315         [POSIX] (_POSIX2_C_BIND): Likewise.
19316         [POSIX] (_POSIX2_VERSION): Likewise.
19317         [POSIX] (_XOPEN_XPG2): Likewise.
19318         [POSIX] (_XOPEN_XPG3): Likewise.
19319         [POSIX] (_XOPEN_XPG4): Likewise.
19320         [POSIX] (_XOPEN_UNIX): Likewise.
19321         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19322         [POSIX] (_POSIX_BARRIERS): Likewise.
19323         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19324         [POSIX] (_POSIX_CPUTIME): Likewise.
19325         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19326         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19327         [POSIX] (_POSIX_SHELL): Likewise.
19328         [POSIX] (_POSIX_SPAWN): Likewise.
19329         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19330         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19331         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19332         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19333         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19334         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19335         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19336         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19337         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19338         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19339         [POSIX] (_POSIX2_PBS): Likewise.
19340         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19341         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19342         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19343         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19344         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19345         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19346         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19347         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19348         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19349         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19350         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19351         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19352         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19353         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19354         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19355         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19356         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19357         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19358         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19359         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19360         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19361         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19362         [POSIX] (_SC_2_C_BIND): Likewise.
19363         [POSIX] (_SC_2_C_VERSION): Likewise.
19364         [POSIX] (_SC_2_PBS): Likewise.
19365         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19366         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19367         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19368         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19369         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19370         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19371         [POSIX] (_SC_BARRIERS): Likewise.
19372         [POSIX] (_SC_BASE): Likewise.
19373         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19374         [POSIX] (_SC_DEVICE_IO): Likewise.
19375         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19376         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19377         [POSIX] (_SC_FD_MGMT): Likewise.
19378         [POSIX] (_SC_FIFO): Likewise.
19379         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19380         [POSIX] (_SC_FILE_LOCKING): Likewise.
19381         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19382         [POSIX] (_SC_IOV_MAX): Likewise.
19383         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19384         [POSIX] (_SC_NETWORKING): Likewise.
19385         [POSIX] (_SC_PAGE_SIZE): Likewise.
19386         [POSIX] (_SC_PASS_MAX): Likewise.
19387         [POSIX] (_SC_PIPE): Likewise.
19388         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19389         [POSIX] (_SC_REGEXP): Likewise.
19390         [POSIX] (_SC_SHELL): Likewise.
19391         [POSIX] (_SC_SIGNALS): Likewise.
19392         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19393         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19394         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19395         [POSIX] (_SC_USER_GROUPS): Likewise.
19396         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19397         [POSIX] (_SC_STREAMS): Likewise.
19398         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19399         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19400         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19401         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19402         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19403         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19404         [POSIX] (_PC_FILESIZEBITS): Likewise.
19405         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19406         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19407         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19408         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19409         [POSIX] (uid_t): Likewise.
19410         [POSIX] (gid_t): Likewise.
19411         [POSIX] (off_t): Likewise.
19412         [POSIX] (pid_t): Likewise.
19413         [POSIX] (cuserid): Allow.
19414         (_SC_2_CHAR_TERM): Require constant.
19415         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19416         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19417         variable.
19419 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19421         * sysdeps/nacl/pthread-pids.h: New file.
19422         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19423         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19425         * nptl/pthread-pids.h: New file.
19426         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19427         * nptl/nptl-init.c: Include <pthread-pids.h>.
19428         (__pthread_initialize_minimal_internal):
19429         Call __pthread_initialize_pids instead of set_tid_address syscall.
19431         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19432         * sysdeps/posix/usleep.c: ... here.
19434 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19436         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19437         call_pselect6 object.
19438         [$(subdir) = io]: Remove call_sync_file_range object.
19439         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19440         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19441         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19442         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19444 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19446         * math/s_cproj.c: Add include "math_private.h".
19447         * math/s_cprojf.c: Likewise.
19448         * math/s_cprojl.c: Likewise.
19450 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19452         [BZ #18244]
19453         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19454         high mantissa bit when testing whether P is a NaN.
19455         * math/libm-test.inc (remainder_test_data): Add more tests.
19456         (remquo_test_data): Likewise.
19458         [BZ #18049]
19459         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19460         below -32, return the argument, with underflow if subnormal.
19461         * math/auto-libm-test-in: Add more tests of atanh.
19462         * math/auto-libm-test-out: Regenerated.
19464 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19466         [BZ #18434]
19467         * nptl/tst-sem15.c: New file.
19468         * nptl/Makefile (tests): Add it.
19469         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19470         s/<</>>/ to fix typo in EOVERFLOW check.
19471         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19473 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19475         * manual/strings.texi (envz_remove): Fix typo in safety
19476         annotations.
19478 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19479             Steve Ellcey  <sellcey@imgtec.com>
19481         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19482         in order to avoid strict alias warnings.
19483         (iruserok_af): Ditto for ra.
19485 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19487         [BZ #17581]
19488         * malloc/hooks.c
19489         (magicbyte): Convert to a function and avoid returning 0x01.
19490         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19491         (mem2chunk_check): Fix unsigned comparisons to zero.
19492         Hoist defs of sz and magic.
19494 2015-05-19  Richard Henderson  <rth@redhat.com>
19496         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19498         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19500 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19502         [BZ #16159]
19503         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19504         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19505         (reused_arena): Find a non-corrupt arena.
19506         (heap_trim): Pass arena to unlink.
19507         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19508         malloc_printerr.
19509         (top_check): Likewise.
19510         (free_check): Likewise.
19511         (realloc_check): Likewise.
19512         * malloc/malloc.c (malloc_printerr): Add arena argument.
19513         (unlink): Likewise.
19514         (munmap_chunk): Adjust.
19515         (ARENA_CORRUPTION_BIT): New macro.
19516         (arena_is_corrupt): Likewise.
19517         (set_arena_corrupt): Likewise.
19518         (sysmalloc): Use mmap if there are no usable arenas.
19519         (_int_malloc): Likewise.
19520         (__libc_malloc): Don't fail if arena_get returns NULL.
19521         (_mid_memalign): Likewise.
19522         (__libc_calloc): Likewise.
19523         (__libc_realloc): Adjust for additional argument to
19524         malloc_printerr.
19525         (_int_free): Likewise.
19526         (malloc_consolidate): Likewise.
19527         (_int_realloc): Likewise.
19528         (_int_memalign): Don't touch corrupt arenas.
19529         * malloc/tst-malloc-backtrace.c: New test case.
19531         * Makefile (summarize-tests): Fix return value on success.
19533         * manual/string.texi (Envz Functions): Add envz_remove.
19535 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19537         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19538         (invalid_name): New function, broken out of ...
19539         (__opendirat): ... here.  Call it.
19540         (need_isdir_precheck): New function, broken out of ...
19541         (__opendirat): ... here.  Call it.
19542         Use __fxstatat64, not __xstatat64.
19543         (opendir_oflags): New function, broken out of ...
19544         (__opendirat): ... here.  Call it.
19545         (opendir_tail): New function, broken out of ...
19546         (__opendirat): ... here.  Call it.
19547         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19548         opendir_tail, rather than punting to __opendirat.
19549         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19551 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19553         * .gitignore: Ignore generated *.pyc.
19555 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19557         * include/stdio.h: Define __need_wint_t.
19558         * test-skeleton.c: Avoid `for' loop initial declaration.
19559         * nptl/tst-initializers1.c: Use test-skeleton.c.
19561 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19563         [BZ #18418]
19564         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19566 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19568         [BZ #16352]
19569         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19570         (__ieee754_atanh): Force underflow exception for results with
19571         small absolute value.
19572         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19573         (__ieee754_atanhf): Force underflow exception for results with
19574         small absolute value.
19575         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19576         (__ieee754_atanh): Force underflow exception for results with
19577         small absolute value.
19578         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19579         (__ieee754_atanhf): Force underflow exception for results with
19580         small absolute value.
19581         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19582         (__ieee754_atanhl): Force underflow exception for results with
19583         small absolute value.
19584         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19585         (__ieee754_atanhl): Force underflow exception for results with
19586         small absolute value.
19587         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19588         (__ieee754_atanhl): Force underflow exception for results with
19589         small absolute value.
19590         * math/auto-libm-test-in: Do not allow missing underflow
19591         exceptions from atanh.
19592         * math/auto-libm-test-out: Regenerated.
19594         [BZ #18221]
19595         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19596         2**-28 as threshold for returning x or +/- 1/x.
19597         * math/auto-libm-test-in: Add more tests of tan.
19598         * math/auto-libm-test-out: Regenerated.
19600         [BZ #18220]
19601         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19602         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19603         * math/auto-libm-test-in: Add another test of lgamma.
19604         * math/auto-libm-test-out: Regenerated.
19606 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19608         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19609         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19610         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19611         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19612         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19613         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19614         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19615         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19617         (log1): Use fabs.  (my_log2): Use fabs.
19618         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19619         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19621         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19623         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19624         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19625         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19626         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19627         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19628         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19630 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19632         [BZ #18217]
19633         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19634         as threshold for returning 1 - x.
19635         * math/auto-libm-test-in: Add more tests of erfc.
19636         * math/auto-libm-test-out: Regenerated.
19638 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19640         [BZ #18196]
19641         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19642         threshold for large arguments.
19643         * math/auto-libm-test-in: Add another test of atan.
19644         * math/auto-libm-test-out: Regenerated.
19646         [BZ #16339]
19647         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19648         (__log1p): Force underflow exception for results with small
19649         absolute value.
19650         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19651         (__log1pf): Force underflow exception for results with small
19652         absolute value.
19653         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19654         (__log1p): Force underflow exception for results with small
19655         absolute value.
19656         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19657         (__log1pf): Force underflow exception for results with small
19658         absolute value.
19659         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19660         (__log1pl): Force underflow exception for results with small
19661         absolute value.
19662         * math/auto-libm-test-in: Do not allow missing underflow
19663         exceptions from log1p.
19664         * math/auto-libm-test-out: Regenerated.
19666 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19667             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19669         [BZ #16704]
19670         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19672 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19674         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19675         (libmvec): New variable.
19676         * configure.ac: Added option for mathvec build.
19677         * configure: Regenerated.
19678         * mathvec/Depend: New file.
19679         * mathvec/Makefile: New file.
19680         * shlib-versions: Added libmvec.
19681         * math/Makefile: Added rule for libm.so installation.
19683         * bits/math-vector.h: New file.
19684         * bits/libm-simd-decl-stubs.h: New header.
19685         * math/Makefile (headers): Added new header
19686         libm-simd-decl-stubs.h.
19687         * math/math.h (__MATHCALL_VEC): New macro.
19689         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19690         for conditions in testing functions.
19691         * math/Makefile: Added call of libm-have-vector-test.sh.
19692         * math/libm-test.inc (HAVE_VECTOR): New macros.
19694         * math/libm-test.inc: START refactored.
19695         * math/test-double.c (TEST_MATHVEC): Add define.
19696         * math/test-float.c: Likewise.
19697         * math/test-idouble.c: Likewise.
19698         * math/test-ifloat.c: Likewise.
19699         * math/test-ildoubl.c: Likewise.
19700         * math/test-ldouble.c: Likewise.
19701         * sysdeps/generic/math-tests-arch.h
19702         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19703         architecture check.
19705         * math/test-double.c (FUNC_TEST): New macro.
19706         * math/test-float.c: Likewise.
19707         * math/test-idouble.c: Likewise.
19708         * math/test-ifloat.c: Likewise.
19709         * math/test-ildoubl.c: Likewise.
19710         * math/test-ldouble.c: Likewise.
19711         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19713 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19715         * sysdeps/nacl/fdopendir.c: New file.
19717         * dirent/scandir-tail.c: New file.
19718         * dirent/scandir64-tail.c: New file.
19719         * dirent/Makefile (routines): Add them.
19720         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19721         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19722         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19723         [!SCANDIR] (SCANDIR_TAIL): New macro.
19724         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19725         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19726         (SCANDIRAT): Macro removed.
19727         (SCANDIR_TAIL): New macro.
19728         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19729         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19730         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19731         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19732         (READDIR): Macro removed.
19733         (SCANDIR_TAIL): New macro.
19734         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19735         (SCANDIR_TAIL): New macro.
19737         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19738         * dirent/scandir-cancel.c: ... to this new file.
19739         * dirent/Makefile (routines): Add it.
19740         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19741         * sysdeps/unix/sysv/linux/i386/scandir64.c
19742         (SKIP_SCANDIR_CANCEL): Macro removed.
19743         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19745         * dirent/tst-scandir.c: New file.
19746         * dirent/tst-scandir64.c: New file.
19747         * dirent/Makefile (tests): Add them.
19749 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19751         [BZ #18409]
19752         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19754 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19756         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19757         list.
19759 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19761         * benchtests/bench-strcoll.c: New benchmark.
19762         * benchtests/Makefile: Generate locales and run benchmark.
19763         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19764         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19765         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19766         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19767         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19768         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19769         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19770         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19771         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19772         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19773         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19774         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19775         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19776         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19777         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19778         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19779         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19780         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19781         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19782         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19783         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19784         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19785         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19786         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19788 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19790         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19791         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19793 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19795         * posix/uname-values.h: New file.
19796         * posix/uname.c: Include that instead of <config-name.h>.
19797         * sysdeps/nacl/uname-values.h: New file.
19798         * sysdeps/arm/nacl/uname-values.h: New file.
19800 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19802         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19803         splitting into fields.
19805 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19807         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19808         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19809         * locale/localeinfo.h: Add enum collation_encoding_type.
19810         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19811         * programs/ld-collate.c (collate_output): Add encoding type info.
19812         * string/strcoll_l.c (STRDIFF): New function.
19813         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19814         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19816 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #18397]
19819         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19820         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19821         <fpu_control.h> instead of <math/fpu_control.c>.
19822         * sysdeps/mips/mips32/fpu/Makefile: New file.
19824 2015-05-11  Andreas Schwab  <schwab@suse.de>
19826         [BZ #18007]
19827         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19828         nss_endgrent.
19829         (_nss_compat_endgrent): Call nss_endgrent.
19830         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19831         nss_endpwent.
19832         (_nss_compat_endpwent): Call nss_endpwent.
19833         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19834         needent, call nss_setspent only if non-zero.
19835         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19836         (internal_endspent): Don't call nss_endspent.
19837         (_nss_compat_endspent): Call nss_endspent.
19838         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19839         Remove.  All uses removed.
19840         (internal_setent): Remove parameter stayopen, add parameter
19841         stream.  Use it instead of global variable.
19842         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19843         (internal_endent, internal_getent): Add parameter stream.  Use it
19844         instead of global variable.
19845         (CONCAT(_nss_files_end,ENTNAME))
19846         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19847         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19848         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19849         uses removed.
19850         (internal_setent, internal_endent): Add parameter stream.  Use it
19851         instead of global variable.
19852         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19853         stream.
19854         (get_next_alias): Add parameter stream.
19855         (_nss_files_getaliasent_r): Pass global stream.
19856         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19857         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19858         (_nss_files_gethostbyname4_r): Pass local stream to
19859         internal_setent, internal_getent and internal_endent.  Remove
19860         locking.
19862 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19864         * tst-strfmon1.c (tests): Update expected currency symbol.
19866 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19868         * sysdeps/nacl/gethostname.c: New file.
19870 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19872         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19873         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-05-08  Carlos O'Donell  <carlos@redhat.com>
19880         [BZ #18125]
19881         * stdlib/tst-setcontext3.c: New file.
19882         * stdlib/tst-setcontext3.sh: New file.
19883         * stdlib/Makefile (tests): Add tst-setcontext3.
19884         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19885         to verify test program created output file.
19886         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19887         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19888         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19889         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19891 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19893         [BZ #18383]
19894         * elf/tst-tlsalign.c: New file.
19895         * elf/tst-tlsalign-static.c: New file.
19896         * elf/tst-tlsalign-lib.c: New file.
19897         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19898         (tests-static): Add tst-tlsalign-static.
19899         (modules-names): Add tst-tlsalign-lib.
19900         (test-xfail-tst-tlsalign): New variable.
19901         (test-xfail-tst-tlsalign-static): New variable.
19903         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19904         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19906 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19908         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19909         csqrt, erfc, sin and sincos.
19910         * math/auto-libm-test-out: Regenerated.
19911         * sysdeps/i386/fpu/libm-test-ulps: Update.
19912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19914 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19916         * sysdeps/aarch64/libm-test-ulps: Update.
19918 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19920         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19921         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19922         * math/auto-libm-test-out: Regenerated.
19923         * sysdeps/i386/fpu/libm-test-ulps: Update.
19924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19926 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19928         [BZ #18265]
19929         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19930         (wcsncpy): Likewise.
19932 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19934         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19935         Assume __ASSUME_FALLOCATE is always true.
19936         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19937         (__posix_fallocate64_l64): Likweise.
19938         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19939         (posix_fallocate): Likewise.
19940         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19941         (__posix_fallocate64_l64): Likewise.
19942         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19943         [!__ASSUME_FALLOCATE]: Add comment.
19945 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19947         * sysdeps/unix/sysv/linux/i386/Makefile
19948         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19949         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19950         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19951         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19952         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19953         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19954         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19956 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19958         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19959         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19960         tgamma.
19961         * math/auto-libm-test-out: Regenerated.
19962         * sysdeps/i386/fpu/libm-test-ulps: Update.
19963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19965 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19967         * math/auto-libm-test-in: Add more tests of tgamma.
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         * math/auto-libm-test-in: Add more tests of tanh.
19973         * math/auto-libm-test-out: Regenerated.
19974         * sysdeps/i386/fpu/libm-test-ulps: Update.
19975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19977         * math/auto-libm-test-in: Add more tests of tan.
19978         * math/auto-libm-test-out: Regenerated.
19979         * sysdeps/i386/fpu/libm-test-ulps: Update.
19980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19982         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19983         * math/auto-libm-test-out: Regenerated.
19984         * sysdeps/i386/fpu/libm-test-ulps: Update.
19985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19987         * math/auto-libm-test-in: Add another test of pow.
19988         * math/auto-libm-test-out: Regenerated.
19989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19991         * math/auto-libm-test-in: Add more tests of lgamma.
19992         * math/auto-libm-test-out: Regenerated.
19993         * sysdeps/i386/fpu/libm-test-ulps: Update.
19994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19996         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19997         log1p.
19998         * math/auto-libm-test-out: Regenerated.
19999         * sysdeps/i386/fpu/libm-test-ulps: Update.
20000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20002 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20004         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20005         Elf64_Chdr structs and ELFCOMPRESS constants.
20007 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20009         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20010         expm1.
20011         * math/auto-libm-test-out: Regenerated.
20012         * sysdeps/i386/fpu/libm-test-ulps: Update.
20013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20015         * math/auto-libm-test-in: Add more tests of erf and erfc.
20016         * math/auto-libm-test-out: Regenerated.
20017         * sysdeps/i386/fpu/libm-test-ulps: Update.
20018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20020 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20022         * config.h.in (HAVE_AARCH64_BE): Add.
20024 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20026         * math/auto-libm-test-in: Add more tests of csqrt.
20027         * math/auto-libm-test-out: Regenerated.
20028         * sysdeps/i386/fpu/libm-test-ulps: Update.
20029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20031         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20032         * math/auto-libm-test-out: Regenerated.
20033         * sysdeps/i386/fpu/libm-test-ulps: Update.
20034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20036         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20038 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20040         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20041         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20043         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20044         (euidaccess, eaccess): Define as weak aliases.
20046         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20047         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20048         but __suseconds_t is often 'long int' so some sources assume that
20049         type is being used (e.g. they use %ld to print tv_usec).
20051 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20053         [BZ #18007]
20054         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20055         (CVE-2014-8121)
20056         * nss/tst-nss-getpwent.c: New file.
20057         * nss/Makefile (tests): Add new test.
20059 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20061         [BZ #18346]
20062         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20063         exponents less than 48 as cases where high part of mantissa needs
20064         examining to determine whether argument is integral.
20065         * math/libm-test.inc (round_test_data): Add more tests.
20067 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20069         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20071 2015-04-27  David S. Miller  <davem@davemloft.net>
20073         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20074         __tls_get_addr.
20075         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20077 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20079         [BZ#18333]
20080         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20082 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20084         [BZ#18333]
20085         * time/tzset.c (parse_tzname): Return error on memory allocation
20086         failure.
20087         * test-skeleton.c (struct temp_name_list): Change type of name
20088         member to non-const.
20089         (add_temp_file): Create a copy of the file name.
20090         (delete_temp_files): Deallocate memory.
20091         (create_temp_file): Add comment.
20093 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20095         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20096         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20098 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20100         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20101         * sysdeps/arm/configure: Regenerated.
20103 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20105         [BZ #17715]
20106         * time/tzfile.c (__tzfile_read): Check for large values of
20107         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20108         * time/tzset.c (__tzstring_len): New function, based on the old
20109         __tzstring function.
20110         (__tzstring): Call __tzstring_len.
20111         (parse_tzname): New helper function extracted from
20112         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20113         the input string.
20114         (parse_offset): New helper function extracted from
20115         __tzset_parse_tz.  Replace switch with fallthrough with
20116         initialization before sscanf.
20117         (parse_rule): Likewise.
20118         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20119         new-style function definition.
20120         * timezone/Makefile (tests): Add tst-tzset.
20121         (tst-tzset.out): Dependencies on time zone files.
20122         (tst-tzset-ENV): Set TZDIR.
20123         (testdata/XT%): Copy crafted time zone files.
20124         * timezone/README: Mention crafted time zone files.
20125         * timezone/testdata/XT1, timezone/testdata/XT2,
20126         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20127         files.
20128         * timezone/tst-tzset.c: New test.
20130 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20132         * Makeconfig (+gccwarn): Remove -Winline.
20134 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20136         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20138 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20140         * NEWS: Mention sysconf() cache information support for s390.
20141         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20143 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20145         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20146         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20147         (__nearbyint): Likewise.
20148         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20149         (copysignl): Likewise.
20151 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20153         [BZ #18287]
20154         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20155         based on padding.  (CVE-2015-1781)
20157 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20159         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20160         libc-vdso.h.
20161         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20162         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20163         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20164         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20165         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20166         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20167         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20169         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20170         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20171         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20172         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20173         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20174         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20175         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20176         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20177         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20179         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20180         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20181         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20182         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20183         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20185 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20187         * stdlib/setenv.c (__add_to_environ):
20188         Dump core quickly if setenv (..., NULL, ...) is called.
20189         This time, do it the right way, and pacify GCC with a pragma.
20191 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20193         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20194         IMAP->l_prev cannot be null, and #if out the code for the contrary
20195         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20196         believe that NS (&_dl_ns[NSID]) could point outside the array.
20198         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20199         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20200         before using NSID as an index.
20202 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20204         [BZ #17825]
20205         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20206         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20207         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20209 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20211         Add preliminary port to Google Native Client on ARM.
20212         * abi-tags (.*-.*-nacl.*): New entry.
20213         * sysdeps/arm/nacl: New directory.
20214         * sysdeps/nacl: New directory.
20216 2015-04-16  David S. Miller  <davem@davemloft.net>
20218         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20219         lowlevellock-futex.h
20221 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20223         * sysdeps/tile/configure.ac: New file.
20224         * sysdeps/tile/configure: Regenerated.
20226 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20228         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20229         conditionals for weak_alias and libc_hidden_weak.
20230         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20231         libc_hidden_weak and weak_alias.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20233         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20234         and weak_alias for static one.
20236 2015-04-15  David S. Miller  <davem@davemloft.net>
20238         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20240 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20242         [BZ #18206]
20243         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20244           Use signed comparision instead of substraction to avoid
20245           overflow bug.
20246         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20247           Take the sign of ret.
20248         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20249           Do not expect precise return values. Only the sign matters.
20250         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20251         * wcsmbs/test-wcsncmp.c: New File.
20252         * string/test-strncmp.c: Add wcsncmp support.
20254 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20256         [BZ #6792]
20257         * math/w_log1p.c: New file.
20258         * math/w_log1pf.c: Likewise.
20259         * math/w_log1pl.c: Likewise.
20260         * math/Makefile (libm-calls): Add w_log1p.
20261         * math/s_log1pl.c (log1pl): Remove weak_alias.
20262         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20263         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20264         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20265         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20266         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20267         [NO_LONG_DOUBLE] (log1pl): Likewise.
20268         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20270         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20271         (log1p): Remove long_double_symbol.
20272         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20273         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20274         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20275         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20276         remove weak_alias for corresponding log1p function.
20277         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20278         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20279         * sysdeps/ia64/fpu/w_log1p.c: New file.
20280         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20281         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20282         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20284 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20286         [BZ #18247]
20287         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20288         decimal exponent by 1.
20289         * stdlib/tst-strtod-round-data: Add more tests.
20290         * stdlib/tst-strtod-round.c (tests): Regenerated.
20292 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20294         * math/auto-libm-test-in: Add more tests of clog and clog10.
20295         * math/auto-libm-test-out: Regenerated.
20296         * sysdeps/i386/fpu/libm-test-ulps: Update.
20297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20299 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20301         * Makeconfig (module-cppflags): Exclude all .v.i files.
20302         (skip-module-cppflags): Variable removed.
20304         * configure.ac (libc_config_ok): Initialize before reading
20305         preconfigure scripts, not after.
20306         * configure: Regenerated.
20308         * test-skeleton.c (TIMEOUT): Move #define to top level.
20309         (main): Grok environment variable TEST_DIRECT.  If set, print
20310         test expectation details into that file and then behave as if
20311         given --direct.
20313 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20315         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20316         warning on 32-bit.
20318 2015-04-08  David S. Miller  <davem@davemloft.net>
20320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20322 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20324         * math/auto-libm-test-in: Add more tests of atanh.
20325         * math/auto-libm-test-out: Regenerated.
20326         * sysdeps/i386/fpu/libm-test-ulps: Update.
20327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20329         * math/auto-libm-test-in: Add more tests of atan.
20330         * math/auto-libm-test-out: Regenerated.
20331         * sysdeps/i386/fpu/libm-test-ulps: Update.
20332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20336         * elf/pldd.c (main): Rewrite to use struct
20337         scratch_buffer instead of extend_alloca.
20338         * elf/pldd-xx.c (find_maps): Likewise.
20339         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20340         <alloca.h>.
20341         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20342         scratch_buffer instead of extend_alloca.
20343         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20344         grp/compat-initgroups.c.
20345         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20346         Rewrite to use struct scratch_buffer instead of extend_alloca.
20347         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20348         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20350 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20352         * math/auto-libm-test-in: Add more tests of cbrt.
20353         * math/auto-libm-test-out: Regenerated.
20354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20356         * math/auto-libm-test-in: Add more tests of cabs.
20357         * math/auto-libm-test-out: Regenerated.
20358         * sysdeps/i386/fpu/libm-test-ulps: Update.
20359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20361         [BZ #18210]
20362         [BZ #18211]
20363         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20364         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20365         computations.
20366         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20367         clog10.
20368         * math/auto-libm-test-out: Regenerated.
20369         * sysdeps/i386/fpu/libm-test-ulps: Update.
20370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20372         [BZ #18197]
20373         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20374         (atan): Set FE_TONEAREST mode for internal computations.
20375         * math/auto-libm-test-in: Add more tests of atan.
20376         * math/auto-libm-test-out: Regenerated.
20378 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20380         [BZ #17930]
20381         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20383 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20385         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20387 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20389         * include/scratch_buffer.h: New file.
20390         * malloc/scratch_buffer_grow.c: Likewise.
20391         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20392         * malloc/scratch_buffer_set_array_size.c: Likewise.
20393         * malloc/tst-scratch_buffer.c: Likewise.
20394         * malloc/Makefile (routines): Add scratch_buffer_grow.
20395         (tests): Add test case.
20396         * malloc/Versions (GLIBC_PRIVATE): Export
20397         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20398         __libc_scratch_buffer_set_array_size.
20400 2015-04-06  Richard Henderson  <rth@redhat.com>
20402         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20403         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20405         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20406         unsigned int before printing.
20408 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20410         [BZ #17596]
20411         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20412         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20414 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20416         * include/libc-internal.h (libc_max_align_t): Define.
20418 2015-04-02  Andreas Schwab  <schwab@suse.de>
20420         [BZ #16850]
20421         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20423 2015-04-02  Mel Gorman  <mgorman@suse.de>
20425         [BZ #17195]
20426         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20427         as well as the main arena.
20429 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20431         [BZ #18185]
20432         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20433         sharing L2 cache to 2 for Silvermont/Knights Landing.
20435 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20437         [BZ #17711]
20438         * config.make.in (have-protected-data): New.
20439         * configure.ac: Check linker support for protected data symbol.
20440         * configure: Regenerated.
20441         * elf/Makefile (modules-names): Add tst-protected1moda and
20442         tst-protected1modb if $(have-protected-data) is yes.
20443         (tests): Add tst-protected1a and tst-protected1b if
20444         $(have-protected-data) is yes.
20445         ($(objpfx)tst-protected1a): New.
20446         ($(objpfx)tst-protected1b): Likewise.
20447         (tst-protected1modb.so-no-z-defs): Likewise.
20448         * elf/tst-protected1a.c: New file.
20449         * elf/tst-protected1b.c: Likewise.
20450         * elf/tst-protected1mod.h: Likewise.
20451         * elf/tst-protected1moda.c: Likewise.
20452         * elf/tst-protected1modb.c: Likewise.
20454 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20456         [BZ #17711]
20457         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20458         indicates it is called from do_lookup_x on relocation against
20459         protected data, skip the data definion in the executable from
20460         copy reloc.
20461         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20462         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20463         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20464         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20465         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20466         otherwise to 0.
20467         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20468         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20469         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20470         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20471         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20472         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20474 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20476         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20477         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20479 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20481         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20482         THREAD_SETMEM_NC.
20483         * sysdeps/x86_64/nptl/tls.h: Ditto.
20485 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20487         * dlfcn/tststatic.c (main): Converted to ...
20488         (do_test): ... this.
20489         (TEST_FUNCTION): New macro.
20490         Include test-skeleton.c.
20492 2015-03-26  Alan Modra  <amodra@gmail.com>
20494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20495         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20496         zero for undefined weak.
20497         (elf_machine_plt_conflict): Similarly.
20499 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20501         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20502         atanh.
20503         * math/auto-libm-test-out: Regenerated.
20504         * sysdeps/i386/fpu/libm-test-ulps: Update.
20505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20507         * math/auto-libm-test-in: Add another test of asin.
20508         * math/auto-libm-test-out: Regenerated.
20509         * sysdeps/i386/fpu/libm-test-ulps: Update.
20510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20513         Remove macro.
20514         (LLL_EBX_REG): Likewise.
20515         (LLL_ENTER_KERNEL): Likewise.
20517         * math/auto-libm-test-in: Add more tests of asin.
20518         * math/auto-libm-test-out: Regenerated.
20519         * sysdeps/i386/fpu/libm-test-ulps: Update.
20520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20522         [BZ #18138]
20523         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20524         libc_do_syscall_args): New structure.
20525         (INTERNAL_SYSCALL_MAIN_0): New macro.
20526         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20527         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20528         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20529         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20530         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20531         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20532         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20533         Replace conditional definitions by conditional definitions of ....
20534         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20535         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20536         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20537         (libpthread-sysdep_routines): Add libc-do-syscall.
20538         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20539         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20540         to __NR_futex not 240.
20542 2015-03-25  Alan Modra  <amodra@gmail.com>
20544         * NEWS: Advertise TLS optimization.
20545         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20546         (DT_PPC_NUM): Increment.
20547         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20548         (CHECK_STATIC_TLS): Use here.
20549         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20550         TLS descriptors.
20551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20552         * sysdeps/powerpc/dl-tls.c: New file.
20553         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20554         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20555         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20556         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20561 2015-03-25  Alan Modra  <amodra@gmail.com>
20563         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20564         for overlapping .opd entries" to "support...".
20565         * sysdeps/powerpc/powerpc64/configure: Regenerate
20567 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20569         * math/auto-libm-test-in: Add more tests of acos.
20570         * math/auto-libm-test-out: Regenerated.
20571         * sysdeps/i386/fpu/libm-test-ulps: Update.
20572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20574         * math/auto-libm-test-in: Add more tests of expm1.
20575         * math/auto-libm-test-out: Regenerated.
20576         * sysdeps/i386/fpu/libm-test-ulps: Update.
20577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20579 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20581         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20582         * math/auto-libm-test-out: Regenerated.
20583         * sysdeps/i386/fpu/libm-test-ulps: Update.
20584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20586         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20589         * math/auto-libm-test-in: Add more tests of log2.
20590         * math/auto-libm-test-out: Regenerated.
20591         * sysdeps/i386/fpu/libm-test-ulps: Update.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20596         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20597         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20598         _IO_IS_APPENDING bit in READ_WRITE instead.
20600 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20602         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20603         (__determine_cpumask_size): Replace extend_alloca with a
20604         variable-length array.  Do not treat res == 0 as an error.
20606 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20608         [BZ #18100]
20609         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20610         and integer overflow.
20611         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20612         (main): Add integer overflow tests.
20613         * manual/pattern.texi (Calling Wordexp): Document additional use
20614         for WRDE_SYNTAX.
20616 2015-03-23  Alan Modra  <amodra@gmail.com>
20618         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20619         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20620         and false branch of conditional.
20621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20622         Likewise.
20624 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20626         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20627         libc-modules.h
20628         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20629         unused declaration of _hurd_intr_rpc_msg_in_trap.
20630         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20631         defined instead of whether it is non-zero.
20632         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20633         input constraint instead of both input and output constraint.  Use ecx
20634         clobber instead of %ecx.
20635         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20636         mutex_unlock): Use a statement expression instead of an expression list.
20637         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20638         type to vm_size_t instead of vm_address_t.
20639         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20640         defined instead of whether it is non-zero.
20641         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20642         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20643         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20644         comparisons with mapaddr.
20645         * nscd/nscd-client.h: Include <time.h>.
20646         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20647         9th parameter to __vm_region instead of int.
20648         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20649         * scripts/check-local-headers.sh (exclude): Add device/,
20650         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20651         cthreads.h.
20653 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20655         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20656         to account for alignment padding.
20657         * sysdeps/arm/memmove.S: Likewise.
20659 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20661         * sysdeps/unix/sysv/linux/generic/README: New file.
20663 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20665         [BZ #18138]
20666         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20667         (futex_abstimed_wait)
20668         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20669         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20670         of lll_futex_timed_wait.
20672 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20674         [BZ #17542]
20675         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20677 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20679         [BZ #17090]
20680         [BZ #17620]
20681         [BZ #17621]
20682         [BZ #17628]
20683         * NEWS: Update.
20684         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20685         entries with Static TLS too.  Skip entries past the end of the
20686         allocated DTV, from Alan Modra.
20687         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20688         Static TLS DTV entry set up from...
20689         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20690         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20691         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20692         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20693         for Static TLS.
20694         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20695         that the slot we find is associated with the given map before
20696         using its generation count.
20697         * nptl_db/db_info.c: Include ldsodefs.h.
20698         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20699         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20700         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20701         (link_map::l_tls_offset): New struct field.
20702         (dtv_t::counter): Likewise.
20703         (rtld_global): New struct.
20704         (_rtld_global): New rtld variable.
20705         (dl_tls_dtv_slotinfo_list): New rtld global field.
20706         (dtv_slotinfo_list): New struct.
20707         (dtv_slotinfo): Likewise.
20708         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20709         (td_lookup): Rename to...
20710         (td_mod_lookup): ... this.  Use new mod parameter instead of
20711         LIBPTHREAD_SO.
20712         * nptl_db/td_thr_tlsbase.c: Include link.h.
20713         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20714         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20715         addresses even if the DTV is out of date or missing them.
20716         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20717         index zero-length arrays.
20718         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20719         (td_lookup): Make it a macro implemented in terms of...
20720         (td_mod_lookup): ... this declaration.
20721         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20722         (DB_MAIN_VARIABLE): Likewise.
20724 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20726         [BZ #18134]
20727         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20729 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20731         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20733 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20735         [BZ #18128]
20736         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20737         (atomic_add, atomic_increment_and_test)
20738         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20740 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20742         * stdlib/setenv.c (__add_to_environ):
20743         Dump core quickly if setenv (..., NULL, ...) is called.
20745 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20747         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20748         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20749         all the necessary asm magic in one place.
20750         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20751         using those.
20753 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20755         [BZ #14906]
20756         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20757         traced file mtime. Use consistent log message.
20758         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20759         (register_traced_file): Call install_watches. Always set mtime.
20760         (invalidate_cache): Iterate over all trace files. Call install_watches.
20761         (inotify_check_files): Don't inline. Handle watching parent
20762         directories and configuration file movement in and out.
20763         (handle_inotify_events): New function.
20764         (main_loop_poll): Call handle_inotify_events.
20765         (main_loop_epoll): Likewise.
20766         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20767         (struct traced_file): Use array of inotify fds. Add parent directory,
20768         and basename.
20769         (struct database_dyn): Remove unused file_mtime.
20770         (init_traced_file): New inline function.
20771         (define_traced_file): New macro.
20772         * nss/nss_db/db-init.c: Use define_traced_file.
20773         (_nss_db_init): Use init_traced_file.
20774         * nss/nss_files/files-init.c: Use define_traced_file.
20775         (_nss_files_init): Use init_traced_file.
20777 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20779         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20780         [_LIBC]: Do not include <stdlib.h>.
20781         [!_LIBC] (abort): Remove declaration.
20782         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20783         _FP_STATIC_ASSERT instead of conditionally calling abort.
20784         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20785         (_FP_EXTEND_CNAN): Likewise.
20786         (FP_TRUNC): Likewise.
20787         (__FP_CLZ): Likewise.
20788         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20790 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20792         * manual/string.texi (XPG basename): Fix prototype.
20794 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20796         [BZ #18080]
20797         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20798         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20799         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20800         (__setcontext): Likewise.
20801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20802         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20803         Call rt_sigprocmask syscall one time to set new signal mask
20804         and retrieve the current signal mask instead of two calls.
20805         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20806         (__swapcontext): Likewise.
20807         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20808         * stdlib/tst-setcontext2.c: New file.
20810 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20812         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20814 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20816         [BZ #18093]
20817         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20818         the wrong size.
20820 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20822         [BZ #18043]
20823         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20825 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20827         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20828         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20829         Remove define.
20830         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20831         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20832         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20833         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20834         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20835         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20836         define.
20837         * nptl_db/td_symbol_list.c (td_lookup): Remove
20838         HAVE_ASM_GLOBAL_DOT_NAME code.
20839         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20840         HAVE_ASM_GLOBAL_DOT_NAME check.
20841         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20842         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20843         (DOT_LABEL): Remove define.
20844         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20845         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20846         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20847         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20848         (__TLS_GET_ADDR): Likewise.
20849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20850         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20852 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20854         [BZ #18111]
20855         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20856         (_FPU_SETCW): Initialize cw from fpsr before storing.
20857         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20858         (fesetexceptflag): Rewrite using fpu_control.h.
20859         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20861 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20863         [BZ #18110]
20864         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20865         asms.
20866         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20868 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20870         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20871         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20872         abort.
20873         (_FP_FMA): Likewise.
20874         (_FP_DIV): Likewise.
20876 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20878         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20879         with 0 in that case.
20880         * Makefile (summarize-tests): New canned sequence, factored out of
20881         commands for targets tests and xtests.  Display summary lines that
20882         don't start with PASS: or XFAIL: rather than ones that do start with
20883         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20884         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20885         do start with ERROR: or FAIL:.
20886         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20887         (except for [$(build-shared) = yes]).
20888         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20889         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20890         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20891         * nptl/Makefile: Revert 2015-03-04 changes.
20892         [$(CXX) empty] (tests-unsupported): New variable.
20893         * debug/Makefile: Likewise.
20895         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20896         gnulib file.  Replace __attribute with __attribute__ throughout.
20898 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20900         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20902 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20904         [BZ #18104]
20905         * math/auto-libm-test-in: Add another test of pow.
20906         * math/auto-libm-test-out: Regenerated.
20908 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20910         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20911         $(config-cflags-nofma).
20913 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20915         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20916         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20917         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20918         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20919         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20920         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20921         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20922         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20923         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20924         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20925         Add comment on closing #endif.
20927 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20929         * posix/wordexp.c (CHAR_IN_SET): New macro.
20930         (parse_param): Use it.
20932 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20934         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20936 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20938         [BZ #18043]
20939         * posix/wordexp.c (parse_param): Fix buffer overflow.
20940         * posix/wordexp-test.c (test_case): Add test case.
20942 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20944         [BZ #18042]
20945         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20946         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20948 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20950         [BZ #18043]
20951         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20952         (do_bz18043): Delete.
20953         (at_page_end): New.
20954         (testit): Refactor to have words at the edge of unreadable page.
20956 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20958         [BZ #16734]
20959         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20960         Cleanup read-only streams as well.
20961         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20963 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20965         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20966         <bits/libc-lockP.h>
20968 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20970         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20971         on [__KERNEL__].
20972         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20973         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20974         * soft-fp/op-common.h (_FP_DECL): Likewise.
20976 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20978         * elf/ifuncdep2.c (global): Replace
20979         __attribute__((visibility("protected"))) with
20980         asm (".protected global").
20981         * elf/ifuncmod1.c (global): Likewise.
20982         * elf/ifuncmod5.c (global): Likewise.
20984 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20986         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20987         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20989 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20991         * manual/install.texi (Configuring and compiling):
20992         Document test-wrapper-env-only.
20993         * INSTALL: Regenerated.
20995 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20997         [BZ #18043]
20998         * posix/wordexp.c (parse_param): Fix buffer overflow.
20999         * posix/wordexp-test.c (do_bz18043): Add test case.
21001 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21003         * time/tst-strptime2.c (do_test): Ensure failing tests are
21004         reported correctly.
21005         * time/tst-strptime3.c (do_test): Likewise.
21007 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21009         Fix aio_error thread-safety.
21010         * sysdeps/pthread/aio_error.c: New file
21011         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21012         synchronization.
21014 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21016         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21017         (group_number, vfprintf): Use it.
21018         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21019         (JUMP, REF): Use it.
21020         (WORK_BUFFER_SIZE): New enum constant.
21021         (process_arg, vfprintf): Use it.
21023 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21025         * manual/errno.texi (Error Messages): Complete example function
21026         by adding missing #define.
21027         (program_invocation_name): Add statement indicating GNU
21028         extension and reference which header file declares the variable.
21029         (program_invocation_short_name): Likewise.
21031 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21033         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21034         compatibility note.
21036 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21038         * Makeconfig (test-wrapper-env-only): New variable.
21039         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21040         then use that with $(test-wrapper-env-only) rather than using
21041         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21043 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21045         [BZ #18082]
21046         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21047         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21048         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21049         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21050         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21051         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21052         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21053         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21054         Likewise.
21055         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21056         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21057         Likewise.
21058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21059         Likewise.
21060         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21061         Likewise.
21062         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21063         Likewise.
21064         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21065         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21066         Likewise.
21067         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21068         Likewise.
21069         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21070         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21072 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21074         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21075         (ETH_ALEN): New macro.
21076         (struct ether_addr): Use it for length of ether_addr_octet.
21078         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21079         (setdb): Don't call __nss_configure_lookup for "rpc".
21080         (do_test): Don't call test_rpc.
21081         (output_rpcent, test_rpc): Functions moved ...
21082         * sunrpc/test-rpcent.c: ... to this new file.
21083         * sunrpc/Makefile (tests): Add it.
21085         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21086         __xpg_sigpause.
21087         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21088         * nptl/tst-signal6.c: Likewise.
21089         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21090         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21092         * configure.ac (libc_cv_cxx_link_ok): New check.
21093         Reset CXX to empty if it fails to link.
21094         * configure: Regenerated.
21095         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21096         bug-atexit3-lib only if $(CXX) is nonempty.
21097         * nptl/Makefile (tests): Likewise for tst-cancel24.
21098         (tests, tests-static): Likewise for tst-cancel24-static.
21099         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21100         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21101         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21102         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21104 2015-03-04  Andreas Schwab  <schwab@suse.de>
21106         [BZ #17631]
21107         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21108         for non-GCC compilers.
21109         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21110         Likewise.
21112 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21114         [BZ #17776]
21115         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21116         integer before bitwise and assembly operations.
21117         (feclearexcept): Likewise.
21118         * math/test-fenvinline.c: New file.
21119         * math/Makefile: Add test-fenvinline test.
21121 2015-03-03  Alan Modra  <amodra@gmail.com>
21123         [BZ #16512]
21124         * scripts/localplt.awk: Strip off symbol version.
21125         * NEWS: Mention bug fix.
21127 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21129         * sysdeps/pthread/timer_routines.c
21130         (timer_free_list, thread_free_list, thread_active_list): Make static.
21132 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21134         [BZ #17779]
21135         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21136         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21137         Undefine.
21138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21139         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21140         Likewise.
21141         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21142         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21143         Likewise.
21145 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21147         [BZ #18036]
21148         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21149         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21151 2015-03-02  Andreas Schwab  <schwab@suse.de>
21153         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21154         variable name.
21156 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21158         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21159         Return error status.
21161 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21163         [BZ #15969]
21164         * locale/findlocale.c (_nl_find_locale): Introduce const
21165         version of loc_name and drop unsafe type casts.
21167 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21169         * dlfcn/tststatic2.c (main): Converted to ...
21170         (do_test): ... this.
21171         (TEST_FUNCTION): New macro.
21172         Include test-skeleton.c.
21174 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21176         [BZ #17711]
21177         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21178         (tests-pie): Add vismain.
21179         (CFLAGS-vismain.c): New.
21180         * elf/vismain.c: Add comments for PIE requirement.
21182 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21184         [BZ #18046]
21185         [BZ #18047]
21186         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21187         0x1p-56L as threshold for just returning the argument.
21188         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21189         0x1p-32L as threshold for just returning the argument.
21190         * math/auto-libm-test-in: Add more tests of atanh.
21191         * math/auto-libm-test-out: Regenerated.
21192         * sysdeps/i386/fpu/libm-test-ulps: Update.
21193         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21195 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21197         * string/bcopy.c (bcopy): Call memmove for performance.
21199 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21201         * string/bzero.c (__bzero): Call memset for performance.
21203 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21205         [BZ #18068]
21206         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21207         to 00100000.
21209 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21211         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21213 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21215         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21216         (__kernel_standard): Use CSTR macro when setting exc.name.
21217         * sysdeps/ieee754/Makefile [$(subdir) = math]
21218         (CFLAGS-k_standard.c): Remove variable.
21220         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21221         setting p and q from "else if" to "else".
21222         (qzero): Likewise.
21223         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21224         (qone): Likewise.
21225         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21226         (qzerof): Likewise.
21227         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21228         (qonef): Likewise.
21229         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21230         (qzero): Likewise.
21231         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21232         (qone): Likewise.
21234         [BZ #18038]
21235         [BZ #18039]
21236         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21237         return pi/2 for arguments below 0x1p-113L.
21238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21239         return pi/2 for arguments below 0x1p-106L.
21240         * math/auto-libm-test-in: Add more tests of acos.
21241         * math/auto-libm-test-out: Regenerated.
21243         [BZ #16351]
21244         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21245         (MO): New macro.
21246         (__ieee754_asin): Force underflow exception for results with small
21247         absolute value.
21248         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21249         (MO): New macro.
21250         (__ieee754_asinf): Force underflow exception for results with
21251         small absolute value.
21252         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21253         (__ieee754_asin): Force underflow exception for results with small
21254         absolute value.
21255         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21256         (__ieee754_asinf): Force underflow exception for results with
21257         small absolute value.
21258         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21259         (__ieee754_asinl): Force underflow exception for results with
21260         small absolute value.
21261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21262         (__ieee754_asinl): Force underflow exception for results with
21263         small absolute value.
21264         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21265         (__ieee754_asinl): Force underflow exception for results with
21266         small absolute value.
21267         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21268         Include <math.h>.
21269         * math/auto-libm-test-in: Do not mark underflow exceptions as
21270         possibly missing for bug 16351.
21271         * math/auto-libm-test-out: Regenerated.
21273         [BZ #18030]
21274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21275         of power of 2 down when low part has opposite sign.
21276         * math/libm-test.inc (logb_test_data): Add more tests.
21278 2015-02-26  Andreas Schwab  <schwab@suse.de>
21280         [BZ #18032]
21281         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21282         over collating symbol inside a bracket expression.  Minor cleanup.
21283         * posix/tst-fnmatch3.c (do_test): Add test case.
21285 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21287         [BZ #18029]
21288         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21289         Adjust exponent of power of 2 down when low part has opposite
21290         sign.
21291         * math/libm-test.inc (ilogb_test_data): Add more tests.
21293 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21295         [BZ #15969]
21296         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21297         the previous change.
21299         [BZ #15969]
21300         * locale/findlocale.c (_nl_find_locale): Retry archive search
21301         after alias expansion.
21303 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21305         * iconv/tst-iconv3.c (main): Converted to ...
21306         (do_test): ... this.
21307         (TEST_FUNCTION): New macro.
21308         Include test-skeleton.c.
21310         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21311         (convert): Make function static.
21312         (test_unalign): Likewise.  Add const to argument pointee types.
21313         (main): Replace with static function do_test.
21314         Print "Succeeded." only if RET is zero.
21315         (TEST_FUNCTION): New macro.
21316         Include test-skeleton.c.
21318         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21319         returns a null pointer.
21321 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21323         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21324         to __memcpy_ppc only for static builds.
21326 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21328         [BZ #18020]
21329         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21330         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21331         * math/auto-libm-test-in: Add more tests of asinh.
21332         * math/auto-libm-test-out: Regenerated.
21333         * sysdeps/i386/fpu/libm-test-ulps: Update.
21334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21336 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21338         [BZ #15850]
21339         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21340         and ip6_mtuinfo definitions here.
21341         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21342         in this define too.  Update comment.
21344 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21346         * elf/sprof.c (load_shobj): Tweak error message to match others.
21348 2015-02-24  Kevin Easton  <kevin@guarana.org>
21350         [BZ #16145] (partial fix)
21351         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21352         to reduce lock contention.
21354 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21356         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21357         (struct timex): Update time comment.
21358         (ADJ_SETOFFSET): Define.
21360 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21362         [BZ #18019]
21363         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21364         2**56 not 2**28 as threshold for log (2x) formula.
21365         * math/auto-libm-test-in: Add more tests of acosh.
21366         * math/auto-libm-test-out: Regenerated.
21367         * sysdeps/i386/fpu/libm-test-ulps: Update.
21368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21370 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21372         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21373         parenthesis around the buf assignment.
21374         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21376 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21378         [BZ #16783]
21379         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21380         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21381         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21382         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21383         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21384         * math/libm-test.inc (scalb_test_data): Add more tests.
21386 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21388         [BZ #17916]
21389         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21390         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21392 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21394         [BZ #17523]
21395         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21396         * io/bits/fcntl2.h (open): Use it.
21397         (openat): Likewise.
21398         * io/open.c (__libc_open): Likewise.
21399         * io/open64.c (__libc_open64): Likewise.
21400         * io/open64_2.c (__open64_2): Likewise.
21401         * io/open_2.c (__open_2): Likewise.
21402         * io/openat.c (__openat): Likewise.
21403         * io/openat64.c (__openat64): Likewise.
21404         * io/openat64_2.c (__openat64_2): Likewise.
21405         * io/openat_2.c (__openat_2): Likewise.
21406         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21407         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21408         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21409         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21410         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21411         (__open_nocancel): Likewise.
21412         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21413         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21414         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21416 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418         [BZ #14841]
21419         * resolv/gethnamaddr.c (getanswer): Skip logging if
21420         RES_USE_DNSSEC is set.
21421         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21423 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21425         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21427 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21429         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21430         201304L, for Unicode 7.
21432 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21434         [BZ #17836]
21435         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21436         shared library.  Add gmon-start.os otherwise.
21437         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21438         $(objpfx)gmon-start.os if builing shared library.
21439         ($(objpfx)g$(static-start-installed-name)): Likewise.
21441 2015-02-23  Andreas Schwab  <schwab@suse.de>
21443         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21445 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21447         [BZ #17269]
21448         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21449         (enlarge_userbuf): Likewise.
21451 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21453         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21454         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21455         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21456         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21458 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21460         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21461         expression inside statement expression.
21463 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21465         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21466         <sysdeps/nptl/lowlevellock.h> and remove macros and
21467         functions that are now defined there.
21468         (SYS_futex): Remove.
21469         (lll_compare_and_swap): Remove.
21470         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21472 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21474         [BZ #17999]
21475         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21476         instead of scandirat.
21477         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21478         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21479         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21480         __scandirat.
21481         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21482         (__scandirat): Declare.  Use libc_hidden_proto.
21483         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21484         Remove variable.
21485         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21487 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #15319]
21490         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21491         (MO): New macro.
21492         (__ieee754_atan2): For results with small absolute value, force
21493         underflow exception and remove excess range and precision from
21494         return value.
21495         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21496         (MO): New macro.
21497         (__ieee754_atan2f): For results with small absolute value, force
21498         underflow exception and remove excess range and precision from
21499         return value.
21500         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21501         (MO): New macro.
21502         (__atan): For results with small absolute value, force underflow
21503         exception and remove excess range and precision from return value.
21504         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21505         (MO): New macro.
21506         (__atanf): For results with small absolute value, force underflow
21507         exception and remove excess range and precision from return value.
21508         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21509         <math.h>.
21510         (__ieee754_atan2): Force underflow exception for results with
21511         small absolute value.
21512         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21513         <math_private.h>.
21514         (atan): Force underflow exception for results with small absolute
21515         value.
21516         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21517         (__atanf): Force underflow exception for results with small
21518         absolute value.
21519         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21520         <math.h>.
21521         (__atanl): Force underflow exception for results with small
21522         absolute value.
21523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21524         (__atanl): Force underflow exception for results with small
21525         absolute value.
21526         * sysdeps/x86/fpu/bits/mathinline.h
21527         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21528         (__ieee754_atan2): Only define inline for long double.
21529         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21530         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21531         * math/auto-libm-test-in: Do not mark underflow exceptions as
21532         possibly missing for bug 15319.  Add more tests of atan2.
21533         * math/auto-libm-test-out: Regenerated.
21534         * math/libm-test.inc (casin_test_data): Do not mark underflow
21535         exceptions as possibly missing for bug 15319.
21536         (casinh_test_data): Likewise.
21537         * sysdeps/i386/fpu/libm-test-ulps: Update.
21539 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21541         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21542         * sysdeps/mips/bits/endian.h: Fix comments.
21544 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21546         [BZ #17996]
21547         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21548         (hdestroy_r): Likewise.
21549         (hsearch_r): Likewise.
21550         (__hcreate_r): Declare and use libc_hidden_proto.
21551         (__hdestroy_r): Likewise.
21552         (__hsearch_r): Likewise.
21553         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21554         (hcreate): Call __hcreate_r instead of hcreate_r.
21555         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21556         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21557         as weak alias of __hcreate_r.
21558         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21559         __hdestroy_r.
21560         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21561         __hsearch_r.
21562         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21563         Remove variable.
21564         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21565         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21566         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21567         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21569 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21571         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21572         arena_lock into a single arena_get.
21574 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21576         * dl-reloc.c: Inlucde libc-internal.h.
21577         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21578         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21579         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21580         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21581         (grow_heap): Likewise.
21582         * malloc/malloc.c: Include libc-internal.h.
21583         (do_check_malloc): Call powerof2.
21584         (sysmalloc): Use pagesize. Call ALIGN_UP.
21585         (systrim): Use pagesize.
21586         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21587         (__libc_valloc): Use pagesize.
21588         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21590 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21592         [BZ #17991]
21593         * include/sys/resource.h (__getrlimit64): Declare.  Use
21594         libc_hidden_proto.
21595         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21596         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21597         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21598         getrlimit64.
21599         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21600         __getrlimit64.
21601         [!getrlimit64] (getrlimit64): Define as weak alias of
21602         __getrlimit64.  Use libc_hidden_weak.
21603         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21604         using __getrlimit64 not __new_getrlimit64.
21605         (__GI_getrlimit64): Likewise.
21606         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21607         Likewise.
21608         (__GI_getrlimit64): Likewise.
21609         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21611         (getrlimit): Add __getrlimit64 alias.
21612         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21613         Likewise.
21614         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21615         Remove variable.
21616         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21617         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21619 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21621         * libio/fileops.c: Add missing sys/mman.h
21622         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21624 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21626         * manual/math.texi (Errors in Math Functions): Clarify goals
21627         regarding inexact and underflow exceptions.
21629 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21631         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21632         * sysdeps/mips/memset.S: Ditto.
21634 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21636         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21638 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21640         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21641         (__v1longjmp): Remove versioned symbol.
21642         (__v1siglongjmp): Remove alias and versioned symbol.
21643         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21644         (__v2siglongjmp): Likewise.
21646 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21648         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21650 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21652         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21654 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21656         [BZ #17987]
21657         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21658         zero result does not depend on the sign resulting from
21659         subtraction.
21660         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21661         Likewise.
21662         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21663         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21664         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21665         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21666         * math/libm-test.inc (remquo_test_data): Add more tests.
21668 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21670         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21671         Problem reported by J William Piggott.
21673 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21675         [BZ #17978]
21676         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21677         products 4 * y and 2 * y where those would overflow.
21678         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21679         Likewise.
21680         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21681         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21682         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21683         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21684         * math/libm-test.inc (remquo_test_data): Add more tests.
21686         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21688         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21689         [defined _COMPILING_NEWLIB].
21690         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21691         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21693         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21694         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21696 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21698         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21699         acquired.
21701 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21703         [BZ #17792]
21704         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21705         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21706         HOST_STACK_END_ADDR): Likewise.
21708 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21710         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21711         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21712         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21714 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21716         * sysdeps/generic/c++-types.data: New file.
21717         * sysdeps/generic/ld.abilist: New file.
21718         * sysdeps/generic/libBrokenLocale.abilist: New file.
21719         * sysdeps/generic/libanl.abilist: New file.
21720         * sysdeps/generic/libc.abilist: New file.
21721         * sysdeps/generic/libcrypt.abilist: New file.
21722         * sysdeps/generic/libdl.abilist: New file.
21723         * sysdeps/generic/libm.abilist: New file.
21724         * sysdeps/generic/libpthread.abilist: New file.
21725         * sysdeps/generic/libresolv.abilist: New file.
21726         * sysdeps/generic/librt.abilist: New file.
21728 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21730         [BZ #17569]
21731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21732         Compute absolute value of x as modified by fmod, not original
21733         value of x.
21734         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21735         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21736         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21737         RUN_TEST_ffI_f1_mod8.
21738         (remquo_test_data): Add more tests.
21740 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21742         * sysdeps/init_array/pt-crti.S: New file.
21744 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #17967]
21747         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21748         __builtin_fmaf instead of relying on contraction of a * b + c.
21750 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21752         [BZ #17969]
21753         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21754         node.
21756 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21758         [BZ #17964]
21759         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21760         __builtin_fma instead of relying on contraction of a * b + c.
21762 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21764         * Makeconfig (ASFLAGS): Add -Werror=undef.
21765         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21766         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21767         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21769         * Makeconfig (after-link): New variable.
21770         (+link-pie, +link-pie-tests): Use it.
21771         (+link-static, +link-static-tests): Likewise.
21772         (+link, +link-tests): Likewise.
21773         * Makerules (build-module, build-module-asneeded): Likewise.
21774         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21775         Likewise.
21776         * elf/Makefile ($(objpfx)ld.so): Likewise.
21778 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21780         [BZ #17965]
21781         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21782         both struct timeval and struct timespec.
21784 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #16560]
21787         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21788         and redefine.
21789         (__ieee754_exp2l): Do not multiply small fractional parts by
21790         M_LN2l.
21791         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21792         small argument.
21793         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21794         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21795         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21796         * math/auto-libm-test-in: Add more tests of exp2.
21797         * math/auto-libm-test-out: Regenerated.
21799 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21801         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21802         unaligned path.
21804 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21806         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21807         little endian.
21809 2015-02-12  Andreas Schwab  <schwab@suse.de>
21811         [BZ #15790]
21812         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21813         Filter out elision flags from value returned in kind.
21814         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21815         * nptl/tst-pthread-mutexattr.c: New file.
21817 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21819         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21820         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21821         into gnu-gnu, and update comment to refer to abi-tags.
21823 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21825         [BZ #15467]
21826         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21827         (__sincos): Set errno to EDOM for infinite argument.
21828         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21829         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21830         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21831         (__sincosl): Set errno to EDOM for infinite argument.
21832         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21833         (__sincosl): Set errno to EDOM for infinite argument.
21834         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21835         (__sincosl): Set errno to EDOM for infinite argument.
21836         * math/libm-test.inc (sincos_test_data): Test errno setting.
21838 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21840         * string/strxfrm_l.c: Remove #define STRCMP.
21841         * string/strcoll_l.c: Remove #define STRLEN.
21842         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21843         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21845 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21847         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21848         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21849         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21850         * sysdeps/mips/mips64/Makefile: ... here.
21851         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21852         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21853         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21854         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21855         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21856         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21857         * sysdeps/mips/mips64/n64/Implies: Likewise.
21859 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21861         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21862         <sys/time.h>, <string.h>, and <errno.h>.
21863         (dest_offset, dest_address, value, zero): Remove unused variables.
21864         (ldouble): Remove typedef.
21865         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21866         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21867         1).  Fix code style.
21868         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21869         (check): Function removed.
21870         (CHECK): New macro.
21871         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21872         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21873         Don't call set_sigaction_FP and remove_sigaction_FP here.
21874         (ldouble_test): Just use 'long double' as macro argument, no need for
21875         the 'ldouble' typedef.
21876         (do_test): Set up SIGFPE handler at start, using plain signal rather
21877         than sigaction.  Fix code style.
21879 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21881         [BZ #17949]
21882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21883         jump label.
21885 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21887         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21888         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21890         * sysdeps/powerpc/configure.ac: Remove file.
21891         * sysdeps/powerpc/configure: Likewise.
21893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21894         [sysdep_routines]: Remove wordcopy-power6 object.
21895         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21896         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21897         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21898         (__memmove_ppc32): Likewise.
21899         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21900         file.
21901         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21902         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21903         Remove preprocessor.
21905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21906         [sysdep_routines]: Remove wide chars objects.
21907         [wcsmbs]: New rule for wide char objects.
21909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21910         Remove wordcopy-power6 obejct.
21911         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21912         Use local call for wordcopy and memcpy symbols.
21913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21915         implementation for loader.
21916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21919         Remove wordcopy-power7 object.
21920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21922         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21923         (_wordcopy_fwd_dest_aligned): Likewise.
21924         (_wordcopy_bwd_aligned): Likewise.
21925         (_wordcopy_bwd_dest_aligned): Likewise.
21927         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21928         Rewrite to call __memmove_ppc instead of include default
21929         implementation.
21931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21932         Remove wide chars objects.
21933         [wcsmbs]: New rule for wide char objects.
21935 2015-02-09  Andreas Schwab  <schwab@suse.de>
21937         [BZ #17912]
21938         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21939         in terms of __O_DIRECTORY.
21941 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21943         * time/getdate.c: Include <stdbool.h>.
21944         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21945         call PTR_MANGLE.
21946         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21947         PTR_DEMANGLE.
21949 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21951         Add ersatz _Static_assert on older C hosts
21952         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21953         pre-C11 C platform that is not known to support _Static_assert.
21955 2015-02-07  Richard Braun  <rbraun@sceen.net>
21957         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21958         sigstate.
21959         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21961 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21963         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21964         priority against unexistent AIO_PRIO_DELTA_MAX.
21965         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21966         instead of int.
21967         * misc/fchflags.c (fchflags): Likewise.
21968         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21969         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21970         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21971         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21972         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21973         Declare macros.
21974         [__USE_MISC] (chflags, fchflags): Declare functions.
21975         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21976         EINVAL when nfds is greater than FD_SETSIZE.
21977         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21978         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21979         45.
21980         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21981         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21982         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21983         MACH_RCV_TIMED_OUT.
21984         * hurd/hurd/signal.h (_hurd_self_sigstate,
21985         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21986         Explicit casts from void *.
21987         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21988         * abi-tags: Rename gnu-gnu os into gnu.
21990         [BZ #4719]
21991         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21992         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21993         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21994         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21995         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21996         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21998         [BZ #17944]
21999         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22000         duplicates ADDR->sun_path with sockaddr LEN limitation.
22001         * sysdeps/mach/hurd/connect.c: Include <string.h>
22002         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22003         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22004         * sysdeps/mach/hurd/sendto.c: Likewise.
22005         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22006         implementing it by hand.
22008 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22010         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22011         Use sfi_breg on ldr.
22012         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22013         Likewise.
22015         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22016         it's defined.
22017         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22018         Test SIGSETXID only if it's defined.
22020         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22022         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22023         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22025         * nptl/tst-align2.c: Moved ...
22026         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22027         * nptl/Makefile (tests): Remove tst-align2.
22028         * sysdeps/unix/sysv/linux/Makefile
22029         [$(subdir) = nptl] (tests): Add tst-align-clone.
22030         * nptl/tst-getpid1.c: Moved ...
22031         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22032         * nptl/tst-getpid2.c: Moved ...
22033         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22034         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22035         * sysdeps/unix/sysv/linux/Makefile
22036         [$(subdir) = nptl] (tests): ... here.
22037         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22038         * sysdeps/unix/sysv/linux/Makefile
22039         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22041         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22042         Drop trailing \n from perror argument.  Use return rather than exit.
22044         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22045         on [SA_SIGINFO].
22046         * nptl/tst-cancel21.c (do_test): Likewise.
22047         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22048         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22049         [!SA_SIGINFO]: Make it a stub test.
22051         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22052         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22054         * posix/tst-getlogin.c: Move to ...
22055         * login/tst-getlogin.c: ... here.
22056         * posix/Makefile (tests): Move tst-getlogin to ...
22057         * login/Makefile (tests): ... here.
22059         * libio/tst-atime.c (do_test): Move local variables SV and E
22060         inside [ST_NOATIME] conditional.
22062         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22064         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22066         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22067         (wait_code): New function replaces macro.
22068         Call nanosleep rather than syscall.
22070         * nptl/pt-system.c: Rewritten.  Put everything under
22071         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22072         Use IFUNC to redirect when possible.
22074         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22075         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22076         Use IFUNC to redirect when possible.
22078         * nptl/pt-fork.c: Rewritten.  Put everything under
22079         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22080         Use IFUNC to redirect when possible.
22081         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22083         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22084         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22085         unconditionally nowadays.  This included the only reference to
22086         __vdso_clock_gettime that appears outside libc proper.
22087         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22088         Remove version set (containing only __vdso_clock_gettime).
22089         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22090         Add attribute_hidden.
22091         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22092         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22093         libc_hidden_data_def.
22094         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22095         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22097         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22098         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22099         setrpcent, and getrpcport to ...
22100         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22101         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22102         getrpcbynumber_r, and getrpcent_r to ...
22103         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22104         * inet/getrpcbyname.c: Moved ...
22105         * sunrpc/getrpcbyname.c: ... here.
22106         * inet/getrpcbyname_r.c: Moved ...
22107         * sunrpc/getrpcbyname_r.c: ... here.
22108         * inet/getrpcbynumber.c: Moved ...
22109         * sunrpc/getrpcbynumber.c: ... here.
22110         * inet/getrpcbynumber_r.c: Moved ...
22111         * sunrpc/getrpcbynumber_r.c: ... here.
22112         * inet/getrpcent.c: Moved ...
22113         * sunrpc/getrpcent.c: ... here.
22114         * inet/getrpcent_r.c: Moved ...
22115         * sunrpc/getrpcent_r.c: ... here.
22116         * inet/Makefile (routines): Move those to ...
22117         * sunrpc/Makefile (routines): ... here.
22118         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22119         the $(subdirs) list.
22120         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22121         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22122         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22123         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22125         * elf/Makefile (routines): Include $(all-dl-routines), not just
22126         $(dl-routines).
22127         (rtld-routines): Likewise.  Use = rather than :=.
22128         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22129         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22130         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22131         * sysdeps/arm/Makefile: Likewise.
22132         * sysdeps/i386/Makefile: Likewise.
22133         * sysdeps/x86_64/Makefile: Likewise.
22134         * sysdeps/hppa/Makefile [$(subdir) = elf]
22135         (sysdep_routines, sysdep-rtld-routines): Don't add
22136         $(sysdep-dl-routines) to these.
22137         * sysdeps/ia64/Makefile: Likewise.
22138         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22139         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22140         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22141         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22142         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22143         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22144         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22145         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22146         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22147         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22148         these; sysdep-dl-routines alone is enough.
22150 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22152         [BZ #17932]
22153         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22154         where multiplication results in zero and third argument is finite
22155         and nonzero.
22156         * math/auto-libm-test-in: Add more tests of fma.
22157         * math/auto-libm-test-out: Regenerated.
22159         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22160         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22161         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22162         (_FP_CMP_EQ): Likewise.
22163         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22165         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22166         extra argument CHECK_NAN.  Redefine as wrapper around
22167         _FP_EXTEND_CNAN.
22169 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22171         * version.h (RELEASE): Set to "stable".
22172         (VERSION): Set to "2.21"
22173         * include/features.h (__GLIBC_MINOR__): Set to 21.
22175         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22177 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22178             Paul Eggert  <eggert@cs.ucla.edu>
22180         [BZ #16618]
22181         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22182         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22183         size in bytes. Store needed elements in wpmax. Use needed size
22184         in bytes for extend_alloca.
22186 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22188         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22189         binutls 2.25, and texinfo 5.2.
22190         * INSTALL: Regenerate.
22191         * sysdeps/nios2/configure: Regenerate.
22192         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22193         * manual/contrib.texi: Update.
22194         * po/be.po: Update.
22195         * po/bg.po: Update.
22196         * po/ca.po: Update.
22197         * po/cs.po: Update.
22198         * po/da.po: Update.
22199         * po/de.po: Update.
22200         * po/el.po: Update.
22201         * po/eo.po: Update.
22202         * po/es.po: Update.
22203         * po/fi.po: Update.
22204         * po/fr.po: Update.
22205         * po/gl.po: Update.
22206         * po/hr.po: Update.
22207         * po/hu.po: Update.
22208         * po/ia.po: Update.
22209         * po/id.po: Update.
22210         * po/it.po: Update.
22211         * po/ja.po: Update.
22212         * po/ko.po: Update.
22213         * po/lt.po: Update.
22214         * po/nb.po: Update.
22215         * po/nl.po: Update.
22216         * po/pl.po: Update.
22217         * po/pt_BR.po: Update.
22218         * po/ru.po: Update.
22219         * po/rw.po: Update.
22220         * po/sk.po: Update.
22221         * po/sl.po: Update.
22222         * po/sv.po: Update.
22223         * po/tr.po: Update.
22224         * po/uk.po: Update.
22225         * po/vi.po: Update.
22226         * po/zh_CN.po: Update.
22227         * po/zh_TW.po: Update.
22229         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22230         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22231         * sysdeps/hppa/dl-irel.h: Remove #warning.
22232         * sysdeps/hppa/entry.h: Provide prototype for
22233         __canonicalize_funcptr_for_compare and cast argument.
22234         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22235         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22236         * sysdeps/hppa/sotruss-lib.c: New file.
22237         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22238         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22239         (atomic_compare_and_exchange_bool_acq): Likewise.
22240         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22241         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22243         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22244         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22245         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22247 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22249         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22250         called function in non-PIC case.
22252 2015-01-31  David S. Miller  <davem@davemloft.net>
22254         * sysdeps/sparc/sparc32/bits/atomic.h
22255         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22256         unlock not after it.
22257         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22258         volatile register usage warnings from the compiler.
22260         * sysdeps/sparc/nptl/sem_init.c: Delete.
22261         * sysdeps/sparc/nptl/sem_post.c: Delete.
22262         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22263         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22264         * sysdeps/sparc/sparc32/sem_init.c: New file.
22265         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22266         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22267         padding explicitly initialized.
22268         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22269         padding for in-semaphore spinlock.
22270         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22271         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22272         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22273         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22274         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22275         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22276         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22277         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22278         version.
22279         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22280         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22282 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22284         [BZ #17801]
22285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22286         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22287         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22288         New.
22289         (index_AVX_Fast_Unaligned_Load): Likewise.
22290         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22291         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22292         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22293         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22294         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22295         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22296         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22297         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22298         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22300 2015-01-29  Andreas Schwab  <schwab@suse.de>
22302         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22304 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22306         [BZ #17892]
22307         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22309 2015-01-28  Martin Sebor  <msebor@redhat.com>
22311         * math/README.libm-test: Clarify. Add "How to read the test output."
22313 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22315         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22316         Define to 0.
22318 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22320         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22321         (__HAVE_64B_ATOMICS): Define to 0.
22323 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22325         [BZ #17885]
22326         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22327         value to set as new flag.
22329         [BZ #16576]
22330         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22331         and use _ARCH_PPCSQ instead.
22332         (__ieee754_sqrt): Likewise.
22333         (__ieee754_sqrtf): Likewise.
22334         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22335         _ARCH_PPCSQ is defined.
22336         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22337         fsqrt instruction.
22338         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22339         _ARCH_PPCSQ is defined.
22340         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22341         fsqrts instruction.
22342         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22344 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22346         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22347         bug (GCC BZ #64739).
22349 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22351         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22352         Mark _retval as used.
22353         (lll_futex_wake_unlock): Likewise.
22354         (lll_futex_timed_wait_requeue_pi): Likewise.
22356         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22357         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22358         register variables.
22360         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22361         libm_hidden_def.
22363         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22364         (__bswap_64): Mark as __always_inline.
22366 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22368         [BZ #15378]
22369         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22370         when none of the search directories exist.
22372 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22374         [BZ #17869]
22375         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22376         power8 in .machine directive.
22378         [BZ #17868]
22379         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22380         set dependency from opd value.
22382 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22385         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22386         architecture.
22388 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22390         [BZ #17870]
22391         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22392         with uint64_t.
22393         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22394         (uint64_t) 1.
22395         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22396         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22397         Replace 1UL with (uint64_t) 1.
22398         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22399         int with uint64_t.
22401 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22403         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22404         (if_freenameindex): Likewise.
22406         * resource/getrlimit64.c: Add missing libc_hidden_def.
22408 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22410         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22411         __label__.
22412         (_FP_FMA): Likewise.
22413         (_FP_TO_INT_ROUND): Likewise.
22414         (_FP_FROM_INT): Likewise.
22416 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22418         [BZ #16418]
22419         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22420         Make code racy and cancel safe.
22422 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22424         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22425         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22426         attribution.
22428         * pwd/tst-getpw.c: Rewrite.
22430         [BZ #17702]
22431         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22432         (modules-names): Add moddummy1 and moddummy2.
22433         ($(objpfx)tst-rec-dlopen): Define.
22434         * dlfcn/moddummy1.c: New file.
22435         * dlfcn/moddummy2.c: New file.
22436         * dlfcn/tst-rec-dlopen.c: New file.
22437         * elf/dl-cache.c (_dl_load_cache_lookup):
22438         Return char*. Copy result with alloca/strcpy/strdup.
22439         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22440         returns char*. Free cached. If not saving realname
22441         free cached.
22442         * elf/dl-open.c (dl_open_worker): Do not assert that
22443         _r_debug->r_state is RT_CONSISTENT.
22444         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22445         returns char*.
22447 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22448             Carlos O'Donell  <carlos@redhat.com>
22450         [BZ #12674]
22451         * nptl/sem_waitcommon.c: New file.
22452         * nptl/sem_wait.c: Include sem_waitcommon.c.
22453         (__sem_wait_cleanup, do_futex_wait): Remove.
22454         (__new_sem_wait): Adapt.
22455         (__new_sem_trywait): New function.
22456         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22457         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22458         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22459         (sem_timedwait): Adapt.
22460         * nptl/sem_post.c (__new_sem_post): Adapt.
22461         (futex_wake): New function.
22462         (__old_sem_post): Add release MO fence.
22463         * nptl/sem_open.c (sem_open): Adapt.
22464         * nptl/sem_init.c (__new_sem_init): Adapt.
22465         (futex_private_if_supported): New function.
22466         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22467         (__old_sem_getvalue): Add using previous code.
22468         * sysdeps/nptl/internaltypes.h: Adapt.
22469         * nptl/tst-sem13.c (do_test): Adapt.
22470         * nptl/tst-sem11.c (main): Adapt.
22471         * nptl/sem_trywait.c: Remove.
22472         * nptl/DESIGN-sem.txt: Remove.
22473         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22474         (gen-as-const-headers): Remove structsem.sym.
22475         * nptl/structsem.sym: Remove.
22476         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22477         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22478         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22479         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22480         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22481         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22482         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22483         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22484         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22485         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22486         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22487         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22488         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22489         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22490         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22491         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22492         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22493         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22494         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22495         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22496         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22497         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22499 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22501         * INSTALL: Regenerated.
22503         * po/libc.pot: Regenerated.
22505 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22506             Sandra Loosemore  <sandra@codesourcery.com>
22507             Andrew Jenner  <andrew@codesourcery.com>
22508             Joseph Myers  <joseph@codesourcery.com>
22509             Nathan Sidwell  <nathan@codesourcery.com>
22511         * NEWS: Mention new Nios II port.
22512         * sysdeps/nios2/Implies: New file.
22513         * sysdeps/nios2/Makefile: New file.
22514         * sysdeps/nios2/Subdirs: New file.
22515         * sysdeps/nios2/Versions: New file.
22516         * sysdeps/nios2/__longjmp.S: New file.
22517         * sysdeps/nios2/abort-instr.h: New file.
22518         * sysdeps/nios2/backtrace.c: New file.
22519         * sysdeps/nios2/bits/endian.h: New file.
22520         * sysdeps/nios2/bits/fenv.h: New file.
22521         * sysdeps/nios2/bits/link.h: New file.
22522         * sysdeps/nios2/bits/setjmp.h: New file.
22523         * sysdeps/nios2/bsd-_setjmp.S: New file.
22524         * sysdeps/nios2/bsd-setjmp.S: New file.
22525         * sysdeps/nios2/configure: New generated file.
22526         * sysdeps/nios2/configure.ac: New file.
22527         * sysdeps/nios2/crti.S: New file.
22528         * sysdeps/nios2/crtn.S: New file.
22529         * sysdeps/nios2/dl-init.c: New file.
22530         * sysdeps/nios2/dl-machine.h: New file.
22531         * sysdeps/nios2/dl-sysdep.h: New file.
22532         * sysdeps/nios2/dl-tls.h: New file.
22533         * sysdeps/nios2/dl-trampoline.S: New file.
22534         * sysdeps/nios2/gccframe.h: New file.
22535         * sysdeps/nios2/gmp-mparam.h: New file.
22536         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22537         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22538         * sysdeps/nios2/ldsodefs.h: New file.
22539         * sysdeps/nios2/libc-tls.c: New file.
22540         * sysdeps/nios2/libm-test-ulps: New file.
22541         * sysdeps/nios2/machine-gmon.h: New file.
22542         * sysdeps/nios2/math-tests.h: New file.
22543         * sysdeps/nios2/math_private.h: New file.
22544         * sysdeps/nios2/memusage.h: New file.
22545         * sysdeps/nios2/nptl/Makefile: New file.
22546         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22547         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22548         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22549         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22550         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22551         * sysdeps/nios2/nptl/tls.h: New file.
22552         * sysdeps/nios2/preconfigure: New file.
22553         * sysdeps/nios2/s_fma.c: New file.
22554         * sysdeps/nios2/s_fmaf.c: New file.
22555         * sysdeps/nios2/setjmp.S: New file.
22556         * sysdeps/nios2/sfp-machine.h: New file.
22557         * sysdeps/nios2/sotruss-lib.c: New file.
22558         * sysdeps/nios2/stackguard-macros.h: New file.
22559         * sysdeps/nios2/stackinfo.h: New file.
22560         * sysdeps/nios2/start.S: New file.
22561         * sysdeps/nios2/sysdep.h: New file.
22562         * sysdeps/nios2/tls-macros.h: New file.
22563         * sysdeps/nios2/tst-audit.h: New file.
22564         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22565         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22566         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22567         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22568         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22569         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22570         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22571         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22572         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22573         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22574         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22575         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22576         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22577         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22578         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22579         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22580         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22581         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22582         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22583         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22584         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22585         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22586         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22587         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22588         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22589         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22590         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22591         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22592         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22593         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22594         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22595         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22596         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22597         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22598         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22599         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22600         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22601         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22602         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22603         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22604         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22605         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22606         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22607         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22609 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22611         [BZ #17844]
22612         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22613         (getutent): Use weak_alias in non SHARED case
22614         and default_symbol_version in SHARED case.
22615         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22616         (getutent_r, pututline): Likewise.
22617         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22618         (getutid): Likewise.
22619         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22620         (getutid_r): Likewise.
22621         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22622         (getutline): Likewise.
22623         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22624         (getutline_r): Likewise.
22625         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22626         (updwtmp): Likewise.
22628 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22630         [BZ #17848]
22631         * sysdeps/s390/s390-32/memcmp.S
22632         (memcmp_g5): Rename to __memcmp_g5.
22633         * sysdeps/s390/s390-32/memcpy.S
22634         (memcpy_g5): Rename to __memcpy_g5.
22635         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22636         (memcpy_mvcle) Rename to __memcpy_mvcle.
22637         * sysdeps/s390/s390-32/memset.S
22638         (memset_g5): Rename to __memset_g5.
22639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22640         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22641         and use prefixed functions.
22642         * sysdeps/s390/s390-32/multiarch/memcmp.S
22643         (memcmp_z196): Rename to __memcmp_z196.
22644         (memcmp_z10): Rename to __memcmp_z10.
22645         (memcmp): Set alias to __memcmp_g5.
22646         (bcmp): Set alias to __memcmp_g5.
22647         * sysdeps/s390/s390-32/multiarch/memcpy.S
22648         (memcpy_z196): Rename to __memcpy_z196.
22649         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22650         (memcpy_z10): Rename to __memcpy_z10.
22651         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22652         (memcpy): Set alias to __memcpy_g5.
22653         * sysdeps/s390/s390-32/multiarch/memset.S
22654         (memset_z196): Rename to __memset_z196.
22655         Jump to __memset_mvcle instead of memset_mvcle.
22656         (memset_z10): Rename to __memset_z10.
22657         Jump to __memset_mvcle instead of memset_mvcle.
22658         (memset_mvcle) Rename to __memset_mvcle.
22659         (memset): Set alias to __memset_g5.
22660         * sysdeps/s390/s390-64/memcmp.S
22661         (memcmp_z900): Rename to __memcmp_z900.
22662         * sysdeps/s390/s390-64/memcpy.S
22663         (memcpy_z900): Rename to __memcpy_z900.
22664         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22665         (memcpy_mvcle) Rename to __memcpy_mvcle.
22666         * sysdeps/s390/s390-64/memset.S
22667         (memset_z900): Rename to __memset_z900.
22668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22669         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22670         and use prefixed functions.
22671         * sysdeps/s390/s390-64/multiarch/memcmp.S
22672         (memcmp_z196): Rename to __memcmp_z196.
22673         (memcmp_z10): Rename to __memcmp_z10.
22674         (memcmp): Set alias to __memcmp_z900.
22675         (bcmp): Set alias to __memcmp_z900.
22676         * sysdeps/s390/s390-64/multiarch/memcpy.S
22677         (memcpy_z196): Rename to __memcpy_z196.
22678         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22679         (memcpy_z10): Rename to __memcpy_z10.
22680         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22681         (memcpy): Set alias to __memcpy_z900.
22682         * sysdeps/s390/s390-64/multiarch/memset.S
22683         (memset_z196): Rename to __memset_z196.
22684         Jump to __memset_mvcle instead of memset_mvcle.
22685         (memset_z10): Rename to __memset_z10.
22686         Jump to __memset_mvcle instead of memset_mvcle.
22687         (memset_mvcle) Rename to __memset_mvcle.
22688         (memset): Set alias to __memset_z900.
22690 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22692         [BZ #17748]
22693         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22694         __fesetenv instead of fesetenv.
22696 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22698         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22699         macro.
22701 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22703         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22704         regression on LE.
22706         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22707         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22709         strncmp-power8 object.
22710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22711         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22712         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22713         * NEWS: Update.
22715 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22716             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22718         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22719         trailing byte check.
22721 2015-01-13  David S. Miller  <davem@davemloft.net>
22723         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22725 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22727         * login/logout.c (logout): Use memset rather than bzero.
22728         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22729         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22730         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22731         (_gethtbyaddr): Likewise.
22732         * locale/programs/simple-hash.c (bcopy): Macro removed.
22734 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22737         Add strcmp-power8 object.
22738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22739         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22740         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22741         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22742         __strcmp_power8 implementation.
22743         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22744         * NEWS: Update.
22746         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22747         Add strncpy-power8 and stpncpy-power8 objects.
22748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22749         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22750         implementations.
22751         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22753         __stpncpy_power8 implementation.
22754         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22755         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22756         __strncpy_power8 implementation.
22757         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22758         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22759         * NEWS: Update.
22761         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22762         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22763         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22765         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22766         strncat-power8 object.
22767         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22768         __strcat_power8 implementation.
22769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22770         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22771         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22772         optimized strcat for power8.
22774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22775         strcpy-power8 and stpcpy-power8 objects.
22776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22777         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22778         implementations.
22779         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22780         multiarch stpcpy implementation for POWER8.
22781         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22782         multiarch strcpy implementation for POWER8.
22783         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22784         __strcpy_power8 function.
22785         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22786         stpcpy for POWER8.
22787         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22788         strcpy for POWER8.
22789         * NEWS: Update.
22791 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22793         [BZ #16009]
22794         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22795         weights and rules. Use do_xfrm_cached if data fits in cache,
22796         do_xfrm otherwise.  Moved former main loop to...
22797         * (do_xfrm_cached): New function.
22798         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22799         find_idx, find_position and stack_push.
22800         * (find_idx): New function.
22801         * (find_position): Likewise.
22802         * localedata/sort-test.sh: Added test run for do_xfrm.
22803         * localedata/xfrm-test.c (main): Added command line option
22804         -nocache to run the test with strings that are too large for
22805         the STRXFRM cache.
22807 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22809         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22810         variable to lll_futex_wake call, not the value itself.
22812 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22814         [BZ #17803]
22815         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22816         twom64.  Adjust value to 0x1p-64L.
22817         (__scalblnl): Only return standard underflowing result for K <=
22818         -64 not K <= -63; adjust exponent for underflowing result by 64
22819         not 63.
22820         * math/libm-test.inc (scalbn_test_data): Add more tests.
22821         (scalbln_test_data): Likewise.
22823         [BZ #17834]
22824         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22825         0x1p63L.
22826         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22827         not HX.
22828         * math/libm-test.inc (scalbn_test_data): Add more tests.
22829         (scalbln_test_data): Likewise.
22831 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22832             Stefani Seibold  <stefani@seibold.net>
22834         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22835         (sysdep_routines): Add dl-vdso here, ...
22836         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22837         (sysdep_routines): ... not here.
22838         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22839         fallback when vDSO is not presented.
22840         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22841         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22842         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22843         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22844         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22845         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22846         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22847         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22848         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22850         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22851         fallback configurable symbol when vDSO is not available.
22852         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22853         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22854         be able to redefine fallback symbol when vDSO is not available.
22855         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22856         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22858 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22861         (TLS_INIT_TP): Add tm_capable initialization.
22862         (TLS_DEFINE_INIT_TP): Likewise.
22863         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22864         TCB.
22865         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22866         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22867         calculation.
22868         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22869         transactoion is lock elision is built and TCB tm_capable is set.
22870         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22872         (INTERNAL_SYSCALL_NCS): Likewise.
22873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22874         (INTERNAL_SYSCALL_NCS): Likewise.
22875         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22877         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22878         for powerpc.
22879         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22880         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22881         and remove it for 32 bits case.
22882         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22884         initialization.
22885         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22886         Disable lock elision with rdlocks if elision is not available.
22888         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22889         (sysdep_routines): Add lock elision objects.
22890         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22891         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22892         [pthread_mutex_t] (__elision): Add field.
22893         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22894         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22895         elision definitions for powerpc.
22896         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22897         implementation of lock elision for powerpc.
22898         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22899         implementation of timed lock elision for powerpc.
22900         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22901         implementation of trylock with lock elision for powerpc.
22902         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22903         implementaion of unlock for lock elision for powerpc.
22904         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22905         automatic enable lock elision for mutexes.
22906         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22907         transaction execution definitions for powerpc.
22908         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22909         definitions.
22910         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22911         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22912         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22913         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22914         * NEWS: Update.
22916 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22918         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22919         for #include of <shm-directory.h>.
22921 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22924         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22926 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22928         [BZ #17791]
22929         * NEWS: Mention bug fix.
22930         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22931         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22932         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22934 2015-01-09  Torvald Riegel <triegel@redhat.com>
22936         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22938 2015-01-09  Torvald Riegel <triegel@redhat.com>
22940         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22942 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22944         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22945         pointer and cast to uintptr_t.
22947 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22949         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22950         removed.
22951         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22953 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22955         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22956         of 0.
22958 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22960         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22961         <nptl/pthreadP.h> instead.
22962         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22964         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22965         already defined.
22966         [__SIGRTMIN] (init): Function removed.
22967         [__SIGRTMIN] (initialized): Variable removed.
22968         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22969         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22970         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22971         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22972         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22973         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22974         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22975         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22976         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22977         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22978         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22979         * sysdeps/nptl/allocrtsig.c: New file.
22980         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22981         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22982         * sysdeps/generic/testrtsig.h: File removed.
22984         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22985         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22987         * nptl/nptl-init.c (pthread_functions): Conditionalize
22988         .ptr__nptl_setxid initialization on [SIGSETXID].
22990         * sysdeps/nptl/sys/procfs.h: New file.
22991         * nptl_db/Makefile (headers): Add it.
22992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22994         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22995         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22996         * nptl/pthread_attr_setaffinity.c: Include it.
22997         * nptl/pthread_setattr_default_np.c: Likewise.
22998         * nptl/check-cpuset.h: New file.
23000 2015-01-08  Richard Henderson  <rth@redhat.com>
23002         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23003         (CFLAGS-tst-execstack-prog.c): Likewise.
23004         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23006 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23007             Sandra Loosemore  <sandra@codesourcery.com>
23008             Andrew Jenner  <andrew@codesourcery.com>
23009             Joseph Myers  <joseph@codesourcery.com>
23010             Nathan Sidwell  <nathan@codesourcery.com>
23012         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23013         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23014         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23015         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23016         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23017         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23018         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23019         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23020         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23021         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23022         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23023         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23024         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23025         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23026         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23027         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23028         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23030 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23032         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23033         timespec struct member in syscall macro.
23034         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23035         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23036         first timeval struct member in syscall macro.
23037         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23039 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #17748]
23042         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23043         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23044         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23045         __feupdateenv and define as weak alias of __feupdateenv.  Use
23046         libm_hidden_weak.
23047         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23048         libm_hidden_def.
23049         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23050         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23051         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23052         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23053         libm_hidden_def.
23054         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23055         __feupdateenv and define as weak alias of __feupdateenv.  Use
23056         libm_hidden_weak.
23057         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23058         libm_hidden_def.
23059         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23060         __feupdateenv and define as weak alias of __feupdateenv.  Use
23061         libm_hidden_weak.
23062         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23063         libm_hidden_def.
23064         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23065         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23066         (__feupdateenv): Likewise.
23067         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23068         __feupdateenv and define as weak alias of __feupdateenv.  Use
23069         libm_hidden_weak.
23070         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23071         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23072         libm_hidden_def.
23073         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23074         function.
23075         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23076         libm_hidden_def.
23077         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23078         __feupdateenv instead of feupdateenv.
23079         (default_libc_feupdateenv_test): Likewise.
23080         (libc_feresetround_ctx): Likewise.
23082 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23084         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23085         prototype.
23087 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23089         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23090         COLL_SYM in a couple of places to avoid uninitialized variable
23091         wanings on tilegx gcc 4.8.2.
23093 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23095         * sysdeps/aarch64/strcpy.S: New file.
23096         * sysdeps/aarch64/stpcpy.S: New file.
23097         * NEWS: Updated.
23099 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23101         * sysdeps/aarch64/strrchr.S: New file.
23102         * NEWS: Updated.
23104 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23106         [BZ #17658]
23107         * stdlib/setenv.c: Fix memory leak when setting large,
23108         duplicate string.
23110 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23112         [BZ #17273]
23113         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23114         and tabs from buffer before parsing fstab entry.
23115         * misc/tst-mntent.c (main): Add test for mount entry with
23116         trailing spaces and tabs.
23118 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23120         [BZ #17748]
23121         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23122         * math/fesetround.c (fesetround): Rename to __fesetround and
23123         define as weak alias of __fesetround.  Use libm_hidden_weak.
23124         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23125         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23126         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23127         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23128         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23129         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23130         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23131         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23132         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23133         __fesetround_inline.
23134         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23135         __fesetround_inline instead of __fesetround.
23136         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23137         __fesetround and define as weak alias of __fesetround.  Use
23138         libm_hidden_weak.  Call __fesetround_inline instead of
23139         __fesetround.
23140         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23141         __fesetround and define as weak alias of __fesetround.  Use
23142         libm_hidden_weak.
23143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23144         Likewise.
23145         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23146         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23147         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23148         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23149         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23150         __fesetround and define as weak alias of __fesetround.  Use
23151         libm_hidden_weak.
23152         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23153         __fesetround instead of fesetround.
23154         (default_libc_feholdexcept_setround): Likewise.
23155         (libc_feholdsetround_ctx): Likewise.
23156         (libc_feholdsetround_noex_ctx): Likewise.
23158         [BZ #17748]
23159         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23160         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23161         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23162         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23163         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23164         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23165         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23166         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23167         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23168         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23169         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23170         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23171         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23173         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23174         libm_hidden_def.
23175         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23176         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23177         Likewise.
23178         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23179         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23180         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23181         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23182         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23183         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23184         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23185         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23186         __fesetenv instead of fesetenv.
23187         (libc_feresetround_noex_ctx): Likewise.
23188         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23189         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23190         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23191         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23192         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23193         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23194         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23195         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23196         (__feupdateenv): Likewise.
23197         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23198         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23199         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23200         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23202 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23204         [BZ #17806]
23205         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23206         addresses have been freed.
23208 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23210         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23211         and nservall.
23213 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23215         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23216         Clean up check_pf allocation pattern. addresses
23218 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23220         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23221         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23222         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23223         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23224         * nptl/pthread_join.c (pthread_join): Likewise.
23225         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23226         * sysdeps/posix/waitid.c (__waitid): Likewise.
23227         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23228         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23229         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23230         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23232         Likewise.
23233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23234         (__libc_pread64): Likewise.
23235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23236         (__libc_pwrite): Likewise.
23237         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23238         (__libc_pwrite64): Likewsie.
23239         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23240         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23241         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23242         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23243         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23244         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23245         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23247         Likewise.
23248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23249         (__libc_pread64): Likewise.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23251         Likewise.
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23253         (__libc_pwrite64): Likewise.
23254         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23255         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23256         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23257         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23258         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23259         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23260         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23261         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23262         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23263         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23264         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23265         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23266         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23267         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23268         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23269         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23270         Likewise.
23272 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23274         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23275         (CFLAGS-test-double.c): Likewise.
23276         (CFLAGS-test-ldouble.c): Likewise.
23277         (CPPFLAGS-test-ifloat.c): Likewise.
23278         (CPPFLAGS-test-idouble.c): Likewise.
23279         (CPPFLAGS-test-ildoubl.c): Likewise.
23280         (CFLAGS-test-test-fenv.c): Remove variable.
23281         (CFLAGS-test-misc.c): Likewise.
23283 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23285         [BZ #17797]
23286         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23287         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23288         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23289         CLOCKS_PER_SEC == 1000000.
23290         * time/clocktest.c (main): Replace %ld with %jd and cast to
23291         intmax_t.
23293 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23295         * sysdeps/generic/unwind-resume.h: New file.
23296         * sysdeps/gnu/unwind-resume.c: Include it.
23297         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23298         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23299         argument list.
23300         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23301         global rather than static.
23302         (_Unwind_Resume): Update user.
23303         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23304         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23305         rather than static.  Add __attribute__ ((cold)).
23306         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23307         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23308         * sysdeps/arm/arm-unwind-resume.S: New file.
23309         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23310         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23311         * sysdeps/arm/Makefile [$(subdir) = csu]
23312         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23313         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23314         Add rt-arm-unwind-resume.
23315         [$(subdir) = nptl]
23316         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23317         Add pt-arm-unwind-resume.
23318         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23319         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23321 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23323         [BZ #17748]
23324         * include/fenv.h (__feholdexcept): Declare.  Use
23325         libm_hidden_proto.
23326         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23327         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23328         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23329         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23330         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23331         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23332         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23333         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23334         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23335         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23336         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23337         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23338         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23339         (feholdexcept): Likewise.
23340         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23341         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23342         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23343         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23344         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23345         __feholdexcept instead of feholdexcept.
23346         (default_libc_feholdexcept_setround): Likewise.
23348 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23350         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23351         to avoid using stl/str to align destination.
23353 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23355         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23357 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23359         [BZ #17796]
23360         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23361         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23362         Define as weak alias not strong alias.
23364 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23366         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23367         bltzal with addiupc.
23368         (RTLD_START): Ditto.
23370 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23372         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23373         for __vdso_* functions in declarations.
23374         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23375         definitions.
23376         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23377         INTERNAL_VSYSCALL): Use struct return types to check for error.
23379         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23380         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23381         function with cast from llround().
23382         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23383         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23384         Define.
23386 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23388         [BZ #17793]
23389         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23390         Define as weak alias not strong alias.
23392         [BZ #17635]
23393         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23394         ...
23395         * ctype/ctype-extn.c: ... here.
23396         (__isblank_l): Move to ...
23397         * ctype/ctype-c99_l.c: ... here.  New file.
23398         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23399         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23400         Remove variable.
23401         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23402         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23403         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23404         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23405         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23407         [BZ #17777]
23408         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23409         (posix_fadvise64): Define as weak alias not strong alias.
23410         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23411         (posix_fallocate64): Likewise.
23412         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23413         Remove variable.
23414         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23415         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23416         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23417         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23418         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23420 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23422         [BZ #16191]
23423         * NEWS: Mention bug fix.
23424         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23425         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23426         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23427         (HOST_STACK_END_ADDR): Likewise.
23429 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23431         [BZ #17748]
23432         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23433         * math/fegetround.c (fegetround): Rename to __fegetround and
23434         define as weak alias of __fegetround.  Use libm_hidden_weak.
23435         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23436         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23437         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23438         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23439         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23440         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23441         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23442         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23443         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23444         Undefine after rather than before function definition; use
23445         parentheses around function name in definition.
23446         (__fegetround): Also undefine macro after function definition.
23447         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23448         __fegetround and define as weak alias of __fegetround.  Use
23449         libm_hidden_weak.  Do not undefine as macro.
23450         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23451         Likewise.
23452         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23453         __fegetround and define as weak alias of __fegetround.  Use
23454         libm_hidden_weak.
23455         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23456         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23457         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23458         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23459         __fegetround and define as weak alias of __fegetround.  Use
23460         libm_hidden_weak.
23461         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23462         __fegetround instead of fegetround.
23464         [BZ #17782]
23465         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23466         Condition macro definition on [__USE_MISC].
23468         [BZ #17781]
23469         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23470         (struct sigaction): Change type of sa_flags field to int.
23472         [BZ #17780]
23473         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23474         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23475         __glibc_reserved0.
23477         * nptl/version.c (banner): Use single year in copyright notice.
23479         * NEWS: Update copyright dates.
23480         * catgets/gencat.c (print_version): Likewise.
23481         * csu/version.c (banner): Likewise.
23482         * debug/catchsegv.sh: Likewise.
23483         * debug/pcprofiledump.c (print_version): Likewise.
23484         * debug/xtrace.sh (do_version): Likewise.
23485         * elf/ldconfig.c (print_version): Likewise.
23486         * elf/ldd.bash.in: Likewise.
23487         * elf/pldd.c (print_version): Likewise.
23488         * elf/sotruss.sh: Likewise.
23489         * elf/sprof.c (print_version): Likewise.
23490         * iconv/iconv_prog.c (print_version): Likewise.
23491         * iconv/iconvconfig.c (print_version): Likewise.
23492         * locale/programs/locale.c (print_version): Likewise.
23493         * locale/programs/localedef.c (print_version): Likewise.
23494         * login/programs/pt_chown.c (print_version): Likewise.
23495         * malloc/memusage.sh (do_version): Likewise.
23496         * malloc/memusagestat.c (print_version): Likewise.
23497         * malloc/mtrace.pl: Likewise.
23498         * manual/libc.texinfo: Likewise.
23499         * nptl/version.c (banner): Likewise.
23500         * nscd/nscd.c (print_version): Likewise.
23501         * nss/getent.c (print_version): Likewise.
23502         * nss/makedb.c (print_version): Likewise.
23503         * posix/getconf.c (main): Likewise.
23504         * scripts/test-installation.pl: Likewise.
23505         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23507 2015-01-02  Will Newton  <will.newton@linaro.org>
23509         * sysdeps/arm/armv7/configure: Removed.
23510         * sysdeps/arm/armv7/configure.ac: Likewise.
23512 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23514         * All files with FSF copyright notices: Update copyright dates
23515         using scripts/update-copyrights.
23516         * intl/plural.c: Regenerated.
23517         * locale/programs/charmap-kw.h: Likewise.
23518         * locale/programs/locfile-kw.h: Likewise.
23520 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23522         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23524 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23526         [BZ #17748]
23527         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23528         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23529         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23530         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23531         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23532         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23533         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23534         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23535         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23536         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23537         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23538         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23539         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23541         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23542         libm_hidden_def.
23543         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23544         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23545         Likewise.
23546         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23547         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23548         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23549         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23550         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23551         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23552         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23553         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23554         __fegetenv instead of fegetenv.
23555         (libc_feholdsetround_noex_ctx): Likewise.
23557 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23559         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23560         (Elf_MIPS_ABIFlags_v0): New structure.
23561         (EF_MIPS_FP64): Define.
23562         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23563         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23564         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23565         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23566         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23567         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23568         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23569         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23570         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23571         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23572         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23573         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23574         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23575         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23576         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23577         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23578         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23579         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23580         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23581         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23582         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23583         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23584         field.
23585         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23586         EF_MIPS_FP64.
23587         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23588         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23589         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23590         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23591         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23592         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23593         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23594         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23595         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23596         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23597         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23598         record the current FP ABI extension.
23599         (mips-mode-switch): Define to show if kernel headers support mode
23600         switching.
23601         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23602         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23603         supported SYSV ABI version to 3.
23604         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23605         feature.
23607 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23608             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23610         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23611         path.
23612         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23614 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23616         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23617         __fegetround and redefine to call __fegetround.  Remove condition
23618         on [!__NO_MATH_INLINES].
23619         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23620         function.
23621         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23623         Remove macro.
23624         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23625         instead of <fenv_libc.h>.
23626         (__llrintl): Call fegetround instead of __fegetround.
23627         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23628         instead of <fenv_libc.h>.
23629         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23630         (__lrintl): Call fegetround instead of __fegetround.
23631         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23632         instead of <fenv_libc.h>.
23633         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23634         (__rintl): Call fegetround instead of __fegetround.
23636 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23638         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23639         arrays.
23641 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23643         [BZ #17775]
23644         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23645         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23646         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23648 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23650         * sysdeps/i386/tls-macros.h: Include <features.h>.
23651         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23652         (TLS_IE): Likewise.
23653         (TLS_LD): Likewise.
23654         (TLS_GD): Likewise.
23655         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23656         define for GCC >= 5.0.
23658 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23660         * math/test-fenv.c (test_single_exception, set_single_exc,
23661         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23662         feexcp_mask_test, feenable_test, fe_single_test): Add
23663         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23664         case where they are not used.
23665         * math/libm-test.inc: Likewise.
23666         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23667         unused in the absence of FP rounding/exception support.
23668         * stdio-common/tst-printf-round.c: Likewise.
23669         * stdlib/tst-strtod-round.c: Likewise.
23670         * stdlib/tst-strtod-underflow.c: Likewise.
23672 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23674         [BZ #17723]
23675         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23676         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23677         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23678         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23679         libm_hidden_weak.
23680         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23681         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23682         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23683         libm_hidden_def.
23684         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23685         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23686         libm_hidden_weak.
23687         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23688         Likewise.
23689         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23690         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23691         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23692         libm_hidden_weak.
23693         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23694         libm_hidden_def.
23695         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23696         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23697         (__feraiseexcept): Likewise.
23698         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23699         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23700         libm_hidden_weak.
23701         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23702         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23703         libm_hidden_def.
23704         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23705         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23706         Use libm_hidden_def.
23707         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23708         libm_hidden_def.
23709         (feraiseexcept): Define as weak not strong alias.  Use
23710         libm_hidden_weak.
23711         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23712         New inline function.  Factored out of ...
23713         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23714         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23715         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23716         feraiseexcept.
23717         * math/w_acos.c (__acos): Likewise.
23718         * math/w_asin.c (__asin): Likewise.
23719         * math/w_ilogb.c (__ilogb): Likewise.
23720         * math/w_j0.c (y0): Likewise.
23721         * math/w_j1.c (y1): Likewise.
23722         * math/w_jn.c (yn): Likewise.
23723         * math/w_log.c (__log): Likewise.
23724         * math/w_log10.c (__log10): Likewise.
23725         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23726         * sysdeps/aarch64/fpu/math_private.h
23727         (libc_feupdateenv_test_aarch64): Likewise.
23728         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23729         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23730         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23731         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23732         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23733         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23734         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23735         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23736         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23737         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23739 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23741         [BZ #17732]
23742         * io/test-utime.c (main): Replace %ld with %jd and cast to
23743         intmax_t.
23744         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23745         * nptl/tst-mutex5.c: Include <stdint.h>.
23746         (do_test): Replace %ld with %jd and cast to intmax_t.
23747         * posix/tst-regex.c (run_test): Likewise.
23748         (run_test_backwards): Likewise.
23749         * rt/tst-clock.c: Include <stdint.h>.
23750         (clock_test): Replace %ld with %jd and cast to intmax_t.
23751         * rt/tst-cpuclock1.c: Include <stdint.h>.
23752         (do_test): Replace %lu with %ju and cast to uintmax_t.
23753         * rt/tst-cpuclock2.c: Include <stdint.h>.
23754         (do_test): Replace %lu with %ju and cast to uintmax_t.
23755         * rt/tst-mqueue1.c: Include <stdint.h>.
23756         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23757         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23758         intmax_t.
23759         * rt/tst-mqueue4.c (do_test): Likewise.
23760         * rt/tst-timer4.c: Include <stdint.h>.
23761         (check_ts): Replace %ld with %jd and cast to intmax_t.
23762         (do_test): Likewise.
23763         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23764         and cast to intmax_t.
23765         * sysdeps/pthread/tst-timer.c (main): Likewise.
23766         * time/clocktest.c (main): Likewise.
23767         * time/tst-posixtz.c (do_test): Likewise.
23768         * timezone/tst-timezone.c (main): Likewise.
23770 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23771             H.J. Lu  <hongjiu.lu@intel.com>
23773         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23774         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23775         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23776         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23777         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23778         version if bit_Fast_Unaligned_Load is set.
23779         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23780         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23781         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23782         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23783         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23784         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23786         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23787         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23788         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23789         to 4.
23790         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23791         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23792         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23793         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23795 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23797         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23798         instead of #if to avoid a Wundef warning.
23799         * stdlib/tst-limits.c (do_test): Likewise.
23801         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23802         parallel other exception macros.
23803         (fegetenv): Convert from macro to extern inline so that it applies
23804         retroactively to inline functions already seen by the compiler.
23805         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23807         * posix/Makefile (before-compile): Use $(objpfx) for
23808         posix-conf-vars-def.h.
23810 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23812         * posix/getconf.c (main): Use size_t for type of I.
23813         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23814         NSPEC.
23816         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23817         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23818         * posix/posix-envs.def: Likewise.
23819         * sysdeps/posix/sysconf.c: Likewise.
23820         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23821         (specs): Remove array.
23822         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23823         array.
23825         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23826         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23827         (__sysconf): Use CONF_IS_* macros.
23829         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23830         ($(objpfx)posix-conf-vars-def.h): New target.
23831         * posix/posix-conf-vars.list: New file.
23832         * posix/posix-conf-vars.h: New file.
23833         * posix/confstr.c: Include posix-conf-vars.h.
23834         (confstr): Use CONF_IS_* macros.
23835         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23836         CONF_IS_* macros.
23837         * scripts/gen-posix-conf-vars.awk: New file.
23839 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23841         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23842         fegetround): Add no-op macros to avoid linknamespace issues.
23844         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23845         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23847         * sysdeps/unix/sysv/linux/tile/sysdep.h
23848         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23849         assembly-specific section to avoid a redefinition warning.
23851         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23852         long before casting to pointer to avoid a cast warning.
23854 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23856         * sysdeps/tile/tilegx/Implies: New file.
23858 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23860         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23862 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23864         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23866 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23869         not define.
23870         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23871         <kernel-features.h>.
23872         (__utimes) [__NR_utimes]: Make code unconditional.
23873         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23874         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23875         (__ASSUME_UTIMES): Do not undefine.
23876         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23877         (__ASSUME_UTIMES): Likewise.
23878         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23879         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23880         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23881         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23883 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23885         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23887 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23889         [BZ #17747]
23890         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23891         alias to weak alias for j0l, y0l.
23892         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23893         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23895         [BZ #17746]
23896         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23897         conversion.
23899 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23901         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23902         to zero if not already defined.
23904 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23906         [BZ #17724]
23907         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23908         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23909         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23910         (char *) casts added.
23911         * sysdeps/ieee754/k_standardf.c: New file.
23912         * sysdeps/ieee754/k_standardl.c: Likewise.
23913         * math/Makefile (libm-support): Remove k_standard.
23914         (libm-calls): Add k_standard.
23916 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23918         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23919         Optimize to avoid an unnecessary FPCR read.
23921 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23923         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23924         Optimize to reduce FPCR/FPSR accesses.
23926 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23928         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23929         Call libc_fetestexcept_aarch64.
23931 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23933         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23934         Call libc_fesetround_aarch64.
23936 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23938         [BZ #17733]
23939         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23940         (__bind): Do not define as weak alias.
23941         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23942         define.
23943         (__getsockname): Do not define as weak alias.
23945 2014-12-22  Will Newton  <will.newton@linaro.org>
23947         * manual/install.texi: Document that we require bison 2.7
23948         or above.
23949         * INSTALL: Regenerate.
23950         * configure.ac: Use AC_CHECK_PROG_VER instead of
23951         AC_PATH_PROG when checking for bison and check for
23952         version 2.7 or above.
23953         * configure: Regenerate.
23955 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23957         [BZ #17745]
23958         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23959         * sysdeps/tile/ffsll.c (ffsll): To here.
23961         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23963 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23965         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23966         if not defined.
23967         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23968         definition.
23969         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23970         hidden ___tls_get_addr.
23971         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23972         hidden __tls_get_addr.
23973         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23974         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23975         Likewise.
23977 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23979         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23980         _dl_init call.
23982 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23984         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23985         from "call _dl_init@PLT".
23986         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23988 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23990         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23991         guarantees.
23993 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23995         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23997 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23999         [BZ #17744]
24000         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24001         strnlen.
24003 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24005         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24006         of multu on MIPSr6.
24007         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24008         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24009         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24010         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24011         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24013 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24015         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24016         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24017         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24018         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24019         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24020         mips32r6/mips64r6.
24021         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24023 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24025         * string/strncat.c (STRNCAT): Simplify implementation.
24027 2014-12-19  David S. Miller  <davem@davemloft.net>
24029         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24030         access the quad as both a long double and as a series of 4 words.
24032         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24033         link_map->l_info array access.
24035 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24037         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24039         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24040         * math/atest-exp2.c (TIMEOUT): Likewise.
24041         * math/atest-sincos.c (TIMEOUT): Likewise.
24043 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24045         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24046         -Wno-error with -fno-builtin-lround.
24048 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24050         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24051         Contains futex constants and functions moved over from ...
24052         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24053         <lowlevellock-futex.h>.
24054         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24055         (lll_timedwait_tid): Add comments and parentheses around macro
24056         arguments.
24058 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24060         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24061         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24062         (__lll_private_flag): Remove.
24063         (lll_futex_wait): Likewise.
24064         (lll_futex_timed_wait): Likewise.
24065         (lll_futex_wake): Likewise.
24066         (lll_futex_requeue): Likewise.
24067         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24068         (__lll_timedwait_tid): Spell out argument names.
24069         (lll_timedwait_tid): Add comments and parentheses around macro
24070         arguments.
24071         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24072         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24074 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24076         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24077         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24078         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24079         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24080         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24081         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24082         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24083         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24084         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24085         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24087         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24089         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24090         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24091         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24092         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24093         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24094         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24096 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24098         * sysdeps/x86_64/x32/Makefile: New file.
24100 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24102         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24103         1L with (mp_limb_t) 1.
24105 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24107         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24108         * nptl/libc_pthread_init.c: ... here.
24109         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24110         * nptl/register-atfork.c: ... here.
24112         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24113         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24114         Use assert_perror to check its return value.
24115         (__gai_create_helper_thread): Likewise.
24117         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24119         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24121 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24123         [BZ #17725]
24124         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24125         __profil_counter.
24126         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24127         Likewise.
24128         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24129         Likewise.
24130         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24133         (profil_counter): Likewise.
24134         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24135         (profil_counter): Likewise.
24136         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24139         Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24141         (profil_counter): Likewise.
24142         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24143         Likewise.
24144         [!__profil_counter] (profil_counter): Define as weak alias of
24145         __profil_counter.
24146         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24147         (profil_counter): Rename to __profil_counter.
24148         [!__profil_counter] (profil_counter): Define as weak alias of
24149         __profil_counter.
24150         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24151         (profil_counter): Rename to __profil_counter.
24152         [!__profil_counter] (profil_counter): Define as weak alias of
24153         __profil_counter.
24154         * sysdeps/posix/profil.c: Update comment referring to
24155         profil_counter.
24156         (__profil): Use __profil_counter instead of profil_counter.
24157         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24158         __profil_counter.  Use __profil_counter_ushort and
24159         __profil_counter_uint in definitions.
24160         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24161         instead of profil_counter_uint and profil_counter_ushort.
24163         [BZ #17722]
24164         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24165         define as weak alias of __inet_makeaddr.
24166         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24167         as weak alias of __inet_addr.
24168         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24169         as weak alias of __inet_pton.  Use libc_hidden_weak.
24170         * include/arpa/inet.h (__inet_pton): Declare.  Use
24171         libc_hidden_proto.
24172         (inet_makeaddr): Don't use libc_hidden_proto.
24173         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24174         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24175         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24176         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24177         Remove variable.
24178         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24179         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24181 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24183         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24185 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24187         * stdio-common/bug-vfprintf-nargs.c (do_test):
24188         Cast value to intptr_t to avoid format warning
24189         for usage with PRIdPTR printing macro.
24191 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24193         * libio/tst-widetext.c (do_test):
24194         Use format type %td instead of %Zd for ptrdiff_t
24195         in order to avoid format warning.
24197 2014-12-17  Andreas Schwab  <schwab@suse.de>
24199         * nscd/mem.c (gc): Add size_t cast to match printf format.
24201 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24203         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24204         (init): Apply PTR_MANGLE to pointers before storing them.
24205         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24206         before using them.
24208 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24210         [BZ #17719]
24211         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24212         define as weak alias of __memrchr.
24213         (__memrchr): Do not define as strong alias of memrchr.
24214         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24215         Remove variable.
24216         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24217         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24218         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24220         [BZ #17717]
24221         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24222         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24223         (if_indextoname): Rename to __if_indextoname and define as weak
24224         alias of __if_indextoname.  Use libc_hidden_weak.
24225         (if_freenameindex): Rename to __if_freenameindex and define as
24226         weak alias of __if_freenameindex.
24227         (if_nameindex): Rename to __if_nameindex and define as weak alias
24228         of __if_nameindex.
24229         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24230         __if_nametoindex and define as weak alias of __if_nametoindex.
24231         Use libc_hidden_weak.
24232         (if_freenameindex): Rename to __if_freenameindex and define as
24233         weak alias of __if_freenameindex.
24234         (if_nameindex): Rename to __if_nameindex and define as weak alias
24235         of __if_nameindex.
24236         (if_indextoname): Rename to __if_indextoname and define as weak
24237         alias of __if_indextoname.  Use libc_hidden_weak.
24238         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24239         __if_nametoindex and define as weak alias of __if_nametoindex.
24240         Use libc_hidden_weak.
24241         (if_freenameindex): Rename to __if_freenameindex and define as
24242         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24243         (if_nameindex_netlink): Use __if_freenameindex instead of
24244         if_freenameindex.
24245         (if_nameindex): Rename to __if_nameindex and define as weak alias
24246         of __if_nameindex.  Use libc_hidden_weak.
24247         (if_indextoname): Rename to __if_indextoname and define as weak
24248         alias of __if_indextoname.  Use libc_hidden_weak.
24249         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24250         libc_hidden_proto.
24251         [!_ISOMAC] (__if_freenameindex): Likewise.
24252         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24253         if_nametoindex.
24254         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24255         variable.
24256         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24257         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24258         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24259         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24260         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24261         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24262         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24264         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24265         Remove variable.
24266         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24267         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24269 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24271         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24272         subscript above bounds'
24274         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24275         bounds.
24277 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24279         * libio/tst-fopenloc.c: Use test-skeleton.c.
24281         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24282         (entry): Rename to ITEM.
24283         (do_test, comp): Adjust.
24285         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24287 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24289         * string/tester.c: Include <libc-internal.h>.
24290         (test_memset): Ignore -Wmemset-transposed-args.
24292 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24294         * misc/tst-mntent2.c (do_test): Fix warning.
24296 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24298         * elf/tst-unique4lib.cc(a): Mark as used.
24300 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24302         [BZ #17630]
24303         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24304         names.
24306 2014-12-16  Allan McRae  <allan@archlinux.org>
24308         * stdio-common/Makefile (tests): Re-add bug26.
24310 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24312         [BZ #17657]
24313         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24314         static array.
24316 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24318         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24319         (__lll_lock_wait): Likewise.
24320         (__lll_timedlock_wait): Likewise.
24321         (__lll_timedwait_tid): Likewise.
24322         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24323         (__lll_robust_timedlock_wait): Likewise.
24324         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24325         (lll_cond_trylock): Likewise.
24326         (__lll_lock): Likewise.
24327         (__lll_robust_lock): Likewise.
24328         (__lll_cond_lock): Likewise.
24329         (lll_robust_cond_lock): Likewise.
24330         (__lll_timedlock): Likewise.
24331         (__lll_robust_timedlock): Likewise.
24332         (__lll_unlock): Likewise.
24333         (__lll_robust_unlock): Likewise.
24334         (lll_wait_tid): Likewise.
24335         (lll_timedwait_tid): Likewise.
24337 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24339         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24341 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24343         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24345 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24347         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24348         * stdio-common/tst-sprintf.c: Likewise.
24350 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24352         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24354 2014-12-15  Jeff Law  <law@redhat.com>
24356         [BZ #16617]
24357         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24358         on the heap.  (CVE-2012-3406)
24359         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24360         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24361         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24363 2014-12-15  Will Newton  <will.newton@linaro.org>
24365         * manual/install.texi: Bump required version of texinfo
24366         to 4.7 from 4.5.
24367         * INSTALL: Regenerated.
24368         * configure.ac: Check for makeinfo version 4.7 and above.
24369         * configure: Regenerated.
24371 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24373         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24374         PREFIX, string constant to insert between directory and name.
24375         * sysdeps/posix/shm_open.c: Update caller.
24376         * sysdeps/posix/shm_unlink.c: Likewise.
24377         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24378         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24379         (SEM_SHM_PREFIX): New macro.
24380         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24381         [$(have-thread-library) = no].
24382         * nptl/Makefile (libpthread-routines): Add shm-directory.
24383         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24384         * sysdeps/nptl/shm-directory.h: New file.
24385         * sysdeps/posix/shm-directory.c
24386         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24387         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24388         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24389         INTERNAL_SYSCALL.
24390         (__where_is_shmfs): Function removed.
24391         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24392         Variables removed.
24393         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24394         Use SHM_GET_NAME.
24395         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24397         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24398         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24399         unconditional for use inside libpthread.
24400         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24402 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24404         * nptl/pthread_getaffinity.c: New file.
24405         * nptl/pthread_setaffinity.c: New file.
24406         * nptl/pthread_getname.c: New file.
24407         * nptl/pthread_setname.c: New file.
24409         * nptl/pthread_create.c (START_THREAD_DEFN)
24410         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24412 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24413             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24415         * resolv/res_send.c (send_vc): Disable warning resplen may
24416         be used uninitialized.
24418 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24420         * nptl/tst-mutex6.c
24421         (ATTR_NULL): New define checks ATTR against NULL.
24422         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24423         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24425 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24427         [BZ #17581]
24428         * malloc/hooks.c
24429         (mem2mem_check): Revert my previous change.
24430         (malloc_check_get_size): Revert my previous change.
24431         (mem2chunk_check): Revert my previous change.
24433 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24435         * sysdeps/posix/shm-directory.c: New file.
24436         * sysdeps/posix/shm-directory.h: New file.
24437         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24438         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24439         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24440         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24441         Transmute EPERM to EACCES.
24442         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24443         from ...
24444         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24445         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24447 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24449         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24450         pointer and cast to uintptr_t.
24451         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24452         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24453         Add cast to avoid warning.
24454         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24456 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24458         * nptl/semaphore.h: Move to ...
24459         * sysdeps/pthread/semaphore.h: ... here.
24460         * Makefile (installed-headers): Change nptl/semaphore.h to
24461         sysdeps/pthread/semaphore.h.
24463 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24465         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24466         generated error format strings.
24468         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24469         -Wformat-extra-args warnings for scanf formats.
24470         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24471         test of zero-length format (duh).
24472         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24473         corner-case scanf format test.
24474         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24475         generated fprintf format string.
24476         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24477         corner-case sprintf format tests.
24478         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24479         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24480         -Wformat-extra-args warnings throughout.
24481         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24482         (CFLAGS-scanf4.c): Likewise.
24483         (CFLAGS-scanf7.c): Likewise.
24484         (CFLAGS-tst-sprintf.c): Likewise.
24485         (CFLAGS-tst-printf.c): Likewise.
24486         (CFLAGS-tst-printfsz.c): Likewise.
24488 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24490         * include/cpio.h: New file.
24491         * include/fmtmsg.h: Likewise.
24493         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24494         corresponding format argument to size_t.
24495         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24496         arguments.
24497         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24498         corresponding format argument to size_t.
24499         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24500         arguments.
24501         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24502         corresponding format argument to size_t.
24503         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24504         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24505         (CFLAGS-tst-mbswcs2.c): Likewise.
24506         (CFLAGS-tst-mbswcs3.c): Likewise.
24507         (CFLAGS-tst-mbswcs4.c): Likewise.
24508         (CFLAGS-tst-mbswcs5.c): Likewise.
24509         (CFLAGS-tst-trans.c): Likewise.
24511 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24513         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24514         rather than assuming they won't contain any '%'s.
24516 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24518         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24519         inhibit_loop_to_libcall to avoid recursive calls.
24520         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24521         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24523 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24525         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24526         prototype.
24528 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24530         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24531         integer value instead of boolean.
24533 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24535         * malloc/malloc.c: Fix powerof2 check.
24537 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24539         * locale/programs/locfile.h (maybe_swap_uint32):
24540         Remove inline and add unused attribute.
24542 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24544         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24545         Truncating assembler expression to a .long expression.
24547 2014-12-11  Andreas Schwab  <schwab@suse.de>
24549         * elf/rtld.c (struct map_args): Constify str member.
24550         (do_preload): Constify fname argument.
24552 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24555         constants definition.
24557 2014-12-11  Andreas Schwab  <schwab@suse.de>
24559         [BZ #16657]
24560         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24561         FORCE_ELISION instead of DO_ELISION.
24562         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24563         Remove.
24564         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24565         Likewise.
24567         * iconvdata/gconv-modules: Remove duplicate entry.
24569 2014-12-11  Will Newton  <will.newton@linaro.org>
24571         Merge gettext 0.19.3 into intl/.
24573         This involves a number of cosmetic changes to comments
24574         and ANSI function definitions and prototypes throughout
24575         all the files. The gettext copyright header is used but
24576         with the date ranges taken from the glibc copy.
24578         * NEWS: Add gettext merge to 2.21.
24579         * intl/bindtextdom.c: Switch to gettext copyright.
24580         Use ANSI definitions and prototypes.
24581         Use gl_* locking primitives rather than __libc_* ones.
24582         Use __builtin_expect rather than __glibc_likely/unlikely.
24583         * intl/dcgettext.c: Switch to gettext copyright.
24584         Use ANSI definitions and prototypes.
24585         * intl/dcigettext.c: Switch to gettext copyright.
24586         Use ANSI definitions and prototypes.
24587         (INTDIV0_RAISES_SIGFPE): New define.
24588         Use gl_* locking primitives rather than __libc_* ones.
24589         Include eval-plural.h instead of plural-eval.c.
24590         Use __builtin_expect rather than __glibc_likely/unlikely.
24591         * intl/dcngettext.c: Switch to gettext copyright.
24592         Use ANSI definitions and prototypes.
24593         * intl/dgettext.c: Likewise.
24594         * intl/dngettext.c: Likewise.
24595         * intl/plural-eval.c: Renamed to...
24596         * intl/eval-plural.h: ...this.
24597         * intl/explodename.c: Switch to gettext copyright.
24598         Use ANSI definitions and prototypes.
24599         (_nl_explode_name): Use strchr instead of __rawmemchr.
24600         * intl/finddomain.c: Switch to gettext copyright.
24601         Use ANSI definitions and prototypes.
24602         Use gl_* locking primitives rather than __libc_* ones.
24603         (_nl_find_domain): Use malloc rather than alloca for
24604         allocation of temporary locale name.
24605         * intl/gettext.c: Switch to gettext copyright.
24606         Use ANSI definitions and prototypes.
24607         * intl/gettextP.h: Switch to gettext copyright.
24608         Use ANSI definitions and prototypes.
24609         Use gl_* locking primitives rather than __libc_* ones.
24610         * intl/gmo.h: Switch to gettext copyright.
24611         (struct sysdep_string): Move struct segment_pair outside of
24612         struct definition.
24613         * intl/hash-string.c: Use ANSI definitions and prototypes.
24614         * intl/hash-string.h: Switch to gettext copyright.
24615         Use ANSI definitions and prototypes.
24616         * intl/l10nflist.c: Switch to gettext copyright.
24617         Use ANSI definitions and prototypes.
24618         (_nl_normalize_codeset): Avoid integer overflow.
24619         * intl/loadinfo.h: Switch to gettext copyright.
24620         Use ANSI definitions and prototypes.
24621         (LIBINTL_DLL_EXPORTED): New define.
24622         (PATH_SEPARATOR): New define.
24623         * intl/loadmsgcat.c: Switch to gettext copyright.
24624         * intl/localealias.c: Switch to gettext copyright.
24625         Use ANSI definitions and prototypes.
24626         (_nl_expand_alias): Use PATH_SEPARATOR.
24627         * intl/ngettext.c: Switch to gettext copyright.
24628         Use ANSI definitions and prototypes.
24629         * intl/plural-exp.c: Likewise.
24630         * intl/plural-exp.h: Switch to gettext copyright.
24631         Use ANSI definitions and prototypes.
24632         (struct expression): Move definition of enum operator outside
24633         of struct definition.
24634         * intl/plural.c: Regenerate.
24635         * intl/plural.y: Switch to gettext copyright.
24636         Use ANSI definitions and prototypes.
24637         Port to bison 3.0.
24638         * intl/textdomain.c: Switch to gettext copyright.
24639         Use ANSI definitions and prototypes.
24640         Use gl_* locking primitives rather than __libc_* ones.
24642 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24644         * debug/warning-nop.c: Add used atrribute.
24646 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24648         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24650         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24651         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24652         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24654 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24657         [BZ #17634]
24658         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24659         Undefine after defining function.  Define as weak alias of
24660         __wcschr.  Use libc_hidden_weak.
24661         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24662         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24663         (libc_hidden_def): Also define __GI___wcschr alias.
24664         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24665         __wcschr and define as weak alias of __wcschr.
24666         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24667         __wcschr.
24668         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24669         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24670         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24671         libc_hidden_weak.  Do not use libc_hidden_def.
24672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24673         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24674         __GI___wcschr alias.
24675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24676         [IS_IN (libc)] (wcschr): Define as macro expanding to
24677         __redirect_wcschr.
24678         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24679         [IS_IN (libc)] (__wcschr_power6): Likewise.
24680         [IS_IN (libc)] (__wcschr_power7): Likewise.
24681         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24682         instead of wcschr.
24683         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24684         __libc_wcschr.
24685         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24686         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24687         __wcschr and define as weak alias of __wcschr.  Use
24688         libc_hidden_builtin_def.
24689         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24690         as weak alias of __wcschr.  Use libc_hidden_weak.
24691         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24692         wcschr.
24693         * time/era.c (_nl_init_era_entries): Likewise.
24694         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24695         variable.
24696         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24697         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24699 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24701         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24702         format for long int variable.
24704 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24706         [BZ #10672]
24707         * manual/search.texi: (Array Sort Function): Remove claim how to make
24708         qsort stable.
24710 2014-12-10  Andreas Schwab  <schwab@suse.de>
24712         [BZ #12847]
24713         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24714         user-controlled locks.
24716 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24718         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24719         register.
24721 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24723         * configure.ac (--disable-werror): New configure option.
24724         (enable_werror): New AC_SUBST.
24725         * configure: Regenerated.
24726         * config.make.in (enable-werror): New variable.
24727         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24728         -Wno-error=undef.
24729         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24730         * manual/install.texi (Configuring and compiling): Document
24731         --disable-werror.
24732         * INSTALL: Regenerated.
24733         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24734         (CFLAGS-tst-chk2.c): Likewise.
24735         (CFLAGS-tst-chk3.c): Likewise.
24736         (CFLAGS-tst-chk4.cc): Likewise.
24737         (CFLAGS-tst-chk5.cc): Likewise.
24738         (CFLAGS-tst-chk6.cc): Likewise.
24739         (CFLAGS-tst-lfschk1.c): Likewise.
24740         (CFLAGS-tst-lfschk2.c): Likewise.
24741         (CFLAGS-tst-lfschk3.c): Likewise.
24742         (CFLAGS-tst-lfschk4.cc): Likewise.
24743         (CFLAGS-tst-lfschk5.cc): Likewise.
24744         (CFLAGS-tst-lfschk6.cc): Likewise.
24746         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24747         (main): Disable -Wdeprecated-declarations around calls to
24748         register_printf_function.
24750         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24751         (do_test): Disable -Wdiv-by-zero around some calls to
24752         fwrite_unlocked and fread_unlocked.
24754         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24755         (DIAG_POP_NEEDS_COMMENT): Likewise.
24756         (_DIAG_STR1): Likewise.
24757         (_DIAG_STR): Likewise.
24758         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24759         * stdio-common/bug21.c: Include <libc-internal.h>.
24760         (do_test): Disable -Wformat around call to sscanf.
24761         * stdio-common/scanf14.c: Include <libc-internal.h>.
24762         (main): Disable -Wformat around some calls to scanf functions.
24764 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24766         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24768 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24770         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24771         stack variable alignment.
24773 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24775         [BZ #17682]
24776         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24777         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24778         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24779         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24780         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24781         __getrlimit instead of getrlimit.
24782         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24783         __gettimeofday instead of gettimeofday.
24784         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24785         Likewise.
24786         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24787         Likewise.
24788         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24789         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24790         Remove variable.
24791         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24792         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24794 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24796         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24797         for wide-character tests.
24799 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24801         * io/openat64.c: #include <libc-internal.h>
24802         (__openat64): Prototypify.  Use ignore_value on MODE.
24803         * io/openat.c: Likewise.
24804         * misc/reboot.c: #include <libc-internal.h>
24805         (reboot): Prototypify.  Use ignore_value on HOWTO.
24806         * misc/ptrace.c: #include <libc-internal.h>
24807         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24809 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24811         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24812         XPG4, UNIX98 and XOPEN2K.
24813         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24814         Remove variable.
24815         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24817 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24819         * libio/fileops.c: Use ISO C style for function definitions.
24820         * libio/iofopen.c: Likewise.
24821         * libio/wfileops.c: Likewise.
24823         [BZ #17653]
24824         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24825         offset on EOF.
24826         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24827         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24828         (fgets_func): Function pointer to fgets and fgetws.
24829         (do_ftell_test): Add test to verify ftell value after read
24830         EOF.
24831         (do_test): Set fgets_func.
24833         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24834         O_TRUNC flag for w and w+ modes.
24835         (do_rewind_test): Likewise.
24836         (do_ftell_test): Likewise.
24837         (do_write_test): Likewise.
24839         [BZ #17647]
24840         * libio/fileops.c (do_ftell): Seek only when there are
24841         unflushed writes.
24842         * libio/wfileops.c (do_ftell_wide): Likewise.
24843         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24844         test case.
24845         (do_one_test): Call it.
24847 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24849         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24850         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24851         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24852         Remove variable.
24853         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24854         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24855         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24857 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24859         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24860         Remove variable.
24861         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24863         [BZ #17668]
24864         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24865         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24866         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24867         __freeifaddrs.  Use libc_hidden_weak.
24868         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24869         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24870         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24871         __freeifaddrs.  Use libc_hidden_weak.
24872         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24873         __getifaddrs and define as weak alias of __getifaddrs.  Use
24874         libc_hidden_weak.
24875         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24876         __freeifaddrs.  Use libc_hidden_weak.
24877         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24878         Remove variable.
24879         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24880         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24882 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24884         [BZ #17601]
24885         * sysdeps/mips/start.S (__start): Use indirect jump to call
24886         __libc_start_main.
24888 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24890         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24892         * nptl/tst-mutex1.c: Include <stdbool.h>.
24893         [!ATTR] (ATTR_NULL): New macro.
24894         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24895         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24896         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24898         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24899         to char *.
24901         [BZ #17665]
24902         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24903         Change conditional to [__USE_MISC].
24905         [BZ #17664]
24906         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24907         fgets_unlocked.
24908         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24909         __fgets_unlocked.
24910         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24911         fgets_unlocked.
24912         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24913         Remove variable.
24914         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24915         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24916         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24917         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24918         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24919         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24920         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24921         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24922         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24924         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24926 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24928         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24929         Remove strpbrk objects.
24930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24931         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24932         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24933         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24934         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24935         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24938         Remove strcspn objects.
24939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24940         (__libc_ifunc_impl_list): Remove strcspn implementation.
24941         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24942         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24943         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24944         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24947         Remove strspn objetcs.
24948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24949         (__libc_ifunc_impl_list): Remove strspn implementation.
24950         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24951         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24952         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24953         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24955 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24957         [BZ #17581]
24958         * malloc/hooks.c
24959         (mem2mem_check): Add a terminator to the chain of checking blocks.
24960         (malloc_check_get_size): Use it here.
24961         (mem2chunk_check): Ditto.
24963 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24965         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24966         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24968 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24970         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24972         * nptl/nptl-init.c: Include libc-internal.h.
24973         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24975         * elf/ldconfig.c (search_dir): Expand comment.
24977 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24979         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24980         variable.
24981         (linknamespace-symlist-stdlibs-tests): Likewise.
24982         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24983         instead of $(objpfx)symlist-stdlibs.
24984         (linknamespace-libs-isoc): New variable.
24985         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24986         (linknamespace-libs-ISO): New variable.
24987         (linknamespace-libs-ISO99): Likewise.
24988         (linknamespace-libs-ISO11): Likewise.
24989         (linknamespace-libs-XPG3): Likewise.
24990         (linknamespace-libs-XPG4): Likewise.
24991         (linknamespace-libs-POSIX): Likewise.
24992         (linknamespace-libs-UNIX98): Likewise.
24993         (linknamespace-libs-XOPEN2K): Likewise.
24994         (linknamespace-libs-POSIX2008): Likewise.
24995         (linknamespace-libs-XOPEN2K8): Likewise.
24996         ($(objpfx)symlist-stdlibs): Replace by
24997         $(linknamespace-symlist-stdlibs-tests).  Use
24998         $(linknamespace-libs-$*) as set of libraries.
24999         ($(linknamespace-header-tests)): Update dependencies.  Use
25000         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25001         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25002         * conform/linknamespace.pl: Remove comment about considering
25003         definitions of symbols from irrelevant libraries.
25005 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25007         [BZ #13862]
25008         * elf/dl-tls.c: Include <atomic.h>.
25009         (oom): Remove #ifdef SHARED/#endif.
25010         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25011         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25012         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25013         big enough.
25014         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25015         * nptl/Makefile (tests): Add tst-stack4.
25016         (modules-names): Add tst-stack4mod.
25017         ($(objpfx)tst-stack4): New.
25018         (tst-stack4mod.sos): Likewise.
25019         ($(objpfx)tst-stack4.out): Likewise.
25020         ($(tst-stack4mod.sos)): Likewise.
25021         (clean): Likewise.
25022         * nptl/tst-stack4.c: New file.
25023         * nptl/tst-stack4mod.c: Likewise.
25025 2014-11-27  J. Brown  <jb999@gmx.de>
25027         * sysdeps/x86/bits/string.h: Add recent CPUs.
25029 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25031         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25032         sigblock.
25034         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25035         feof.
25037         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25038         variable.
25040 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25042         * nscd/connections.c: Include libc-internal.h because of macro
25043         usage ignore_value.
25045 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25047         * string/bits/string3.h (__warn_memset_zero_len): Don't
25048         declare for gcc newer than 5.0.
25049         (memset): Don't test for zero-length __LEN for gcc newer than
25050         5.0.
25052 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25054         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25055         size_t for %zu format.
25057         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25058         difference, not %ju.
25060 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25062         * include/libc-internal.h (ignore_value): New macro.
25063         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25064         with ignore_value.
25066         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25067         definition.
25069         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25070         pthread_cleanup_push to void *.
25072         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25073         Undefine.
25075         [BZ #16619]
25076         [BZ #16740]
25077         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25078         instead of 1L << 52.
25080         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25081         * libio/bug-rewind2.c (do_test): Likewise.
25083         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25084         * debug/test-strcpy_chk-ifunc.c: Likewise.
25085         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25086         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25087         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25088         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25089         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25090         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25091         * Rules [$(multi-arch) = no] (tests): Do not filter out
25092         $(tests-ifunc).
25093         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25094         * debug/Makefile (tests-ifunc): Remove variable.
25095         (tests): Do not add $(tests-ifunc).
25096         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25097         (tests): Do not add $(tests-ifunc).
25098         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25099         [TEST_IFUNC]: Remove conditionals.
25100         * string/test-string.h (TEST_IFUNC): Remove macro.
25101         [TEST_IFUNC]: Remove conditionals.
25103         * string/test-strchr.c [!WIDE] (L): New macro.
25104         [WIDE] (L): Likewise.
25105         (check1): Use CHAR instead of char.  Use L on string and character
25106         constants.
25108 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25110         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25111         tests.
25112         * sysdeps/powerpc/bits/atomic.h
25113         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25114         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25115         (atomic_exchange_and_add_acq): Likewise.
25116         (atomic_exchange_and_add_rel): Likewise.
25117         * sysdeps/powerpc/powerpc32/bits/atomic.h
25118         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25119         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25120         * sysdeps/powerpc/powerpc64/bits/atomic.h
25121         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25122         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25124 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25126         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25127         Change synchronization of __sched_fifo_min_prio and
25128         __sched_fifo_max_prio.
25129         * nptl/pthread_mutexattr_getprioceiling.c
25130         (pthread_mutexattr_getprioceiling): Likewise.
25131         * nptl/pthread_mutexattr_setprioceiling.c
25132         (pthread_mutexattr_setprioceiling): Likewise.
25133         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25134         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25135         Likewise.
25137 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25139         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25140         void.
25142 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25144         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25145         third argument const.
25147 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25149         fnmatch: work around GCC compiler warning bug with uninit var
25150         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25151         This works around a bug with x86-64 GCC 4.9.2 and earlier
25152         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25153         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25154         used uninitialized in this function [-Wmaybe-uninitialized]".
25156 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25158         * posix/bug-regex31.c (main): Return RES not 0.
25160 2014-11-25  Anton Blanchard <anton@samba.org>
25162         * sysdeps/powerpc/bits/atomic.h
25163         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25165 2014-11-24  Sterling Augustine  <saugustine@google.com>
25167         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25169 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25171         [BZ #17608]
25172         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25174 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25176         [BZ #17633]
25177         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25178         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25179         variable.
25180         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25181         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25183 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25185         * string/strncpy.c (strncpy): Improve performance by using memset.
25187 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25189         * string/strcpy.c (strcpy):
25190         Improve performance by using strlen and memcpy.
25192 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25194         * string/strcoll_l.c (get_next_seq): __always_inline.
25195         * string/strcoll_l.c (do_compare): __always_inline.
25197 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25199         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25200         defined.
25201         * include/mqueue.h: Likewise.
25202         * include/stdlib.h: Likewise.
25204         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25205         (get_null_defines): Adjust.
25206         * sunrpc/Makefile: Adjust comment.
25207         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25208         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25209         (CFLAGS-interp.c): Likewise.
25210         (CFLAGS-ldconfig.c): Likewise.
25211         (CPPFLAGS-.os): Likewise.
25212         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25213         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25214         * extra-modules.mk (extra-modules.mk): Likewise.
25215         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25216         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25217         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25218         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25219         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25220         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25221         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25222         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25223         * iconvdata/Makefile (CPPFLAGS): Likewise.
25224         (cpp-srcs-left): Add libof for all iconvdata routines.
25225         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25226         * include/assert.h: Likewise.
25227         * include/ctype.h: Likewise.
25228         * include/errno.h: Likewise.
25229         * include/libc-symbols.h: Likewise.
25230         * include/math.h: Likewise.
25231         * include/netdb.h: Likewise.
25232         * include/resolv.h: Likewise.
25233         * include/stdio.h: Likewise.
25234         * include/stdlib.h: Likewise.
25235         * include/string.h: Likewise.
25236         * include/sys/stat.h: Likewise.
25237         * include/wctype.h: Likewise.
25238         * intl/l10nflist.c: Likewise.
25239         * libidn/idn-stub.c: Likewise.
25240         * libio/libioP.h: Likewise.
25241         * nptl/libc_multiple_threads.c: Likewise.
25242         * nptl/pthreadP.h: Likewise.
25243         * posix/regex_internal.h: Likewise.
25244         * resolv/res_hconf.c: Likewise.
25245         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25246         * sysdeps/arm/memmove.S: Likewise.
25247         * sysdeps/arm/sysdep.h: Likewise.
25248         * sysdeps/generic/_itoa.h: Likewise.
25249         * sysdeps/generic/symbol-hacks.h: Likewise.
25250         * sysdeps/gnu/errlist.awk: Likewise.
25251         * sysdeps/gnu/errlist.c: Likewise.
25252         * sysdeps/i386/i586/memcpy.S: Likewise.
25253         * sysdeps/i386/i586/memset.S: Likewise.
25254         * sysdeps/i386/i686/memcpy.S: Likewise.
25255         * sysdeps/i386/i686/memmove.S: Likewise.
25256         * sysdeps/i386/i686/mempcpy.S: Likewise.
25257         * sysdeps/i386/i686/memset.S: Likewise.
25258         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25260         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25261         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25262         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25263         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25264         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25265         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25266         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25267         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25268         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25269         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25270         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25271         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25272         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25273         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25274         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25275         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25276         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25277         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25278         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25279         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25280         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25281         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25282         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25283         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25284         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25285         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25286         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25287         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25288         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25291         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25292         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25298         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25299         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25300         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25301         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25302         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25303         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25304         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25305         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25306         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25307         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25308         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25309         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25310         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25311         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25312         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25313         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25314         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25315         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25316         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25317         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25318         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25319         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25320         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25321         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25322         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25323         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25324         * sysdeps/posix/closedir.c: Likewise.
25325         * sysdeps/posix/opendir.c: Likewise.
25326         * sysdeps/posix/readdir.c: Likewise.
25327         * sysdeps/posix/rewinddir.c: Likewise.
25328         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25329         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25330         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25331         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25332         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25333         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25334         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25339         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25340         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25342         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25343         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25344         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25345         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25346         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25348         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25349         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25350         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25351         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25356         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25363         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25364         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25365         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25366         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25367         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25368         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25369         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25370         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25372         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25373         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25374         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25375         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25376         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25377         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25378         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25379         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25382         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25385         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25386         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25387         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25388         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25389         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25391         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25392         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25393         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25394         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25395         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25396         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25397         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25398         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25399         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25400         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25401         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25402         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25403         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25404         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25405         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25406         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25407         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25408         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25410         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25411         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25412         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25413         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25414         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25415         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25416         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25417         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25418         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25419         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25420         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25424         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25426         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25427         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25429         * sysdeps/unix/alpha/sysdep.S: Likewise.
25430         * sysdeps/unix/alpha/sysdep.h: Likewise.
25431         * sysdeps/unix/make-syscalls.sh: Likewise.
25432         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25434         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25435         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25436         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25437         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25438         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25439         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25440         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25441         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25442         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25443         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25445         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25446         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25447         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25448         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25449         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25450         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25451         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25452         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25453         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25454         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25455         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25456         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25457         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25461         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25462         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25466         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25470         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25471         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25472         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25473         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25475         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25476         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25479         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25482         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25483         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25484         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25485         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25486         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25487         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25488         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25490         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25491         * sysdeps/x86_64/memcpy.S: Likewise.
25492         * sysdeps/x86_64/memmove.c: Likewise.
25493         * sysdeps/x86_64/memset.S: Likewise.
25494         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25495         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25496         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25497         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25498         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25499         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25501         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25503         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25504         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25505         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25506         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25509         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25510         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25511         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25512         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25513         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25514         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25515         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25516         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25517         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25518         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25519         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25520         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25521         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25522         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25523         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25524         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25525         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25526         * sysdeps/x86_64/strcmp.S: Likewise.
25528         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25530         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25531         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25532         * elf/rtld-Rules: Likewise.
25533         * elf/setup-vdso.h: Likewise.
25534         * include/assert.h: Likewise.
25535         * include/bits/stdlib-float.h: Likewise.
25536         * include/errno.h: Likewise.
25537         * include/sys/stat.h: Likewise.
25538         * include/unistd.h: Likewise.
25539         * sysdeps/aarch64/setjmp.S: Likewise.
25540         * sysdeps/alpha/setjmp.S: Likewise.
25541         * sysdeps/arm/__longjmp.S: Likewise.
25542         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25543         * sysdeps/arm/setjmp.S: Likewise.
25544         * sysdeps/arm/sysdep.h: Likewise.
25545         * sysdeps/generic/_itoa.h: Likewise.
25546         * sysdeps/generic/dl-sysdep.h: Likewise.
25547         * sysdeps/generic/ldsodefs.h: Likewise.
25548         * sysdeps/i386/dl-tls.h: Likewise.
25549         * sysdeps/i386/setjmp.S: Likewise.
25550         * sysdeps/m68k/setjmp.c: Likewise.
25551         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25552         * sysdeps/mach/hurd/opendir.c: Likewise.
25553         * sysdeps/posix/getcwd.c: Likewise.
25554         * sysdeps/posix/opendir.c: Likewise.
25555         * sysdeps/posix/profil.c: Likewise.
25556         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25558         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25559         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25560         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25561         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25562         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25563         * sysdeps/s390/dl-tls.h: Likewise.
25564         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25565         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25566         * sysdeps/sh/sh3/setjmp.S: Likewise.
25567         * sysdeps/sh/sh4/setjmp.S: Likewise.
25568         * sysdeps/unix/alpha/sysdep.h: Likewise.
25569         * sysdeps/unix/arm/sysdep.S: Likewise.
25570         * sysdeps/unix/i386/sysdep.S: Likewise.
25571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25572         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25573         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25574         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25575         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25576         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25577         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25578         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25579         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25580         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25581         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25582         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25586         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25590         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25591         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25592         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25594         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25595         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25598         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25599         * sysdeps/x86_64/setjmp.S: Likewise.
25601         * include/math.h: Use IS_IN instead of IS_IN_libm.
25602         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25603         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25604         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25605         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25606         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25607         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25608         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25609         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25610         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25611         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25612         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25613         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25614         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25615         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25616         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25617         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25618         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25619         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25620         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25621         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25622         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25623         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25624         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25625         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25626         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25627         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25628         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25629         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25630         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25631         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25632         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25633         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25634         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25636         Likewise.
25637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25638         Likewise.
25639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25640         Likewise.
25641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25642         Likewise.
25643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25644         Likewise.
25645         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25646         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25647         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25648         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25649         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25650         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25656         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25657         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25658         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25659         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25660         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25661         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25662         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25663         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25664         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25665         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25666         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25667         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25669         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25671         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25673         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25674         * nptl/pthreadP.h: Likewise.
25675         * nptl_db/structs.def: Likewise.
25676         * sysdeps/arm/sysdep.h: Likewise.
25677         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25678         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25679         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25680         * sysdeps/unix/alpha/sysdep.h: Likewise.
25681         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25683         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25684         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25685         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25686         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25688         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25689         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25690         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25691         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25692         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25693         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25694         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25697         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25699         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25701         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25702         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25703         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25704         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25705         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25706         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25708         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25709         * nptl/pthreadP.h: Likewise.
25710         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25711         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25713         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25714         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25715         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25716         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25717         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25718         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25719         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25720         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25721         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25723         Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25725         Likewise.
25726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25728         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25731         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25732         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25733         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25735         * dlfcn/dladdr.c: Use IS_IN.
25736         * dlfcn/dladdr1.c: Likewise.
25737         * dlfcn/dlclose.c: Likewise.
25738         * dlfcn/dlerror.c: Likewise.
25739         * dlfcn/dlinfo.c: Likewise.
25740         * dlfcn/dlmopen.c: Likewise.
25741         * dlfcn/dlopen.c: Likewise.
25742         * dlfcn/dlsym.c: Likewise.
25743         * dlfcn/dlvsym.c: Likewise.
25745         * include/ifaddrs.h: Use IS_IN.
25746         * inet/check_pf.c: Likewise.
25747         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25748         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25750         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25751         IS_IN_ldconfig.
25752         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25753         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25755         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25756         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25757         IS_IN (libc).
25759         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25761         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25762         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25763         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25764         * include/libc-symbols.h (IS_IN_LIB): New macro.
25765         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25766         * include/netdb.h: Likewise.
25767         * include/stap-probe.h: Remove all uses of IN_LIB.
25769         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25770         instead of IN_MODULE.
25771         * include/libc-symbols.h (IN_MODULE): Define using
25772         MODULE_NAME.
25773         (PASTE_NAME, PASTE_NAME1): New macros.
25774         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25775         of IN_LIB.
25776         (STAP_PROBE_ASM): Likewise.
25778 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25780         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25781         __mach_init in dlopened libc.
25783 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25785         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25786         * sysdeps/arm/preconfigure: Regenerate.
25788 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25790         * nptl/pthread_create.c (__pthread_create_2_1): Set
25791         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25792         when copying values from IATTR into PD.
25794 2014-11-21  Will Newton  <will.newton@linaro.org>
25795             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25797         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25798         Refactor inline-asm.  Also add comment.
25800         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25801         ElfW macro instead of hardcoded Elf64 types.
25802         (la_aarch64_gnu_pltenter): Likewise.
25803         * sysdeps/aarch64/dl-machine.h
25804         (elf_machine_runtime_setup): Use ElfW(Addr).
25806         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25807         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25808         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25809         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25810         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25811         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25812         (R_AARCH64_TLS_DTPMOD): This.
25813         (R_AARCH64_TLS_DTPREL64): Rename to ...
25814         (R_AARCH64_TLS_DTPREL): This.
25815         (R_AARCH64_TLS_TPREL64): Rename to ...
25816         (R_AARCH64_TLS_TPREL): This.
25817         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25818         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25819         R_AARCH64_TLS_TPREL64.
25820         (elf_machine_rela): Likewise.
25822 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25824         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25825         by setting it to 0.  64b atomics are not supported currently.
25827 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25829         [BZ #16469]
25830         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25831         search domain names.
25833 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25835         [BZ #16469]
25836         * NEWS: Update.
25837         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25838         trailing dot.
25839         * posix/tst-getaddrinfo5.c: New.
25840         * posix/Makefile (tests): Add it.
25842 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25844         [BZ #14498]
25845         * NEWS: Fixed.
25846         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25847         after parsing line but before break_if_match.
25848         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25849         if there is a protocol mismatch.
25851 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25853         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25854         because the potential race is on the user-supplied stream.
25856 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25858         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25859         string literal if not passed a buffer.
25860         * manual/job.texi (ctermid): Update reasoning, note deviation
25861         from posix, suggest mtasurace when not passed a buffer, for
25862         future non-preliminary safety notes.
25864 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25866         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25867         of not passing it a buffer.
25868         Reported by Peng Haitao.
25870 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25872         * manual/Makefile ($(objpfx)stamp-summary): Require
25873         check-safety.sh to pass.
25874         * manual/check-safety.sh: Wish for verification that every
25875         @deftypefn and @deftypefun is followed by a @safety remark.
25877 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25879         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25881         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25882         PTHREAD_CANCEL_ASYNCHRONOUS.
25883         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25884         send SIGCANCEL.
25886         * nptl/default-sched.h: New file.
25887         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25888         * nptl/pthread_create.c: Include it.
25889         (__pthread_create_2_1): Use collect_default_sched instead of making
25890         Linux syscalls here directly.
25892 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25894         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25895         __pthread_once): Use C11 atomics.
25897 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25899         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25901 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25903         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25904         atomic_thread_fence_acquire, atomic_thread_fence_release,
25905         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25906         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25907         atomic_compare_exchange_weak_relaxed,
25908         atomic_compare_exchange_weak_acquire,
25909         atomic_compare_exchange_weak_release,
25910         atomic_exchange_acquire, atomic_exchange_release,
25911         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25912         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25913         atomic_fetch_and_acquire,
25914         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25916 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25918         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25919         USE_ATOMIC_COMPILER_BUILTINS): Define.
25920         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25922         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25924         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25926         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25928         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25930         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25932         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25934         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25936         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25938         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25940         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25942         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25944         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25946         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25948         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25950         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25952         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25954         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25955         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25956         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25958         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25961 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25963         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25964         the sched_priority value here.  It was already checked when the user
25965         called pthread_attr_setschedparam.
25967         * nptl/tst-bad-schedattr.c: New file.
25968         * nptl/Makefile (tests): Add it.
25970 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25971             Florian Weimer  <fweimer@redhat.com>
25972             Joseph Myers  <joseph@codesourcery.com>
25973             Adam Conrad  <adconrad@0c3.net>
25974             Andreas Schwab  <schwab@suse.de>
25975             Brooks  <bmoses@google.com>
25977         [BZ #17625]
25978         * wordexp-test.c (__dso_handle): Add prototype.
25979         (__register_atfork): Likewise.
25980         (__app_register_atfork): New function.
25981         (registered_forks): New global.
25982         (register_fork): New function.
25983         (test_case): Add 3 new tests for WRDE_CMDSUB.
25984         (main): Call __app_register_atfork.
25985         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25986         fork count is non-zero fail the test.
25987         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25988         is set.
25989         (parse_dollars): Remove check for WRDE_NOCMD.
25990         (parse_dquote): Likewise.
25992 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25994         * Makeconfig (built-modules): List non-library modules to be
25995         built.
25996         (module-cppflags): Include libc-modules.h for
25997         everything except shlib-versions.v.i.
25998         (CPPFLAGS): Use it.
25999         (before-compile): Add libc-modules.h.
26000         ($(common-objpfx)libc-modules.h,
26001         $(common-objpfx)libc-modules.stmp): New targets.
26002         (common-generated): Add libc-modules.h and libc-modules.stmp.
26003         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26004         * include/libc-symbols.h: Don't include libc-modules.h.
26005         * include/libc-modules.h: Remove file.
26006         * scripts/gen-libc-modules.awk: New script to generate
26007         libc-modules.h.
26008         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26009         Depend on libc-modules.stmp.
26011         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26013         * Makeconfig (in-module): Get value of libof set for the
26014         translation unit.
26015         (CPPFLAGS): Use $(in-module).
26016         * Makerules: Don't suffix routine names for nonlib.
26017         * include/libc-modules.h: New file.
26018         * include/libc-symbols.h: Include libc-modules.h
26019         (IS_IN): New macro to replace IS_IN_* macros.
26020         * elf/Makefile: Set libof-* for each routine.
26021         * elf/rtld-Rules: Likewise.
26022         * extra-modules.mk: Likewise.
26023         * iconv/Makefile: Likewise.
26024         * iconvdata/Makefile: Likewise.
26025         * locale/Makefile: Likewise.
26026         * malloc/Makefile: Likewise.
26027         * nss/Makefile: Likewise.
26028         * sysdeps/gnu/Makefile: Likewise.
26029         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26030         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26031         * sysdeps/s390/s390-64/Makefile: Likewise.
26032         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26033         CPPFLAGS for nscd instead of nonlib.
26035 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26037         * nptl/createthread.c: New file.
26039         * nptl/createthread.c: Moved ...
26040         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26042         * nptl/createthread.c: Add proper top-line comment.
26043         (do_clone): Folded into ...
26044         (create_thread): ... here.  Take new arguments STOPPED_START and
26045         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26046         increment __nptl_threads, do event-reporting logic, do
26047         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26048         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26049         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26050         just send SIGCANCEL.
26051         * nptl/pthread_create.c: Forward-declare create_thread before
26052         including createthread.c.
26053         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26054         declaration, and new macro START_THREAD_SELF to replace argument.
26055         Remove return statement.
26056         (report_thread_creation): New function.
26057         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26058         synchronization logic, and __nptl_nthreads increment here, around
26059         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26060         PD->parent_cancelhandling here, before create_thread.  When
26061         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26062         __deallocate_stack, and ENOMEM translation here.
26064 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26066         [BZ #17616]
26067         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26068         (mptwo): Rename to __mptwo.
26069         (__inv): Use __mptwo instead of mptwo.
26070         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26071         (mptwo): Rename to __mptwo.
26072         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26073         of mpone and __mptwo instead of mptwo.
26074         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26075         instead of mpone.
26076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26077         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26078         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26079         of mpone and __mptwo instead of mptwo.
26080         (__mpranred): Use __mpone instead of mpone.
26081         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26082         variable.
26083         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26084         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26085         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26086         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26087         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26088         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26089         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26090         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26091         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26092         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26093         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26094         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26095         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26096         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26097         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26098         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26099         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26100         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26101         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26103 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26105         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26106         replace BSD Handler xref with BSD Signal Handling.
26108 2014-11-17  Richard Henderson  <rth@redhat.com>
26110         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26111         (_FP_PACK_RAW_2): Remove.
26112         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26113         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26114         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26115         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26116         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26117         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26118         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26119         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26120         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26121         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26122         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26123         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26124         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26125         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26126         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26127         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26129 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26131         * signal/signal.h [__USE_MISC]
26132         (struct sigvec): Remove type.
26133         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26134         (sigvec): Remove declaration.
26135         * sysdeps/posix/sigvec.c: Moved ...
26136         * signal/sigvec.c: ... here, replacing old file.
26137         (struct sigvec): New type, copied from old signal.h definition.
26138         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26139         (__sigvec): Convert definition to prototype.
26140         (sigvec): Replace weak_alias with compat_symbol.
26141         * signal/Versions (libc: GLIBC_2.21): New version set.
26142         * include/signal.h: Remove __sigvec declaration.
26143         * sysdeps/unix/bsd/sigvec.c: Remove file.
26144         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26145         * manual/signal.texi (BSD Handler): Remove subsection.
26146         Move siginterrupt up to ...
26147         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26148         (Blocking in BSD): Fold subsection into its parent.
26149         * NEWS: Mention sigvec removal.
26151 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26153         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26154         (DLA_FMS): Make definition conditional only on [__FMA4__].
26155         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26156         definition.
26158         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26159         Make definition conditional only on [PROF].
26160         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26161         definition.
26162         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26163         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26165         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26166         !__GNUC__].
26167         * include/signal.h (__sigpause): Move declaration above call to
26168         libc_hidden_proto.
26169         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26170         variable.
26171         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26172         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26174 2014-11-14  David S. Miller  <davem@davemloft.net>
26176         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26177         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26179 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26181         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26182         * configure: Regenerated.
26183         * manual/install.texi (Tools for Compilation): Document a
26184         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26185         compiler verified to work.
26186         * INSTALL: Regenerated.
26188         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26189         redeclare with asm name.
26190         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26191         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26192         including <string.h>.
26193         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26195         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26196         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26197         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26199         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26201 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26203         * stdlib/strtol.c (__strtol): Use prototype definition.
26205         [BZ #17594]
26206         * stdlib/strtol.c (SYM__): New macro.
26207         (SYM__1): Likewise.
26208         (__strtol): Likewise.
26209         (strtol): Rename to __strtol and define as weak alias of
26210         __strtol.  Use libc_hidden_weak.
26212 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26214         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26215         Use numbered labels in inline assembly.
26217 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26219         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26220         Add setjmp LIBC_PROBE.
26221         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26222         Likewise.
26223         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26224         Add longjmp, longjmp_target LIBC_PROBE.
26225         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26226         Likewise.
26228 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26231         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26232         to get rid of unused variable warning.
26234 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26236         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26237         Check for unwind_backtrace ==  NULL only in SHARED case.
26238         (__backchain_backtrace): Compile only in SHARED case.
26239         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26240         Likewise.
26241         (__backchain_backtrace): Declare as static.
26243 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26245         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26246         (__libc_multiple_threads_ptr): Variable moved ...
26247         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26249 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26251         * conform/GlibcConform.pm: New file.
26252         * conform/conformtest.pl: Use GlibcConform module.
26253         * conform/linknamespace.pl: New file.
26254         * conform/list-header-symbols.pl: Likewise.
26255         * conform/Makefile (linknamespace-symlists-base): New variable.
26256         (linknamespace-symlists-tests): Likewise.
26257         (linknamespace-header-base): Likewise.
26258         (linknamespace-header-tests): Likewise.
26259         (tests-special): Add new tests.
26260         ($(linknamespace-symlists-tests)): New rule.
26261         (linknamespace-libs): New variable.
26262         ($(objpfx)symlist-stdlibs): New rule.
26263         ($(linknamespace-header-tests)): Likewise.
26264         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26265         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26266         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26267         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26268         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26269         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26270         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26271         (test-xfail-ISO/math.h/linknamespace): Likewise.
26272         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26273         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26274         (test-xfail-ISO/time.h/linknamespace): Likewise.
26275         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26276         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26277         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26278         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26279         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26280         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26281         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26282         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26283         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26284         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26285         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26286         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26287         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26288         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26289         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26290         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26291         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26292         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26293         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26294         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26295         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26296         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26297         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26298         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26299         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26300         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26301         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26302         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26303         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26304         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26305         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26306         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26307         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26308         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26309         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26310         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26311         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26312         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26313         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26314         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26315         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26316         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26317         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26318         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26319         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26320         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26321         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26322         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26323         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26324         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26325         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26326         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26327         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26328         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26329         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26330         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26331         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26332         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26333         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26334         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26335         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26336         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26337         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26338         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26339         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26340         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26341         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26342         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26343         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26344         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26345         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26346         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26347         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26348         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26349         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26350         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26351         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26352         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26353         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26354         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26355         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26356         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26357         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26358         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26359         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26360         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26361         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26362         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26363         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26364         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26365         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26366         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26367         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26368         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26369         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26370         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26371         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26372         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26373         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26374         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26375         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26376         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26377         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26378         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26379         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26380         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26381         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26382         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26383         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26384         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26385         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26386         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26387         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26388         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26389         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26390         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26391         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26392         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26393         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26394         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26395         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26396         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26397         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26398         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26399         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26400         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26401         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26402         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26403         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26404         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26405         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26406         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26407         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26408         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26409         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26410         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26411         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26412         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26413         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26414         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26415         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26416         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26417         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26418         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26419         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26420         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26421         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26422         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26423         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26424         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26426         [BZ #17589]
26427         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26428         of fgets_unlocked.
26430         [BZ #17585]
26431         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26432         (memmem): Rename to __memmem and define as weak alias of
26433         __memmem.  Use libc_hidden_weak.
26434         (__memmem): Use libc_hidden_def.
26435         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26436         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26437         memmem.
26439         [BZ #17582]
26440         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26441         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26442         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26443         and define as weak alias of __fgets_unlocked.  Use
26444         libc_hidden_weak.
26445         (__fgets_unlocked): Use libc_hidden_def.
26446         * include/stdio.h (__fgets_unlocked): Declare.  Use
26447         libc_hidden_proto.
26448         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26449         __fgets_unlocked instead of fgets_unlocked.
26450         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26451         (GET_NPROCS_CONF_PARSER): Likewise.
26452         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26453         (GET_NPROCS_CONF_PARSER): Likewise.
26455         [BZ #17574]
26456         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26457         weak alias of __wmemset.  Use libc_hidden_weak.
26458         (__wmemset): Use libc_hidden_def.
26459         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26460         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26461         of wmemset.
26463         [BZ #17573]
26464         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26465         with asm name __mempcpy.
26466         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26468         [BZ #17572]
26469         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26470         and define as weak alias of __rawmemchr.
26471         (__rawmemchr): Do not define as strong alias of rawmemchr.
26473         [BZ #17571]
26474         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26475         alias of __qsort_r.
26476         (qsort): Call __qsort_r instead of qsort_r.
26477         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26478         (__qsort_r): Declare.  Call libc_hidden_proto.
26479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26480         instead of qsort_r.
26481         * nscd/gai.c (__qsort_r): Define to qsort_r.
26482         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26483         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26484         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26486         [BZ #17570]
26487         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26488         define as weak alias of __malloc_info.
26490         [BZ #17584]
26491         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26492         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26493         (__rewinddir): Use libc_hidden_def.
26494         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26495         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26496         (__rewinddir): Use libc_hidden_def.
26497         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26498         weak alias of __rewinddir.  Don't use libc_hidden_def.
26499         (__rewinddir): Use libc_hidden_def.
26500         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26501         (__rewinddir): Use libc_hidden_proto.
26502         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26503         rewinddir.
26504         (__getcwd): Use __rewinddir instead of rewinddir.
26506         [BZ #17583]
26507         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26508         alias of __fileno.  Use libc_hidden_weak.
26509         (__fileno): Use libc_hidden_def.
26510         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26511         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26512         alias of __ftello.
26513         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26514         __ftello.
26515         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26516         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26517         libc_hidden_def.
26518         (fread_unlocked): Don't use libc_hidden_ver.
26519         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26520         and define as weak alias of __fread_unlocked.  Don't use
26521         libc_hidden_def.
26522         (__fread_unlocked): Use libc_hidden_def.
26523         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26524         (ftello): Don't use libc_hidden_proto.
26525         (__ftello): Declare.  Use libc_hidden_proto.
26526         (fread_unlocked): Don't use libc_hidden_proto.
26527         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26528         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26529         and __ftello instead of fileno, fread_unlocked and ftello.
26531 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26533         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26534         GOT12.
26535         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26536         Likewise.
26537         (_dl_start_user): Likewise.
26538         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26540 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26541             Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26544         Move argv and envp down instead of moving argc up.
26545         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26547 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26549         [BZ #17506]
26550         * test-skeleton.c (main): Return successful if one of
26551         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26552         * string/tst-strcoll-overflow.c: Define expected status.
26554 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26556         [BZ #17475]
26557         * locale/iso-639.def: Define Bhili and Tulu language codes.
26559 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26561         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26563 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26565         [BZ #17555]
26566         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26568 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26570         * configure.ac: Updated check of minimal required version to
26571         2.22.
26572         * manual/install.texi (Tools for Compilation): Updated version
26573         number.
26574         * configure: Regenerated.
26575         * INSTALL: Likewise.
26577 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26579         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26580         __tls_get_addr.
26582 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26584         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26585         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26586         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26587         libc_hidden_weak.
26588         (waitpid): Define as alias of __waitpid.
26589         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26590         __waitpid.
26591         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26592         libc_hidden_weak.
26593         (waitpid): Define as alias of __waitpid.
26594         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26595         __libc_waitpid alias.
26596         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26597         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26598         Likewise.
26599         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26600         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26601         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26602         alias.
26603         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26604         __waitpid.
26605         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26606         libc_hidden_weak.
26607         (waitpid): Define as alias of __waitpid.
26609 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26611         * manual/llio.texi: Add comment that write safety has been
26612         fixed in Linux.
26614         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26615         (localplt-build-dso): Add elf/ld.so.
26616         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26617         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26618         and free for ld.so.
26619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26620         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26622         Likewise.
26623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26624         Likewise.
26625         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26626         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26627         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26628         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26629         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26630         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26631         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26632         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26633         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26634         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26635         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26637 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26639         [BZ #14132]
26640         * include/libc-symbols.h (INTUSE): Remove macro.
26641         (INTDEF): Likewise.
26642         (INTVARDEF): Likewise.
26643         (_INTVARDEF): Likewise.
26644         (INTDEF2): Likewise.
26645         (INTVARDEF2): Likewise.
26646         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26647         rtld_hidden_def instead of INTVARDEF.
26648         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26649         (_dl_starting_up_internal): Remove declaration.
26650         (_dl_starting_up): Use rtld_hidden_proto.
26651         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26652         declaration.
26653         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26654         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26655         _dl_starting_up.
26656         * elf/dl-writev.h (_dl_writev): Likewise.
26657         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26658         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26659         _dl_starting_up_internal.
26661 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26663         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26664         test-skeleton.c.
26666 2014-11-05  Will Newton  <will.newton@linaro.org>
26668         * benchtests/Makefile: (bench-malloc): Add malloc thread
26669         scalability benchmark.
26670         * benchtests/bench-malloc-threads.c: New file.
26672 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26674         * sysdeps/aarch64/strchrnul.S: New file.
26676 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26678         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26679         definition.
26680         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26681         Likwise.
26682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26683         Likewise.
26684         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26685         Likewise.
26686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26687         Likewise.
26688         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26689         Likewise.
26691 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26693         * catgets/test-gencat.c: Use test-skeleton.c.
26694         * catgets/tst-catgets.c: Likewise.
26695         * csu/tst-empty.c: Likewise.
26696         * elf/tst-audit2.c: Likewise.
26697         * elf/tst-global1.c: Likewise.
26698         * elf/tst-pathopt.c: Likewise.
26699         * elf/tst-piemod1.c: Likewise.
26700         * elf/tst-tls10.c: Likewise.
26701         * elf/tst-tls11.c: Likewise.
26702         * elf/tst-tls12.c: Likewise.
26703         * gnulib/tst-gcc.c: Likewise.
26704         * iconvdata/tst-e2big.c: Likewise.
26705         * iconvdata/tst-loading.c: Likewise.
26706         * iconv/tst-iconv1.c: Likewise.
26707         * iconv/tst-iconv2.c: Likewise.
26708         * inet/test-inet6_opt.c: Likewise.
26709         * inet/tst-gethnm.c: Likewise.
26710         * inet/tst-network.c: Likewise.
26711         * inet/tst-ntoa.c: Likewise.
26712         * intl/tst-codeset.c: Likewise.
26713         * intl/tst-gettext2.c: Likewise.
26714         * intl/tst-gettext3.c: Likewise.
26715         * intl/tst-ngettext.c: Likewise.
26716         * intl/tst-translit.c: Likewise.
26717         * io/test-stat.c: Likewise.
26718         * libio/test-fmemopen.c: Likewise.
26719         * libio/tst-freopen.c: Likewise.
26720         * libio/tst-sscanf.c: Likewise.
26721         * libio/tst-ungetwc1.c: Likewise.
26722         * libio/tst-ungetwc2.c: Likewise.
26723         * libio/tst-widetext.c: Likewise.
26724         * localedata/tst-ctype.c: Likewise.
26725         * localedata/tst-digits.c: Likewise.
26726         * localedata/tst-leaks.c: Likewise.
26727         * localedata/tst-mbswcs1.c: Likewise.
26728         * localedata/tst-mbswcs2.c: Likewise.
26729         * localedata/tst-mbswcs3.c: Likewise.
26730         * localedata/tst-mbswcs4.c: Likewise.
26731         * localedata/tst-mbswcs5.c: Likewise.
26732         * localedata/tst-setlocale.c: Likewise.
26733         * localedata/tst-trans.c: Likewise.
26734         * localedata/tst-wctype.c: Likewise.
26735         * localedata/tst-xlocale1.c: Likewise.
26736         * login/tst-grantpt.c: Likewise.
26737         * malloc/tst-calloc.c: Likewise.
26738         * malloc/tst-malloc.c: Likewise.
26739         * malloc/tst-mallocstate.c: Likewise.
26740         * malloc/tst-mcheck.c: Likewise.
26741         * malloc/tst-mtrace.c: Likewise.
26742         * malloc/tst-obstack.c: Likewise.
26743         * math/atest-exp2.c: Likewise.
26744         * math/atest-exp.c: Likewise.
26745         * math/atest-sincos.c: Likewise.
26746         * math/test-matherr.c: Likewise.
26747         * math/test-misc.c: Likewise.
26748         * math/test-powl.c: Likewise.
26749         * math/tst-definitions.c: Likewise.
26750         * misc/tst-dirname.c: Likewise.
26751         * misc/tst-efgcvt.c: Likewise.
26752         * misc/tst-fdset.c: Likewise.
26753         * misc/tst-hsearch.c: Likewise.
26754         * misc/tst-mntent2.c: Likewise.
26755         * nptl/tst-sem7.c: Likewise.
26756         * nptl/tst-sem8.c: Likewise.
26757         * nptl/tst-sem9.c: Likewise.
26758         * nss/test-netdb.c: Likewise.
26759         * posix/tst-fnmatch.c: Likewise.
26760         * posix/tst-getlogin.c: Likewise.
26761         * posix/tst-gnuglob.c: Likewise.
26762         * posix/tst-mmap.c: Likewise.
26763         * pwd/tst-getpw.c: Likewise.
26764         * resolv/tst-inet_ntop.c: Likewise.
26765         * rt/tst-timer.c: Likewise.
26766         * stdio-common/test-fseek.c: Likewise.
26767         * stdio-common/test-popen.c: Likewise.
26768         * stdio-common/test-vfprintf.c: Likewise.
26769         * stdio-common/tst-cookie.c: Likewise.
26770         * stdio-common/tst-fileno.c: Likewise.
26771         * stdio-common/tst-gets.c: Likewise.
26772         * stdio-common/tst-obprintf.c: Likewise.
26773         * stdio-common/tst-perror.c: Likewise.
26774         * stdio-common/tst-sprintf2.c: Likewise.
26775         * stdio-common/tst-sprintf3.c: Likewise.
26776         * stdio-common/tst-sprintf.c: Likewise.
26777         * stdio-common/tst-swprintf.c: Likewise.
26778         * stdio-common/tst-tmpnam.c: Likewise.
26779         * stdio-common/tst-unbputc.c: Likewise.
26780         * stdio-common/tst-wc-printf.c: Likewise.
26781         * stdlib/tst-environ.c: Likewise.
26782         * stdlib/tst-fmtmsg.c: Likewise.
26783         * stdlib/tst-limits.c: Likewise.
26784         * stdlib/tst-rand48-2.c: Likewise.
26785         * stdlib/tst-rand48.c: Likewise.
26786         * stdlib/tst-random2.c: Likewise.
26787         * stdlib/tst-random.c: Likewise.
26788         * stdlib/tst-strtol.c: Likewise.
26789         * stdlib/tst-strtoll.c: Likewise.
26790         * stdlib/tst-tls-atexit.c: Likewise.
26791         * stdlib/tst-xpg-basename.c: Likewise.
26792         * string/test-ffs.c: Likewise.
26793         * string/tst-bswap.c: Likewise.
26794         * string/tst-inlcall.c: Likewise.
26795         * string/tst-strtok.c: Likewise.
26796         * string/tst-strxfrm.c: Likewise.
26797         * sysdeps/x86_64/tst-audit10.c: Likewise.
26798         * sysdeps/x86_64/tst-audit3.c: Likewise.
26799         * sysdeps/x86_64/tst-audit4.c: Likewise.
26800         * sysdeps/x86_64/tst-audit5.c: Likewise.
26801         * time/tst-ftime_l.c: Likewise.
26802         * time/tst-getdate.c: Likewise.
26803         * time/tst-mktime3.c: Likewise.
26804         * time/tst-mktime.c: Likewise.
26805         * time/tst-posixtz.c: Likewise.
26806         * time/tst-strptime2.c: Likewise.
26807         * time/tst-strptime3.c: Likewise.
26808         * wcsmbs/tst-btowc.c: Likewise.
26809         * wcsmbs/tst-mbrtowc.c: Likewise.
26810         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26811         * wcsmbs/tst-wchar-h.c: Likewise.
26812         * wcsmbs/tst-wcpncpy.c: Likewise.
26813         * wcsmbs/tst-wcrtomb.c: Likewise.
26814         * wcsmbs/tst-wcsnlen.c: Likewise.
26815         * wcsmbs/tst-wcstof.c: Likewise.
26817 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26819         [BZ #14132]
26820         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26821         INTDEF.
26822         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26823         declaration.
26824         (_dl_mcount): Use rtld_hidden_proto.
26825         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26826         _dl_mcount.
26827         * elf/rtld.c (_rtld_global_ro): Likewise.
26829         [BZ #14132]
26830         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26831         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26832         of _dl_init_internal.
26833         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26834         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26835         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26836         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26837         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26838         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26839         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26840         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26841         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26842         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26843         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26844         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26845         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26846         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26847         * sysdeps/tile/dl-start.S (_start): Likewise.
26848         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26849         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26851         [BZ #14132]
26852         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26853         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26854         (rtld_progname): Make macro definition unconditional.
26855         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26856         INTDEF.
26857         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26858         (dl_main): Likewise.
26859         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26860         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26861         instead of _dl_argv_internal.
26862         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26863         __GI__dl_argv instead of INTUSE(_dl_argv).
26864         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26865         __GI__dl_argv instead of _dl_argv_internal.
26867         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26868         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26869         macro.
26870         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26871         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26872         New macro.
26873         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26874         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26875         macro.
26876         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26877         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26879 2014-11-04  Andreas Schwab  <schwab@suse.de>
26881         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26883 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26885         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26886         mtvsrd instruction in binary form.
26888 2014-11-03  Andreas Schwab  <schwab@suse.de>
26890         [BZ #17522]
26891         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26892         for less than MB_LEN_MAX use a local buffer of that size.
26893         * libio/tst-fputws.c: New file.
26894         * libio/Makefile (tests): Add tst-fputws.
26896 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26898         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26899         the size of the fpu_fr.fpu_dregs[] array.
26901 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26903         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26904         (__nanosleep): Do not define as alias.
26905         (nanosleep): Define as alias of __nanosleep.
26906         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26907         __libc_nanosleep name.
26909 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26911         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26912         install.texi in comment.
26914 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26916         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26917         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26918         ... add here and use lwsync or sync ...
26919         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26920         ... and add here using lwsync.
26922 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26924         * elf/dl-machine-reject-phdr.h: New file.
26925         * elf/dl-load.c: #include that.
26926         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26927         if that returned true.
26929 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26931         [BZ #17496]
26932         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26933         gen-as-const-headers chunk.  Add a big scare comment after the last
26934         safe place to touch before-compile.
26936 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26938         * manual/install.texi (Tools for Compilation): Update autoconf
26939         version requirements.
26940         * INSTALL: Regenerated.
26942         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26943         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26944         (__libc_pselect): Likewise.
26946         [BZ #14138]
26947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26952 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26954         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26955         correct barrier instruction.
26956         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26957         Likewise.
26958         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26959         Likewise.
26961 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26963         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26964         after defining inlines.  Instead, just use parens to defeat macro
26965         expansion of __isctype in its declaration.
26967 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26969         * include/sys/uio.h (__libc_readv): Remove declaration.
26970         (__libc_writev): Likewise.
26971         * misc/readv.c (__libc_readv): Rename to __readv.
26972         (__readv): Do not define as alias.
26973         (readv): Define as alias of __readv.
26974         * misc/writev.c (__libc_writev): Rename to __writev.
26975         (__writev): Do not define as alias.
26976         (writev): Define as alias of __writev.
26977         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26978         (__readv): Do not define as alias.
26979         (readv): Define unconditionally as alias of __readv.
26980         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26981         (__writev): Do not define as alias.
26982         (writev): Define unconditionally as alias of __writev.
26983         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26984         name.
26985         (writev): Do not define __libc_writev name.
26987 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26989         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26990         (convert_charseq): New function, broken out of ...
26991         (use_from_charmap): ... here.  Call it.
26992         (use_to_charmap): Use convert_charseq and free instead of duplicating
26993         its code with a variable-length stack struct.
26995 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26997         * include/fcntl.h (__libc_creat): Remove declaration.
26998         * io/creat.c (__libc_creat): Rename to creat.
26999         (creat): Do not define as alias.
27000         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27001         of creat instead of __libc_creat.
27002         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27003         to creat.
27004         (creat): Do not define as alias.
27005         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27006         __libc_creat.
27007         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27008         __libc_creat name.
27009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27010         Likewise.
27012 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27014         * manual/llio.texi: Add comments discussing why write() may be
27015         considered MT-unsafe on Linux.
27017 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27019         * dl-load.c (local_strdup): Remove.
27020         (expand_dynamic_string_token): Use __strdup.
27021         (decompose_rpath): Likewise.
27022         (_dl_map_object): Likewise.
27024 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27026         [BZ #14132]
27027         * sysdeps/generic/unwind-dw2-fde.c
27028         (__register_frame_info_bases_internal): Do not declare.
27029         (__register_frame_info_table_bases_internal): Likewise.
27030         (__deregister_frame_info_bases_internal): Likewise.
27031         (__register_frame_info_bases): Declare and use hidden_proto before
27032         definition.  Use hidden_def instead of INTDEF.
27033         (__register_frame_info_table_bases): Likewise.
27034         (__deregister_frame_info_bases): Likewise.
27035         (__register_frame_info): Do not use INTUSE.
27036         (__register_frame): Likewise.
27037         (__register_frame_info_table): Likewise.
27038         (__register_frame_table): Likewise.
27039         (__deregister_frame_info): Likewise.
27040         (__deregister_frame): Likewise.
27042 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27044         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27045         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27046         not undefine.
27047         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27048         Likewise.
27049         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27050         Likewise.
27052 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27054         [BZ #14138]
27055         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27056         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27057         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27058         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27059         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27060         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27061         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27062         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27063         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27064         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27065         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27066         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27067         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27068         syscall.
27069         (setfsuid): Likewise.
27070         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27071         (setfsuid): Likewise.
27072         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27073         (setfsuid): Likewise.
27074         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27075         Likewise.
27076         (setfsuid): Likewise.
27077         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27078         (setfsuid): Likewise.
27079         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27080         Likewise.
27081         (setfsuid): Likewise.
27083 2014-10-27  Andreas Schwab  <schwab@suse.de>
27085         [BZ #17501]
27086         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27087         check for Slow_SSE4_2 feature bit.
27088         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27089         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27090         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27091         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27093 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27095         * configure.ac: Validate compiler version with a empirical test of
27096         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27097         $CC -v output.
27098         * configure: Regenerated.
27100         * inet/htons.c (htons): Prototypify.
27101         * inet/htonl.c (htonl): Likewise.
27103 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27105         * string/strncat.c (strncat): Improve performance by using strlen.
27107 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27109         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27111 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27113         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27114         Call libc_fetestexcept_aarch64.
27116 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27118         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27119         Call libc_feholdexcept_aarch64.
27121 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27123         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27124         Call get_rounding_mode.
27126 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27128         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27129         Simplify logic.
27131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27133         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27134         Simplify logic.
27136 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27138         [BZ #14138]
27139         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27140         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27141         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27142         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27143         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27144         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27145         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27146         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27147         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27148         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27149         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27151         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27152         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27153         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27154         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27155         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27156         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27157         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27158         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27159         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27160         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27161         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27162         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27163         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27164         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27165         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27166         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27167         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27168         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27169         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27170         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27171         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27172         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27173         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27174         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27175         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27176         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27178         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27179         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27180         syscall.
27181         (geteuid): Likewise.
27182         (getgid): Likewise.
27183         (getuid): Likewise.
27184         (getresgid): Likewise.
27185         (getresuid): Likewise.
27186         (getgroups): Likewise.
27187         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27188         (geteuid): Likewise.
27189         (getgid): Likewise.
27190         (getuid): Likewise.
27191         (getresgid): Likewise.
27192         (getresuid): Likewise.
27193         (getgroups): Likewise.
27194         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27195         (geteuid): Likewise.
27196         (getgid): Likewise.
27197         (getuid): Likewise.
27198         (getresgid): Likewise.
27199         (getresuid): Likewise.
27200         (getgroups): Likewise.
27201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27202         Likewise.
27203         (geteuid): Likewise.
27204         (getgid): Likewise.
27205         (getuid): Likewise.
27206         (getresgid): Likewise.
27207         (getresuid): Likewise.
27208         (getgroups): Likewise.
27209         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27210         (geteuid): Likewise.
27211         (getgid): Likewise.
27212         (getuid): Likewise.
27213         (getresgid): Likewise.
27214         (getresuid): Likewise.
27215         (getgroups): Likewise.
27216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27217         Likewise.
27218         (geteuid): Likewise.
27219         (getgid): Likewise.
27220         (getuid): Likewise.
27221         (getgroups): Likewise.
27223         [BZ #14138]
27224         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27225         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27226         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27227         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27228         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27229         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27230         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27231         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27232         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27233         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27235         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27236         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27237         __chown.
27238         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27239         (lchown): Likewise.
27240         (fchown): Likewise.
27241         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27242         Likewise.
27243         (lchown): Likewise.
27244         (fchown): Likewise.
27245         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27246         (lchown): Likewise.
27247         (fchown): Likewise.
27248         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27249         Likewise.
27250         (lchown): Likewise.
27251         (fchown): Likewise.
27253 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27255         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27256         Simplify logic.
27258 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27260         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27261         Cleanup logic.
27263 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27265         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27266         Remove unused include.
27268 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27270         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27271         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27272         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27273         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27275 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27276             Helge Deller <deller@gmx.de>
27278         [BZ #17508]
27279         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27280         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27281         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27283 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #14132]
27286         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27287         Remove macro definition.
27288         (__ashrdi3_v_glibc20): Likewise.
27289         (__lshrdi3_v_glibc20): Likewise.
27290         (__cmpdi2_v_glibc20): Likewise.
27291         (__ucmpdi2_v_glibc20): Likewise.
27292         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27293         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27294         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27295         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27296         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27297         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27299 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27301         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27302         old GNU extension [0] syntax.
27303         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27304         alloca rather than an array member with variable length.
27305         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27306         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27307         (parse_opt): ... here.  Likewise use alloca there.
27308         Validate the -i argument before checking for rootness.
27309         (send_shutdown): New function, broken out of ...
27310         (parse_opt): ... here.
27312 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27314         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27315         macro to get at the _rt_local_ro field.
27316         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27317         ([PIC] case) or _dl_hwcap ([!PIC] case).
27318         * sysdeps/arm/setjmp.S: Likewise.
27320         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27321         * sysdeps/arm/configure.ac: New check to define it.
27322         * sysdeps/arm/configure: Regenerated.
27323         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27324         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27325         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27326         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27327         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27328         Use move/movt pair instead of a load.
27329         (LDST_GLOBAL): Macro removed.
27330         (LDR_GLOBAL): New macro replaces it.
27331         (LDR_HIDDEN): New macro.
27332         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27333         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27335         * setjmp/tst-setjmp-static.c: New file.
27336         * setjmp/Makefile (tests): Add it.
27337         (tests-static): New variable.
27339 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27341         [BZ #17485]
27342         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27344 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27346         [BZ #14132]
27347         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27349 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27351         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27353 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27355         * io/fts.c (dirent_not_directory): New function.
27356         (fts_build): Call it.
27358 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27360         * nptl/version.c (__nptl_main): Use normal __write rather than
27361         INTERNAL_SYSCALL.
27362         (banner): Update copyright years.
27364         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27365         gettimeofday.
27366         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27367         * nptl/pthread_cond_timedwait.c: Likewise.
27368         * nptl/pthread_mutex_timedlock.c: Likewise.
27369         * nptl/sem_timedwait.c: Likewise.
27371         * sysdeps/nptl/bits/libc-lock.h
27372         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27373         (__libc_lock_init_recursive): Return void, not 0.
27374         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27375         (__libc_rwlock_init): Likewise.
27376         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27378 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27380         [BZ #15215]
27381         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27382         (__pthread_once_slow): ... here.
27383         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27384         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27386 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27388         [BZ #15215]
27389         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27390         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27391         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27392         * nptl/pthread_once.c (__pthread_once): Likewise.
27393         Update comments.
27395 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27397         [BZ #14138]
27398         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27399         name.
27400         (writev): Use __libc_writev as strong name.
27401         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27402         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27404 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27406         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27408         * sysdeps/i386/nptl/tls.h
27409         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27410         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27411         New macros.
27412         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27413         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27414         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27415         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27416         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27417         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27419         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27420         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27421         on [__NR_futex].
27422         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27423         broken out of ...
27424         (__pthread_mutex_init): ... here.  Call it.
27425         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27426         Conditionalize PI cases on [__NR_futex].
27427         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27428         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27429         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27431         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27432         conditional on [SIGSETXID].
27433         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27434         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27435         is defined.  Likewise for SIGSETXID.
27436         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27437         Conditionalize definitions on [SIGSETXID].
27438         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27439         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27440         unblocking on [SIGCANCEL].
27442         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27443         [__NR_set_robust_list].
27445 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27447         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27448         (do_compare): Likewise.
27450 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27452         [BZ #15884]
27453         * string/strcoll_l.c: Don't include stdio.h.
27454         (coll_seq): Remove members idxarr and rulearr.
27455         (get_next_seq_cached): Remove function.
27456         (get_next_seq): Likewise.
27457         (get_next_seq_nocache): Rename to get_next_seq.
27458         (do_compare): Remove function.
27459         (do_compare_nocache): Rename to do_compare.
27460         (STRCOLL): Remove weight and rules cache.
27462 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27464         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27465         * sysdeps/arm/sfp-machine.h: ... to here.
27466         * sysdeps/arm/Implies: Remove arm/soft-fp.
27468 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27470         * conform/data/sys/utsname.h-data (*_t): Allow.
27471         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27472         [POSIX] (WEXITED): Do not expect constant.
27473         [POSIX] (WSTOPPED): Likewise.
27474         [POSIX] (WNOHANG): Likewise.
27475         [POSIX] (WNOWAIT): Likewise.
27476         [POSIX] (siginfo_t): Do not expect type or elements.
27477         [POSIX] (pid_t): Do not expect type.
27478         [POSIX] (signal.h): Do not allow header.
27479         [POSIX] (sys/resource.h): Likewise.
27480         [POSIX] (si_*): Do not allow pattern.
27481         [POSIX] (W*): Likewise.
27482         [POSIX] (P_*): Likewise.
27483         [POSIX] (BUS_*): Likewise.
27484         [POSIX] (CLD_*): Likewise.
27485         [POSIX] (FPE_*): Likewise.
27486         [POSIX] (ILL_*): Likewise.
27487         [POSIX] (POLL_*): Likewise.
27488         [POSIX] (SEGV_*): Likewise.
27489         [POSIX] (SI_*): Likewise.
27490         [POSIX] (TRAP_*): Likewise.
27491         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27492         variable.
27494 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27496         [BZ #12926]
27497         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27498         infinite loop when __recvmsg returns 0.
27500 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27502         * CANCEL-FCT-WAIVE: Remove file.
27503         * CANCEL-FILE-WAIVE: Likewise.
27505         [BZ #14132]
27506         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27507         instead of INTVARDEF.
27508         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27509         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27510         rtld_hidden_data_def instead of INTVARDEF.
27511         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27512         * elf/dl-deps.c (expand_dst): Likewise.
27513         * elf/dl-load.c (_dl_dst_count): Likewise.
27514         (_dl_dst_substitute): Likewise.
27515         (decompose_rpath): Likewise.
27516         (_dl_init_paths): Likewise.
27517         (open_path): Likewise.
27518         (_dl_map_object): Likewise.
27519         * elf/rtld.c (dl_main): Likewise.
27520         (process_dl_audit): Likewise.
27521         (process_envvars): Likewise.
27522         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27523         Remove declaration.
27524         (__libc_enable_secure): Use rtld_hidden_proto.
27526 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27528         * elf/dl-load.c
27529         (add_path): New function broken out of _dl_rtld_di_serinfo.
27530         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27532 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27534         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27535         parentheses around macro arguments.
27536         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27547         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27550         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27551         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27552         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27555         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27565         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27566         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27567         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27568         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27569         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27570         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27571         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27572         Likewise.
27573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27574         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27580         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27582         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27583         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27584         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27585         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27593         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27594         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27597         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27598         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27599         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27600         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27601         (_FP_FRAC_SRS_1): Likewise.
27602         (_FP_FRAC_CLZ_1): Likewise.
27603         (_FP_MUL_MEAT_1_imm): Likewise.
27604         (_FP_MUL_MEAT_1_wide): Likewise.
27605         (_FP_MUL_MEAT_1_hard): Likewise.
27606         (_FP_SQRT_MEAT_1): Likewise.
27607         (_FP_FRAC_ASSEMBLE_1): Likewise.
27608         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27609         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27610         (__FP_CLZ_2): Likewise.
27611         (_FP_MUL_MEAT_2_wide): Likewise.
27612         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27613         (_FP_MUL_MEAT_2_gmp): Likewise.
27614         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27615         (_FP_SQRT_MEAT_2): Likewise.
27616         (_FP_FRAC_ASSEMBLE_2): Likewise.
27617         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27618         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27619         (_FP_FRAC_CLZ_4): Likewise.
27620         (_FP_MUL_MEAT_4_wide): Likewise.
27621         (_FP_MUL_MEAT_4_gmp): Likewise.
27622         (_FP_SQRT_MEAT_4): Likewise.
27623         (_FP_FRAC_ASSEMBLE_4): Likewise.
27624         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27625         * soft-fp/op-common.h (_FP_CMP): Likewise.
27626         (_FP_CMP_EQ): Likewise.
27627         (_FP_CMP_UNORD): Likewise.
27628         (_FP_TO_INT): Likewise.
27629         (_FP_FROM_INT): Likewise.
27630         [!__FP_CLZ] (__FP_CLZ): Likewise.
27631         (_FP_DIV_HELP_imm): Likewise.
27632         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27633         Likewise.
27634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27645         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27648         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27649         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27650         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27663         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27667         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27668         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27669         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27670         (FP_UNPACK_RAW_SP): Likewise.
27671         (FP_PACK_RAW_S): Likewise.
27672         (FP_PACK_RAW_SP): Likewise.
27673         (FP_UNPACK_S): Likewise.
27674         (FP_UNPACK_SP): Likewise.
27675         (FP_UNPACK_SEMIRAW_S): Likewise.
27676         (FP_UNPACK_SEMIRAW_SP): Likewise.
27677         (FP_PACK_S): Likewise.
27678         (FP_PACK_SP): Likewise.
27679         (FP_PACK_SEMIRAW_S): Likewise.
27680         (FP_PACK_SEMIRAW_SP): Likewise.
27681         (_FP_SQRT_MEAT_S): Likewise.
27682         (FP_CMP_S): Likewise.
27683         (FP_CMP_EQ_S): Likewise.
27684         (FP_CMP_UNORD_S): Likewise.
27685         (FP_TO_INT_S): Likewise.
27686         (FP_FROM_INT_S): Likewise.
27688         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27690         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27691         (FP_EX_INVALID_IMZ): Likewise.
27692         (FP_EX_INVALID_IMZ_FMA): Likewise.
27693         (FP_EX_INVALID_ISI): Likewise.
27694         (FP_EX_INVALID_ZDZ): Likewise.
27695         (FP_EX_INVALID_IDI): Likewise.
27696         (FP_EX_INVALID_SQRT): Likewise.
27697         (FP_EX_INVALID_CVI): Likewise.
27698         (FP_EX_INVALID_VC): Likewise.
27699         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27700         "invalid" exceptions.
27701         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27702         (_FP_ADD_INTERNAL): Likewise.
27703         (_FP_MUL): Likewise.
27704         (_FP_FMA): Likewise.
27705         (_FP_DIV): Likewise.
27706         (_FP_CMP_CHECK_NAN): Likewise.
27707         (_FP_SQRT): Likewise.
27708         (_FP_TO_INT): Likewise.
27709         (FP_EXTEND): Likewise.
27711 2014-10-09  Allan McRae  <allan@archlinux.org>
27713         * po/fr.po: Update French translation from translation project.
27715 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27717         [BZ #14132]
27718         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27719         of INTDEF.
27720         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27721         (__cxa_atexit): Use libc_hidden_proto.
27722         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27724         [BZ #14132]
27725         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27726         declaration.
27727         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27728         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27729         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27730         [!_ISOMAC] (__iswctype_internal): Likewise.
27731         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27732         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27733         alias.
27734         (fcntl): Remove __fcntl_internal alias.
27735         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27736         __connect_internal alias.
27737         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27738         Likewise.
27740         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27741         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27742         FP_DENORM_ZERO.
27743         (_FP_CHECK_FLUSH_ZERO): New macro.
27744         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27745         (_FP_CMP): Likewise.
27746         (_FP_CMP_EQ): Likewise.
27747         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27748         FP_DENORM_ZERO.
27749         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27750         (FP_TRUNC): Likewise.
27752         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27753         treated as invalid conversion, not as normal exponent.
27755         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27756         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27757         (_FP_CMP_EQ): Likewise.
27758         (_FP_CMP_UNORD): Likewise.
27759         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27760         (FP_CMP_EQ_D): Likewise.
27761         (FP_CMP_UNORD_D): Likewise.
27762         * soft-fp/extended.h (FP_CMP_E): Likewise.
27763         (FP_CMP_EQ_E): Likewise.
27764         (FP_CMP_UNORD_E): Likewise.
27765         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27766         (FP_CMP_EQ_Q): Likewise.
27767         (FP_CMP_UNORD_Q): Likewise.
27768         * soft-fp/single.h (FP_CMP_S): Likewise.
27769         (FP_CMP_EQ_S): Likewise.
27770         (FP_CMP_UNORD_S): Likewise.
27771         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27772         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27773         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27774         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27775         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27776         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27777         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27778         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27779         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27780         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27781         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27782         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27783         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27784         to FP_CMP_Q.
27785         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27786         FP_CMP_Q.
27787         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27788         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27789         FP_CMP_EQ_Q.
27790         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27791         FP_CMP_Q.
27792         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27793         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27794         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27795         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27796         FP_CMP_EQ_Q.
27797         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27798         FP_CMP_Q.
27799         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27800         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27801         FP_CMP_EQ_Q.
27802         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27803         FP_CMP_Q.
27804         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27805         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27806         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27807         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27808         FP_CMP_EQ_Q.
27810         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27811         a subnormal result, set the underflow exception if trapping on
27812         underflow is enabled.
27813         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27814         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27815         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27816         redefine to 0.
27817         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27818         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27819         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27820         * soft-fp/extendxftf2.c (__extendxftf2): Use
27821         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27823         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27824         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27825         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27826         FP_HANDLE_EXCEPTIONS.
27827         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27828         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27829         FP_HANDLE_EXCEPTIONS.
27830         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27831         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27832         FP_HANDLE_EXCEPTIONS.
27833         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27834         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27835         FP_HANDLE_EXCEPTIONS.
27837 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27839         [BZ #14132]
27840         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27841         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27842         use INTUSE.
27843         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27844         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27845         Remove alias.
27846         (__adjtimex): Define using libc_hidden_ver.
27847         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27848         Remove declaration.
27849         (ntp_gettime): Call __adjtimex directly.
27850         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27851         Remove declaration.
27852         (ntp_gettimex): Call __adjtimex directly.
27853         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27854         __adjtimex_internal alias.
27856 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27858         [BZ #17460]
27859         * nscd/nscd.c (more_help): Rewrite list of tables collection
27860         using xstrdup and asprintf.
27862         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27864 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27865             Roland McGrath  <roland@hack.frob.com>
27867         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27868         (do_lookup_unique): ... local function 'enter' here; update callers.
27870 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27872         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27873         compat_symbol calls on [SHARED].
27874         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27875         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27876         Remove.
27877         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27878         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27879         (oldsetrlimit): Remove.
27880         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27882         (lchown): New syscall entry.
27883         (oldsetrlimit): Remove.
27884         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27886         (oldsetrlimit): Remove.
27887         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27889         [BZ #14138]
27890         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27891         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27892         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27893         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27894         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27895         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27896         (fchown): Likewise.
27897         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27898         (fchown): Likewise.
27899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27900         Likewise.
27902 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27904         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27905         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27906         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27907         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27908         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27909         Likewise.
27910         (__old_sem_post): Likewise.
27912 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27914         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27915         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27916         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27917         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27918         Use INLINE_VSYSCALL macro.
27919         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27920         __vdso_clock_gettime.
27921         * sysdeps/unix/sysv/linux/tile/init-first.c
27922         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27923         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27924         __vdso_clock_gettime.
27926         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27927         to set up frame more cleanly.
27929         * sysdeps/tile/memcmp.c: New file.
27931         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27933         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27934         * sysdeps/tile/tilegx/strcasestr.c: New file.
27935         * sysdeps/tile/tilegx/strnlen.c: New file.
27936         * sysdeps/tile/tilegx/strstr.c: New file.
27938         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27940 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27942         * nptl/tst-setuid3.c: Write errors to stdout.
27944 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27946         * elf/dl-deps.c
27947         (preload): New functions broken out of _dl_map_object_deps.
27948         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27950 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27952         [BZ #14138]
27953         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27954         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27956 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27958         * sysdeps/mips/strcmp.S: New.
27960 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #14138]
27963         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27964         (linkat): Likewise.
27965         (mkdirat): Likewise.
27966         (readlinkat): Likewise.
27967         (renameat): Likewise.
27968         (symlinkat): Likewise.
27969         (unlinkat): Likewise.
27970         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27971         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27972         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27973         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27974         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27975         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27976         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27978 2014-09-30  Will Newton  <will.newton@linaro.org>
27980         * math/math.h: Define long double math functions if
27981         _LIBC_TEST is defined.
27982         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27984         * localedata/Makefile: Move assignment to tests-special
27985         into an ifdef testing run-built-tests.
27986         * timezone/Makefile: Likewise.
27988 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27990         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27991         with $(BASH) not $(SHELL).
27993 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27994             Matthew LeGendre  <legendre1@llnl.gov>
27996         [BZ #17411]
27997         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27998         l_reloc_result.
28000 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28002         * stdio-common/printf_fp.c
28003         (hack_digit): New function, broken out of ...
28004         (__printf_fp): ... local function here.  Update call sites.
28005         hack_digit now takes an additional parameter that is a pointer
28006         to a struct of the referenced locals.  Those locals moved inside
28007         the struct and references updated.
28009 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28011         * aclocal.m4: Require autoconf 2.69.
28012         * configure: Regenerated.
28013         * sysdeps/aarch64/configure: Likewise.
28014         * sysdeps/alpha/configure: Likewise.
28015         * sysdeps/arm/armv7/configure: Likewise.
28016         * sysdeps/arm/configure: Likewise.
28017         * sysdeps/ia64/configure: Likewise.
28018         * sysdeps/mach/configure: Likewise.
28019         * sysdeps/mips/configure: Likewise.
28020         * sysdeps/s390/configure: Likewise.
28021         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28024         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28025         file.
28026         * sysdeps/ia64/configure.ac: Likewise.
28028 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28031         specify symbol version for ld.so.  Do not include entry for
28032         libpthread.
28033         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28034         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28035         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28037         [BZ #14171]
28038         * Makeconfig [$(build-shared) = yes]
28039         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28040         makefiles.
28041         [$(build-shared) = yes && $(soversions.mk-done) = t]
28042         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28043         [$(build-shared) = yes && $(soversions.mk-done) = t]
28044         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28045         to Makerules.
28046         [$(build-shared) = yes && $(soversions.mk-done) = t]
28047         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28048         here.
28049         [$(build-shared) = yes && $(soversions.mk-done) = t]
28050         (common-generated): Don't append gnu/lib-names.h and
28051         gnu/lib-names.stmp here.
28052         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28053         (lib-names-h-abi): New variable.
28054         [$(build-shared) = yes && $(soversions.mk-done) = t]
28055         (lib-names-stmp-abi): Likewise.
28056         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28057         abi-variants] (before-compile): Append
28058         $(common-objpfx)$(lib-names-h-abi).
28059         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28060         abi-variants] (common-generated): Append gnu/lib-names.h.
28061         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28062         abi-variants] (install-others-nosubdir): Depend on
28063         $(inst_includedir)/$(lib-names-h-abi).
28064         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28065         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28066         [$(build-shared) = yes && $(soversions.mk-done) = t]
28067         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28068         [$(build-shared) = yes && $(soversions.mk-done) = t]
28069         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28070         [$(build-shared) = yes && $(soversions.mk-done) = t]
28071         (common-generated): Append $(lib-names-h-abi) and
28072         $(lib-names-stmp-abi).
28073         * scripts/lib-names.awk: Do not handle multi being set.
28074         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28075         Remove variable.
28076         (abi-lp64_be-ld-soname): Likewise.
28077         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28078         Likewise.
28079         (abi-hard-ld-soname): Likewise.
28080         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28081         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28082         Remove variable.
28083         (abi-o32_hard-ld-soname): Likewise.
28084         (abi-o32_soft_2008-ld-soname): Likewise.
28085         (abi-o32_hard_2008-ld-soname): Likewise.
28086         (abi-n32_soft-ld-soname): Likewise.
28087         (abi-n32_hard-ld-soname): Likewise.
28088         (abi-n32_soft_2008-ld-soname): Likewise.
28089         (abi-n32_hard_2008-ld-soname): Likewise.
28090         (abi-n64_soft-ld-soname): Likewise.
28091         (abi-n64_hard-ld-soname): Likewise.
28092         (abi-n64_soft_2008-ld-soname): Likewise.
28093         (abi-n64_hard_2008-ld-soname): Likewise.
28094         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28095         Likewise.
28096         (abi-64-v2-ld-soname): Likewise.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28098         ld.so entries.
28099         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28100         variable.
28101         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28102         entry.
28103         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28104         variable.
28105         (abi-64-ld-soname): Likewise.
28106         (abi-x32-ld-soname): Likewise.
28107         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28108         entry.
28109         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28111 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28113         [BZ #14138]
28114         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28115         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28116         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28117         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28118         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28119         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28120         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28121         syscall entry for GLIBC_2.2 symbol version.
28122         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28123         Likewise.
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28125         (setrlimit): Likewise.
28126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28127         Likewise.
28129 2014-09-23  Will Newton  <will.newton@linaro.org>
28131         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28132         _LINUX_ARM_SYSDEP_H include guard too.
28133         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28134         define.
28136 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28138         * sysdeps/unix/sysv/linux/eventfd.c:
28139         Make first argument unsigned.
28140         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28141         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28143 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28145         [BZ #16852]
28146         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28147         * socket/sys/socket.h: Likewise.
28148         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28150 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28152         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28154 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28156         * time/tst-ftime.c: New test.
28157         * time/Makefile (tests): Add tst-ftime.
28159 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28161         * soft-fp/extended.h: Fix comment formatting.
28162         * soft-fp/op-1.h: Likewise.
28163         * soft-fp/op-2.h: Likewise.
28164         * soft-fp/op-4.h: Likewise.
28165         * soft-fp/op-8.h: Likewise.
28166         * soft-fp/op-common.h: Likewise.
28167         * soft-fp/soft-fp.h: Likewise.
28169         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28171 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28173         [BZ #6652]
28174         * Makeconfig (soversions-default-setname): Remove variable.
28175         ($(common-objpfx)soversions.i): Don't pass default_setname to
28176         soversions.awk.
28177         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28178         oldest_abi to abi-versions.awk.
28179         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28180         * config.make.in (oldest-abi): Remove variable.
28181         * configure.ac (--enable-oldest-abi): Remove configure option.
28182         * configure: Regenerated.
28183         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28184         text.
28185         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28186         * scripts/soversions.awk: Do not handle default_setname variable.
28187         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28188         variable.
28189         * sysdeps/mach/hurd/configure: Regenerated.
28190         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28191         variable.
28192         * sysdeps/unix/sysv/linux/configure: Regenerated.
28194 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28196         * elf/Makefile (CFLAGS-interp.c): Remove.
28197         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28198         path string.
28199         * elf/interp.c: Include generated runtime-linker.h
28201         * Makerules (lib%.so): Don't include $(+interp) in
28202         prerequisites.
28203         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28204         * dlfcn/eval.c: Remove file.
28206         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28207         macros.
28209         [BZ #17266]
28210         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28211         4.2 and newer.
28213         [BZ #17370]
28214         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28216 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217             Jakub Jelinek  <jakub@redhat.com>
28219         [BZ #17266]
28220         * libio/stdio.h: Check definition of __fortify_function
28221         instead of __extern_always_inline to include bits/stdio2.h.
28222         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28223         check if __extern_always_inline is defined.
28224         [__USE_MISC || __USE_XOPEN]: Likewise.
28225         [__USE_ISOC99] Likewise.
28226         * misc/sys/cdefs.h (__fortify_function): Define only if
28227         __extern_always_inline is defined.
28228         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28229         __extern_always_inline and __extern_inline only for g++-4.3
28230         and newer or a compatible gcc.
28232 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28234         [BZ #17371]
28235         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28236         last change to handle zero prefix length.
28238 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28241         _SC_REGEX_VERSION.
28243         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28244         _POSIX_RAW_SOCKETS.
28246 2014-09-13  Allan McRae  <allan@archlinux.org>
28248         * po/ru.po: Update Russian translation from translation project.
28250 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28252         * locale/programs/locale.c (show_locale_vars): Inline local function
28253         into its sole call site.  Clean up some style nits.
28254         (print_item): New function, broken out of ...
28255         (show_info): ... local function here.  Clean up style nits.
28257         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28258         out of ...
28259         (set_class_defaults): ... local function set_default here.
28260         Define set_default as a macro locally to pass constant parameters.
28261         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28262         rather than a shared local.
28264         * stdlib/rpmatch.c (try): New function, broken out of ...
28265         (rpmatch): ... local function here.  Also, prototypify definition.
28267 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28269         * scripts/soversions.awk: Do not handle configuration names.
28270         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28271         vendor and os variables to soversions.awk.
28272         * configure.ac: Do not modify gnu-* host_os.
28273         * configure: Regenerated
28274         * shlib-versions: Remove first column with configuration names.
28275         * nptl/shlib-versions: Likewise.
28276         * nptl_db/shlib-versions: Likewise.
28277         * sysdeps/hppa/shlib-versions: Likewise.
28278         * sysdeps/m68k/shlib-versions: Likewise.
28279         * sysdeps/mach/hurd/shlib-versions: Likewise.
28280         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28281         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28282         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28283         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28284         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28285         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28286         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28287         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28289         Likewise.
28290         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28291         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28292         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28293         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28294         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28295         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28296         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28297         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28300         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28302         Regenerated.
28303         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28305         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28307         * shlib-versions: Remove OS-specific entries.  Moved to files in
28308         sysdeps.
28309         * sysdeps/mach/hurd/shlib-versions: New file.
28310         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28312         * nptl/shlib-versions: Remove architecture-specific entries.
28313         Moved to files in sysdeps.
28314         * shlib-versions: Likewise.
28315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28316         file.
28317         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28318         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28319         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28320         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28322         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28323         (UDP_NO_CHECK6_RX): Likewise.
28325 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28327         * sysdeps/posix/sysconf.c (__sysconf): Spell
28328         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28330 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28332         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28333         loading.
28334         * iconv/Versions (__gconv_transliterate): Export for use from
28335         gconv modules.
28336         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28337         (struct __gconv_trans_data, __gconv_trans_fct,
28338         __gconv_trans_context_fct, __gconv_trans_query_fct,
28339         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28340         definitions.
28341         (struct __gconv_step_data): Remove __trans member.
28342         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28343         longer hidden.  Remove unused trans_data argument.
28344         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28345         (__gconv_translit_find): Remove declaration.
28346         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28347         prototype.
28348         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28349         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28350         trans_data argument.  Add hidden definition.
28351         (__gconv_translit_find): Remove.
28352         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28353         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28354         * iconv/skeleton.c: Remove transliteration initialization.
28355         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28356         __gconv_step_data initialization.
28357         * libio/iofwide.c (__libio_translit_): Remove.
28358         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28359         * wcsmbs/btowc.c (__btowc): Likewise.
28360         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28361         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28362         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28363         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28364         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28365         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28366         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28367         * wcsmbs/wctob.c (wctob): Likewise.
28369 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28371         [BZ #16194]
28372         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28373         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28374         register usage.
28375         * sysdeps/x86/Makefile: Adjust.
28377 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28378             Roland McGrath  <roland@hack.frob.com>
28380         * locale/weight.h: Add include guard.
28381         (findidx): Make static rather than auto; take new parameters
28382         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28383         * locale/weightwc.h: Likewise.
28384         * posix/fnmatch_loop.c
28385         (FCT): Change type of EXTRA from int32_t to wint_t.
28386         Don't include either header inside the function.
28387         Call FINDIDX rather than findidx, and pass new arguments.
28388         #undef FINDIDX at the end of the file.
28389         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28390         FINDIDX before including fnmatch_loop.c for the non-wide version.
28391         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28392         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28393         for the wide version.
28394         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28395         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28396         Pass new arguments to findidx.
28397         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28398         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28399         Don't #include it inside the function.  Pass new arguments to findidx.
28400         * posix/regex_internal.h
28401         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28402         (re_string_elem_size_at): Don't #include it inside the function.
28403         Pass new arguments to findidx.
28404         * string/strcoll_l.c: #include WEIGHT_H at top level.
28405         (get_next_seq): Don't #include it inside the function.
28406         Pass new arguments to findidx.
28407         (get_next_seq_nocache): Likewise.
28408         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28409         (STRXFRM): Don't #include it inside the function.
28410         Pass new arguments to findidx.
28412 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28414         [BZ #17344]
28415         * malloc/malloc.c (unlink): Turn asserts into a call to
28416         malloc_printerr.
28418 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28420         [BZ #17370]
28421         * libio/wfileops (do_ftell_wide): Free OUT.
28423 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28425         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28427 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28429         [BZ #17363]
28430         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28431         group if the current group is empty.
28433 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28435         * benchtests/bench-memset.c (test_main): Add more test from size
28436         from 32 to 512 bytes.
28437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28438         Add POWER8 memset object.
28439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28440         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28441         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28442         implementation.
28443         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28444         Likewise.
28445         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28446         multiarch POWER8 memset optimization.
28447         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28448         POWER8 memset optimization.
28450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28451         Remove bzero multiarch objects.
28452         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28453         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28454         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28455         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28456         Remove define.
28457         [__bzero]: Redefine to specific name.
28458         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28459         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28460         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28461         define.
28462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28463         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28465 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28467         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28468         warnings into errors.
28470         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28471         __cxa_thread_atexit_impl prototype.
28473 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28475         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28476         Fix capitalization of error message.
28478 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28480         * sysdeps/mips/preconfigure: Modify ABI tests.
28482 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28484         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28486 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28487             Carlos O'Donell  <carlos@systemhalted.org>
28489         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28490         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28491         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28492         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28493         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28494         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28495         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28496         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28497         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28498         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28502         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28504         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28508         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28510         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28511         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28512         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28513         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28514         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28515         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28516         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28517         Deconditionalize the code that was previously under [RESET_PID].
28518         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28519         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28520         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28521         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28522         include sysdep.h.
28524 2014-09-08  Allan McRae  <allan@archlinux.org>
28526         * version.h (RELEASE): Set to "development".
28527         (VERSION): Set to "2.20.90"
28529 2014-09-07  Allan McRae  <allan@archlinux.org
28531         * version.h (RELEASE): Set to "stable".
28532         (VERSION): Set to "2.20"
28533         * include/features.h (__GLIBC_MINOR__): Set to 20.
28535         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28536         Liebler.
28538         * po/ko.po: Update Korean translation from translation project.
28540 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28542         [BZ #17354]
28543         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28544         macro for handling signed relocations.
28546 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28548         [BZ #17325]
28549         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28550         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28551         assert.
28552         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28553         * iconvdata/ibm935.c (BODY): Likewise.
28554         * iconvdata/ibm937.c (BODY): Likewise.
28555         * iconvdata/ibm939.c (BODY): Likewise.
28556         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28557         assert.
28558         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28559         script.
28560         * iconvdata/run-iconv-test.sh: New test loop for checking for
28561         decoder crashers.
28563 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28566         libm_hidden_ver.
28568 2014-09-01  Allan McRae  <allan@archlinux.org>
28570         * po/eo.po: Update Esperanto translation from translation project.
28572         * po/ca.po: Update Catalan translation from translation project.
28574 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28576         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28577         __proc_dostop call.
28579 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28581         [BZ #17319]
28582         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28583         to call set_thread_area instead of hand written asm.
28584         (__NR_set_thread_area): Removed define.
28585         (TLS_FLAG_WRITABLE): Likewise.
28586         (__ASSUME_SET_THREAD_AREA): Remove check.
28587         (TLS_EBX_ARG): Remove define.
28588         (TLS_LOAD_EBX): Likewise.
28590 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28592         Simplify atomicity of socket creation in bind.
28594         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28595         looking up the name after linking the file.
28597 2014-08-27  Allan McRae  <allan@archlinux.org>
28599         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28601 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28603         [BZ #17187]
28604         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28605         trans_compare, open_translit, __gconv_translit_find):
28606         Remove module loading code.
28608 2014-08-26  Allan McRae  <allan@archlinux.org>
28610         * po/vi.po: Update Vietnamese translation from translation project.
28612         * po/uk.po: Update Ukrainian translation from translation project.
28614         * po/fr.po: Update French translation from translation project.
28616         * po/ru.po: Update Russian translation from translation project.
28618         * po/pl.po: Update Polish translation from translation project.
28620         * po/cs.po: Update Czech translation from translation project.
28622         * po/de.po: Update German translation from translation project.
28624         * po/bg.po: Update Bulgarian translation from translation project.
28626         * po/sv.po: Update Sweedish translation from translation project.
28628         * po/nl.po: Update Dutch translation from translation project.
28630         * po/es.po: Update Spanish translation from translation project.
28632 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28634         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28636         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28637         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28638         (CPPFLAGS-iconvconfig): Likewise.
28639         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28641         * include/libc-symbols.h: Remove unnecessary check for
28642         NOT_IN_libc.
28643         * nptl/pthreadP.h: Likewise.
28644         * sysdeps/aarch64/setjmp.S: Likewise.
28645         * sysdeps/alpha/setjmp.S: Likewise.
28646         * sysdeps/arm/sysdep.h: Likewise.
28647         * sysdeps/i386/setjmp.S: Likewise.
28648         * sysdeps/m68k/setjmp.c: Likewise.
28649         * sysdeps/posix/getcwd.c: Likewise.
28650         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28651         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28652         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28653         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28654         * sysdeps/sh/sh3/setjmp.S: Likewise.
28655         * sysdeps/sh/sh4/setjmp.S: Likewise.
28656         * sysdeps/unix/alpha/sysdep.h: Likewise.
28657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28659         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28660         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28668         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28670         * sysdeps/x86_64/setjmp.S: Likewise.
28672 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #17263]
28675         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28676         <stdint.h>.
28677         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28678         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28680 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28682         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28684         [BZ #17262]
28685         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28686         and __x86_64__ when disabling x87 inline functions.
28688 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28690         [BZ #17259]
28691         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28692         asm statement with __cpuid_count.
28694 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28696         * configure.ac: Change __ehdr_start code to dereference the struct.
28697         Run readelf on the output to look for relocations.
28698         * configure: Regenerated.
28700 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #17261]
28703         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28704         value to 0.
28705         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28707 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28709         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28711 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28713         [BZ #16892]
28714         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28715         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28717 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28719         * malloc/malloc.c: Fix typo in comment.
28721 2014-08-09  Allan McRae  <allan@archlinux.org>
28723         * Regenerate libc.po.
28725 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28727         * intl/tst-gettext2.sh: Check every lang file for creation.
28729 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28731         * sysdeps/aarch64/fpu/math_private.h
28732         (libc_feholdsetround_noex_aarch64_ctx): New function.
28734 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28736         * sysdeps/arm/armv6/strcpy.S (strcpy):
28737         Fix performance issue in misaligned cases.
28739 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28741         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28742         Move definition from termios.h.
28743         (struct termio): Likewise.
28744         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28745         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28746         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28747         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28748         Likewise.
28749         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28750         Move definition to ioctl-types.h
28751         (struct termio): Likewise.
28752         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28753         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28754         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28755         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28756         Likewise.
28758 2014-08-05  Richard Henderson  <rth@redhat.com>
28760         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28761         exceptions.
28762         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28763         Add fraiseexcpt.
28764         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28765         Use __feraiseexcept.
28766         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28767         Protect libm symbols with IS_IN_libm.
28769         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28771 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28773         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28775 2014-08-04  Will Newton  <will.newton@linaro.org>
28777         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28778         file.
28780 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28782         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28783         variants for each function.
28785 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28787         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28788         appended ...
28789         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28790         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28791         appended ...
28792         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28793         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28794         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28795         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28796         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28797         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28798         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28799         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28800         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28801         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28802         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28803         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28804         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28805         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28806         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28807         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28808         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28809         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28810         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28811         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28812         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28813         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28815         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28816         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28817         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28818         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28819         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28820         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28821         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28822         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28823         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28824         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28828         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28829         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28830         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28831         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28834         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28836         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28838         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28840         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28842         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28843         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28844         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28845         Update #include.
28846         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28847         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28851         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28852         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28854         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28855         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28856         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28858 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28860         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28861         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28862         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28863         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28867         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28868         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28869         (__libc_vfork): Define function under this name.
28870         (__vfork): Define as an alias.
28871         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28872         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28874 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28876         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28877         that was previously under [RESET_PID].
28878         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28880 2014-08-04  Andreas Schwab  <schwab@suse.de>
28882         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28884 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28886         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28887         (main): Likewise.
28889 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28891         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28893 2014-08-01  Richard Henderon  <rth@redhat.com>
28895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28896         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28897         typo in exact zero test.
28898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28899         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28902 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28904         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28905         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28906         * sysdeps/arm/sysdep.h: ... here.
28907         [!__ASSEMBLER__]: Include <stdint.h>.
28909 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28911         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28912         (HAVE_WCTYPE_H): Likewise.
28913         (HAVE_ISWCTYPE): Likewise.
28914         (ENABLE_NLS): Likewise.
28915         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28916         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28918         * posix/regex_internal.c: Check if DEBUG is defined and is
28919         set.
28921         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28922         (HAVE_MBSRTOWCS): Likewise.
28923         * posix/fnmatch.c: Include string.h unconditionally.
28925 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28927         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28928         reversal.
28930 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28932         * sysdeps/generic/safe-fatal.h: New file.
28933         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28934         * nptl/forward.c: Include it.
28935         (__pthread_unwind): Use __safe_fatal as default action, rather
28936         than a bogus use of INTERNAL_SYSCALL that could never work.
28938         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28939         * configure.ac (libc_cv_builtin_trap): New test.
28940         * configure: Regenerated.
28941         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28942         (ABORT_INSTRUCTION): Define using __builtin_trap.
28944         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28945         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28946         * sysdeps/nptl/nptl-signals.h: New file.
28947         * nptl/pthreadP.h: Include <nptl-signals.h>.
28949 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28951         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28952         (ONE_DIRECTION): Define.
28953         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28954         (ONE_DIRECTION): Define.
28955         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28956         (ONE_DIRECTION): Define.
28958 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28960         * sysdeps/s390/Makefile: Delete file.
28961         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28962         * sysdeps/s390/__longjmp.c: Delete file.
28963         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28964         Remove fields __flags and __reserved.
28965         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28966         and add versioning.
28967         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28968         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28969         * sysdeps/s390/rtld-setjmp.S: Likewise.
28970         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28971         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28972         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28973         * sysdeps/s390/s390-32/setjmp.S: ... here.
28974         Add versioning.
28975         (__sigsetjmp): Remove setting __flags field.
28976         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28977         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28978         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28979         * sysdeps/s390/s390-64/setjmp.S: ... here.
28980         Add versioning.
28981         (__sigsetjmp): Remove setting __flags field.
28982         * sysdeps/s390/setjmp.S: Delete file.
28983         * sysdeps/s390/sigjmp.c: Likewise.
28984         * sysdeps/s390/v1-longjmp.c: Likewise.
28985         * sysdeps/s390/v1-setjmp.h: Likewise.
28986         * sysdeps/s390/v1-sigjmp.c: Likewise.
28987         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28988         Remove v1-longjmp_chk.
28989         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28990         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28991         Include debug/longjmp_chk.c and add versioning.
28992         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28993         Include nptl/pt-longjmp.c and add versioning.
28994         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28995         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28996         Include __longjmp.c.
28997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28998         Move to ...
28999         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29000         (__getcontext): Remove setting __flags field.
29001         Add versioning.
29002         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29003         Don't restore upper high grps.
29004         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29005         Likewise.
29006         (__swapcontext): Remove setting uc_flags field.
29007         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29008         Delete file.
29009         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29010         Include __longjmp.c.
29011         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29012         Move to ...
29013         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29014         (__getcontext): Remove setting __flags field.
29015         Add versioning.
29016         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29017         (__swapcontext): Remove setting uc_flags field.
29018         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29019         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29020         Remove fields uc_high_gprs and __reserved.
29021         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29022         New file with reverted content.
29023         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29024         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29025         Regenerated.
29026         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29027         Regenerated.
29029 2014-07-31  Andreas Schwab  <schwab@suse.de>
29031         * config.h.in (HAVE_IFUNC): Define to 0.
29032         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29033         definedness.
29035 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29038         memmove-avx-unaligned, memcpy-avx-unaligned and
29039         mempcpy-avx-unaligned.
29040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29041         Add tests for AVX memcpy functions.
29042         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29043         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29044         memcpy_chk.
29045         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29046         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29047         memmove_chk.
29048         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29049         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29050         mempcpy_chk.
29051         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29052         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29053         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29055 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29057         [BZ #17213]
29058         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29059         powerpc64le.
29061 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29063         [BZ #16839]
29064         * manual/llio.texi: Add section about open file description locks.
29065         * manual/examples/ofdlocks.c: Example of open file description
29066         lock usage.
29067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29068         F_OFD_SETLK, and F_OFD_SETLKW.
29070 2014-07-23  Allan McRae  <allan@archlinux.org>
29072         * po/es.po: Update Spanish translation from translation project.
29074 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29076         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29078 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29080         [BZ #17078]
29081         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29082         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29083         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29085 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29087         [BZ #17088]
29088         * math/fesetenv.c (__fesetenv)
29089         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29090         * math/feupdateenv.c (__feupdateenv)
29091         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29093         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29094         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29095         (__ASSUME_SOCKETCALL): Do not define.
29097         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29098         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29099         (__ASSUME_SOCKETCALL): Do not define.
29100         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29101         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29102         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29103         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29104         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29105         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29106         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29107         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29109         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29110         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29111         (__ASSUME_SOCKETCALL): Do not define.
29112         (__ASSUME_IPC64): Define unconditionally.
29113         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29114         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29115         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29116         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29117         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29118         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29119         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29120         Likewise.
29122         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29123         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29124         (__ASSUME_SOCKETCALL): Do not define.
29125         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29126         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29127         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29128         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29129         (__ASSUME_REQUEUE_PI): Define unconditionally.
29130         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29131         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29132         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29133         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29135         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29137         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29138         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29139         (__ASSUME_SOCKETCALL): Do not define.
29140         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29141         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29142         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29143         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29145         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29147         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29148         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29149         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29150         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29152         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29153         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29154         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29155         (__ASSUME_GETCPU_SYSCALL): Likewise.
29157         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29158         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29159         cases for individual architectures.
29160         * sysdeps/gnu/configure: Regenerated.
29161         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29162         LIBC_SLIBDIR_RTLDDIR.
29163         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29164         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29165         LIBC_SLIBDIR_RTLDDIR.
29166         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29168         LIBC_SLIBDIR_RTLDDIR.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29170         Regenerated.
29171         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29172         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29173         file.
29174         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29175         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29176         file.
29177         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29178         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29179         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29180         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29182         * sysdeps/aarch64/shlib-versions: Move to ...
29183         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29184         * sysdeps/alpha/shlib-versions: Move to ...
29185         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29186         * sysdeps/arm/shlib-versions: Move to ...
29187         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29188         * sysdeps/hppa/shlib-versions: Move all contents except for
29189         libgcc_s entry to ...
29190         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29191         entry from ...
29192         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29193         * sysdeps/ia64/shlib-versions: Move to ...
29194         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29195         entry from ...
29196         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29197         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29198         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29199         * sysdeps/microblaze/shlib-versions: Move to ...
29200         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29201         * sysdeps/mips/shlib-versions: Move to ...
29202         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29203         entry from ...
29204         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29205         * sysdeps/tile/shlib-versions: Move to ...
29206         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29207         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29208         from ...
29209         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29210         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29211         entry from ...
29212         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29214 2014-07-17  Will Newton  <will.newton@linaro.org>
29216         * sysdeps/arm/bits/atomic.h
29217         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29218         (__arch_compare_and_exchange_bool_16_int): Likewise.
29219         (__arch_compare_and_exchange_bool_64_int): Likewise.
29221         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29222         into an #else block.
29224 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29226         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29227         just Linux configurations.  Test empirically that the compiler sets
29228         __ARM_EABI__, rather than using the tuple to decide.
29229         * sysdeps/arm/preconfigure: Regenerated.
29230         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29231         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29232         contents appended ...
29233         * sysdeps/arm/configure.ac: ... here.
29234         * sysdeps/arm/configure: Regenerated.
29236 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29238         * nptl/pthread_kill.c: New file.
29239         * nptl/pthread_sigmask.c: New file.
29240         * nptl/pthread_sigqueue.c: New file.
29242         * sysdeps/nptl/lowlevellock.h: New file.
29243         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29244         * sysdeps/nptl/lowlevellock-futex.h: New file.
29246         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29247         Remove dead declarations.
29249 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29251         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29252         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29253         config-cflags-avx2.
29254         * sysdeps/x86_64/configure.ac: Likewise.
29255         * sysdeps/i386/configure: Regenerated.
29256         * sysdeps/x86_64/configure: Likewise.
29257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29258         memset-avx2 only if config-cflags-avx2 is yes.
29259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29260         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29261         defined.
29262         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29263         only if HAVE_AVX2_SUPPORT is defined.
29264         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29266 2014-07-14  Alan Modra  <amodra@gmail.com>
29268         [BZ #17153]
29269         * elf/elf.h (DT_PPC64_NUM): Correct value.
29270         * NEWS: Add to fixed bug list.
29272 2014-07-13  Jim Meyering  <meyering@fb.com>
29274         [BZ 17150]
29275         regex: don't deref NULL upon heap allocation failure
29276         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29277         failure in one more place.
29278         To trigger the segfault, configure grep -with-included-regex,
29279         build it, and run these commands:
29280         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29282 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29286 2014-07-11  Richard Henderson  <rth@redhat.com>
29288         * sysdeps/aarch64/libm-test-ulps: Update.
29290 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29292         [BZ #17135]
29293         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29294         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29295         (__nptl_setxid): Initialize error member.  Call
29296         __nptl_setxid_error.
29297         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29298         * nptl/descr.h (struct xid_command): Add error member.
29299         * nptl/tst-setuid3.c: New file.
29300         * nptl/Makefile (tests): Add it.
29302 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29304         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29305         New define.
29306         (__lll_trylock): Use __lll_base_trylock.
29307         (__lll_cond_trylock): Likewise.
29309 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29311         * nptl/pthread_create.c (start_thread): Use atomic_or and
29312         lll_futex_wake directly rather than lll_robust_dead.
29313         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29314         (lll_robust_dead): Macro removed.
29315         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29316         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29317         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29318         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29319         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29320         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29321         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29322         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29323         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29325         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29326         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29327         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29328         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29331         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29332         Use atomic_compare_and_exchange_val_acq directly rather than
29333         lll_robust_trylock.
29334         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29335         (__lll_robust_trylock, lll_robust_trylock): Removed.
29336         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29337         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29338         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29339         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29340         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29341         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29342         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29343         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29344         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29345         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29346         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29347         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29349         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29351 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29353         * manual/locale.texi (Locale Names): New section documenting
29354         locale name syntax.  Adjust menu and node chaining accordingly.
29355         (Choosing Locale): Reference Locale Names, Locale Categories.
29356         Mention setting LC_ALL=C.  Reflect that name syntax is now
29357         documented.
29358         (Locale Categories): New section title.  Reference Locale Names.
29359         LC_ALL is an environment variable, but not a category.
29360         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29361         description, now in Locale Name.  Reference that section.  Locale
29362         name syntax is now documented.
29364 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29366         [BZ #17137]
29367         * locale/findlocale.c (name_present, valid_locale_name): New
29368         functions.
29369         (_nl_find_locale): Use the loc_name variable to store name
29370         candidates.  Call name_present and valid_locale_name to check and
29371         validate locale names.  Return an error if the locale is invalid.
29373 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29375         * locale/setlocale.c (setlocale): Use strdup for allocating
29376         composite name copy.
29378 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29380         Sync up with gnulib.
29381         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29382         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29383         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29384         and _GL_ARG_NONNULL.
29385         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29386         [!_LIBC]: Include code for Windows and Cygwin.
29387         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29388         Include prototype for int strerror_r.
29389         [!_LIBC] (is_open): New function.
29390         (flush_stdout): New function.
29391         (print_errno_message): Use it.
29392         (error): Likewise.
29393         (error_at_line): Likewise.
29394         (error_tail) Add function attribute macros.  Use
29395         __builtin_expect.
29397         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29399         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29401         * io/ftw.c: Include sys/param.h unconditionally.
29403         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29405         [BZ #17125]
29406         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29407         libc_freeres_ptr.
29408         (freecache): New function to free CACHE on exit.
29410         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29411         initialization.
29413 2014-07-09  David S. Miller  <davem@davemloft.net>
29415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29417         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29418         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29419         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29420         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29421         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29422         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29423         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29424         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29425         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29426         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29427         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29428         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29429         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29431 2014-07-09  Andreas Schwab  <schwab@suse.de>
29433         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29434         output.
29435         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29436         (do_test): Likewise.
29438         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29440 2014-07-09  Will Newton  <will.newton@linaro.org>
29442         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29443         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29444         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29445         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29446         * sysdeps/hppa/start.S (_start): Likewise.
29448 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29450         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29452         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29453         defined.
29455 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29457         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29458         after checking that it is non-NULL.
29460         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29462 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29464         * sysdeps/powerpc/memmove.c: Remove file.
29465         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29466         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29468         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29470         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29471         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29472         string memmove instead of removed powerpc one.
29474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29475         [weak_alias]: Fix compiler warning due trailing data.
29476         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29477         [weak_alias]: Likewise.
29478         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29479         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29482         (__libc_ifunc_impl_list): Add memmove functions.
29484 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29486         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29487         Remove code.
29488         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29489         Likewise.
29490         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29491         Likewise.
29492         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29493         Likewise.
29494         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29495         Likewise.
29496         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29497         Likewise.
29498         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29499         Likewise.
29500         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29501         Likewise.
29502         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29503         Likewise.
29504         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29505         Likewise.
29506         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29507         Likewise.
29508         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29509         Likewise.
29510         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29511         Likewise.
29512         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29513         Likewise.
29514         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29515         Likewise.
29516         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29517         Likewise.
29518         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29519         Likewise.
29521 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29523         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29524         to avoid alignment traps in non-cacheable memory.
29525         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29528         multiarch objects.
29529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29530         file: multiarch power7 memmove.
29531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29532         multiarch default memmove.
29533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29534         multiarch memove for powerpc32/power4.
29536         * string/bcopy.c: Use full path to include memmove.c.
29537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29538         multiarch objects.
29539         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29540         bcopy for powerpc64.
29541         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29542         bcopy for powerpc64.
29543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29544         and memmove implementations.
29545         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29546         optimized multiarch memmove for POWER7/powerpc64.
29547         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29548         default multiarch memmove for powerpc64.
29549         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29550         multiarch for powerpc64.
29551         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29552         for POWER7/powerpc64.
29553         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29554         memmove for POWER7/powerpc64.
29556         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29557         glibc default one.
29559         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29560         __ELF_NATIVE_CLASS equal to 64.
29562 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29564         * sysdeps/nptl/lowlevellock.h: File removed.
29566         * NEWS: NPTL is no longer an add-on!
29567         * nptl/internaltypes.h: Moved ...
29568         * sysdeps/nptl/internaltypes.h: ... here.
29569         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29570         * sysdeps/nptl/fork.c: Likewise.
29571         * sysdeps/nptl/gai_misc.h: Likewise.
29572         * sysdeps/nptl/librt-cancellation.c: Likewise.
29573         * sysdeps/nptl/jmp-unwind.c: Likewise.
29574         * sysdeps/nptl/setxid.h: Likewise.
29575         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29576         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29577         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29578         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29579         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29580         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29581         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29582         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29583         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29584         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29585         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29586         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29587         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29588         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29589         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29590         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29591         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29592         * nptl/Makeconfig: Moved ...
29593         * sysdeps/nptl/Makeconfig: ... here.
29594         * nptl/configure: File removed.
29595         * nptl/ANNOUNCE: File removed.
29596         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29597         * sysdeps/unix/sysv/linux/configure: Regenerated.
29599         * nptl/Makefile (routines): Add libc_pthread_init,
29600         libc_multiple_threads, register-atfork and unregister-atfork.
29601         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29602         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29603         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29604         pthread-pi-defines.sym, structsem.sym.
29605         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29606         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29607         [$(subdir) = nptl] (tests): Add tst-setgetname.
29608         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29609         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29610         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29611         [!LIBC_SIGACTION]: Remove aliases.
29612         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29613         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29614         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29615         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29616         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29617         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29618         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29619         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29620         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29621         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29622         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29623         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29624         __libc_allocate_rtsig_private.
29625         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29626         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29627         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29628         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29629         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29630         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29631         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29632         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29633         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29634         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29635         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29636         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29637         * nptl/internaltypes.h: ... here.
29638         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29639         * sysdeps/nptl/jmp-unwind.c: ... here.
29640         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29641         * nptl/libc-lowlevellock.c: ... here.
29642         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29643         * nptl/libc_multiple_threads.c: ... here.
29644         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29645         * nptl/libc_pthread_init.c: ... here.
29646         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29647         * nptl/lowlevelbarrier.sym: ... here.
29648         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29649         * nptl/lowlevelcond.sym: ... here.
29650         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29651         * nptl/lowlevellock.c: ... here.
29652         * nptl/lowlevellock.h: Moved ...
29653         * sysdeps/nptl/lowlevellock.h: ... here.
29654         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29655         * nptl/lowlevelrobustlock.c: ... here.
29656         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29657         * nptl/lowlevelrobustlock.sym: ... here.
29658         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29659         * nptl/lowlevelrwlock.sym: ... here.
29660         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29661         * nptl/pt-fork.c: ... here.
29662         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29663         * nptl/pthread-pi-defines.sym: ... here.
29664         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29665         * nptl/pthread_attr_getaffinity.c: ... here.
29666         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29667         * nptl/pthread_attr_setaffinity.c: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29669         * nptl/pthread_mutex_cond_lock.c: ... here.
29670         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29671         Update #include.
29672         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29673         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29674         * nptl/pthread_once.c: ... here, replacing old file.
29675         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29676         * nptl/pthread_yield.c: ... here.
29677         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29678         * nptl/register-atfork.c: ... here.
29679         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29680         * nptl/sem_post.c: ... here.
29681         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29682         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29683         * nptl/sem_timedwait.c: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29685         * nptl/sem_trywait.c: ... here.
29686         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29687         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29688         * nptl/sem_wait.c: ... here.
29689         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29690         * nptl/structsem.sym: ... here.
29691         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29692         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29693         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29694         * nptl/unregister-atfork.c: ... here.
29695         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29696         * nptl/unwindbuf.sym: ... here.
29697         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29698         * sysdeps/nptl/fork.c: ... here.
29699         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29700         * sysdeps/nptl/fork.h: ... here.
29701         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29702         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29703         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29704         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29705         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29707         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29709         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29710         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29711         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29713         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29714         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29715         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29716         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29717         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29718         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29719         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29720         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29721         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29722         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29723         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29724         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29725         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29726         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29727         * sysdeps/unix/sysv/linux/raise.c: ... here.
29728         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29729         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29730         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29731         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29732         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29733         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29735         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29737         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29738         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29739         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29741         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29742         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29744 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29746         * sysdeps/generic/memcopy.h: Add comment for
29747         MEMCPY_OK_FOR_FWD_MEMMOVE.
29749 2014-07-04  Will Newton  <will.newton@linaro.org>
29751         * string/memchr.c: Merge from gnulib.
29752         [_LIBC]: Remove conditionals.
29753         (__ptr_t): Remove define.
29754         (LONG_MAX_32_BITS): Likewise.
29755         (LONG_MAX): Likewise.
29756         (MEMCHR): Use ANSI prototype and optimize algorithm.
29758         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29760 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29762         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29763         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29765         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29766         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29767         in a bare environment with no <stdlib.h> installed.
29768         * sysdeps/nptl/configure: Regenerated.
29770         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29772         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29773         AC_EGREP_CPP for kernel header checks, so they only succeed if
29774         including <linux/version.h> actually works right.
29775         * sysdeps/unix/sysv/linux/configure: Regenerated.
29777         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29778         value so it's not diagnosed as unused.
29780         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29781         thing) with "ifeq ($(subdir),rt)".
29783 2014-07-03  Richard Henderson  <rth@redhat.com>
29785         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29786         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29787         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29789         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29790         (math_force_eval): New.
29792         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29793         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29795         * sysdeps/alpha/fpu/s_round.c: Remove file.
29796         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29798         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29799         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29800         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29801         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29802         (_dl_start, print_statistics): Likewise.
29803         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29804         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29806         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29807         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29808         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29809         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29811         (HP_SMALL_TIMING_AVAIL): Define.
29812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29814         (HP_SMALL_TIMING_AVAIL): Define.
29815         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29816         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29818         * sysdeps/aarch64/hp-timing.h: New file.
29820         * sysdeps/generic/hp-timing.h: Remove dead comment.
29821         * sysdeps/generic/hp-timing-common.h: New file.
29822         * sysdeps/alpha/hp-timing.h: Include it.
29823         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29824         * sysdeps/i386/i686/hp-timing.h: Likewise.
29825         * sysdeps/ia64/hp-timing.h: Likewise.
29826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29827         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29828         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29829         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29830         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29831         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29832         (hp_timing_t): New.
29834         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29835         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29836         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29837         * elf/rtld.c (_dl_start_final): Likewise.
29838         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29839         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29840         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29841         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29842         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29844         (HP_TIMING_DIFF_INIT): Remove.
29845         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29846         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29847         (HP_TIMING_DIFF_INIT): Remove.
29848         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29849         * sysdeps/i386/i686/hp-timing.c: Remove file.
29850         * sysdeps/x86_64/hp-timing.c: Remove file.
29851         * sysdeps/ia64/hp-timing.c: Remove file.
29852         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29853         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29855         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29857         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29858         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29859         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29860         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29861         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29862         (HP_TIMING_ACCUM): Remove.
29863         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29865         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29867         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29868         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29869         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29870         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29872         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29873         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29874         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29876         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29878 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29880         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29882 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29884         Sync up with gettext.
29885         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29886         [_MSC_VER]: Include malloc.h
29887         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29888         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29889         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29890         TEMP_FAILURE_RETRY.  Cast return of alloca.
29891         [!_LIBC] Call gl_rwlock_init.
29892         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29894 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29896         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29897         before checking its value.
29899 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29901         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29903         * debug/memcpy_chk.c: Don't include pagecopy.h.
29904         * debug/mempcpy_chk.c: Likewise.
29905         * string/memcpy.c: Likewise.
29906         * string/memmove.c: Likewise.
29907         * sysdeps/powerpc/memmove.c: Likewise.
29908         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29909         definition of PAGE_COPY_FWD_MAYBE here...
29910         * sysdeps/generic/pagecopy.h: ... from here.
29911         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29913 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29916         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29918         optimizations.
29919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29920         (__libc_ifunc_impl_list): Likewise.
29921         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29922         multiarch strcat for PPC64.
29923         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29924         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29926 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29928         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29930 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932         * intl/loadmsgcat.c: Remove declaration of
29933         get_sysdep_segment_value.
29934         (get_sysdep_segment_value): Use ISO C style.
29935         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29936         semicolon.  Fix typo and formatting in comment.
29937         (_nl_unload_domain): Use ISO C style.
29939         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29941 2014-07-02  Will Newton  <will.newton@linaro.org>
29943         * malloc/obstack.c: Merge from gnulib master.
29944         [HAVE_CONFIG_H]: Remove conditional code.
29945         [!_LIBC]: Include config.h.
29946         [!ELIDE_CODE]: Don't include inttypes.h, include
29947         stdint.h unconditionally.
29948         (print_and_abort): Mark as _Noreturn.
29949         (_obstack_allocated_p): Mark as __attribute_pure__.
29950         (obstack_free): Rename to __obstack_free.
29951         [!__attribute__]: Remove conditional code.
29952         * malloc/obstack.h: Merge from gnulib master.
29953         [__cplusplus]: Move conditional down.
29954         [!__attribute_pure__]: Define __attribute_pure__ here
29955         if it is not already defined.
29956         (_obstack_memory_used): Mark as __attribute_pure__.
29957         [!__obstack_free]: Define as obstack_free.
29958         [__GNUC__]: Remove check for ancient NeXT gcc.
29960 2014-07-02  Will Newton  <will.newton@linaro.org>
29961             Paul Eggert  <eggert@cs.ucla.edu>
29963         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29965 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29967         * resolv/gethnamaddr.c: Add comment warning that the file is
29968         not maintained.
29970 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29972         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29973         entries.
29975         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29976         entry for aio_cancel and aio_cancel64.
29977         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29978         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29979         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29980         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29981         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29982         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29984         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29985         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29986         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29987         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29988         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29989         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29991 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29993         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29994         * nptl/pthread_mutex_lock.c: Likewise.
29995         * nptl/pthread_mutex_timedlock.c: Likewise.
29996         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29998 2014-07-01  Richard henderson  <rth@redhat.com>
30000         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30001         (__isnan, __isnanl): Remove.
30002         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30004         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30006 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30010 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         * resolv/nss_dns/dns-host.c (getanswer_r)
30013         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30015 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30018         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30019         undefine.
30020         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30021         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30023 2014-07-01  Roland McGrath <roland@hack.frob.com>
30025         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30026         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30028         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30029         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30031         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30032         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30033         ... here.
30034         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30035         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30037         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30038         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30039         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30040         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30042         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30043         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30044         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30045         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30046         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30047         Moved ...
30048         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30049         ... here.
30050         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30051         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30053         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30054         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30055         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30056         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30057         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30058         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30059         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30060         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30061         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30062         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30063         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30064         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30065         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30066         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30067         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30068         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30069         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30070         ... here.
30071         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30072         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30073         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30074         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30075         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30076         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30077         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30078         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30080 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30082         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30083         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30084         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30085         Add sysdep.
30087 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30091 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30093         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30094         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30096         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30098         * sysdeps/arm/libm-test-ulps: Regenerated.
30100 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30101             Roland McGrath <roland@hack.frob.com>
30103         * test-skeleton.c (signal_handler): Kill the whole process group
30104         before killing the child individually.
30105         (main): Report any failure on `setpgid'.
30107 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30109         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30110         from _TLS_H to _ARM_NPTL_TLS_H.
30111         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30112         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30114 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30116         [BZ #16539]
30117         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30118         (__expm1l): Return argument unchanged when small but not
30119         subnormal.
30121         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30122         include macro name.
30123         (_FP_UNPACK_RAW_1_P): Likewise.
30124         (_FP_PACK_RAW_1): Likewise.
30125         (_FP_PACK_RAW_1_P): Likewise.
30126         (_FP_MUL_MEAT_1_wide): Likewise.
30127         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30128         (_FP_MUL_MEAT_1_hard): Likewise.
30129         (_FP_DIV_MEAT_1_imm): Likewise.
30130         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30131         (_FP_DIV_MEAT_1_udiv): Likewise.
30132         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30133         (_FP_UNPACK_RAW_2): Likewise.
30134         (_FP_UNPACK_RAW_2_P): Likewise.
30135         (_FP_PACK_RAW_2): Likewise.
30136         (_FP_PACK_RAW_2_P): Likewise.
30137         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30138         (_FP_MUL_MEAT_2_wide): Likewise.
30139         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30140         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30141         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30142         (_FP_MUL_MEAT_2_gmp): Likewise.
30143         (_FP_DIV_MEAT_2_udiv): Likewise.
30144         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30145         (_FP_FRAC_SRL_4): Likewise.
30146         (_FP_FRAC_SRST_4): Likewise.
30147         (_FP_FRAC_SRS_4): Likewise.
30148         (_FP_UNPACK_RAW_4): Likewise.
30149         (_FP_UNPACK_RAW_4_P): Likewise.
30150         (_FP_PACK_RAW_4): Likewise.
30151         (_FP_PACK_RAW_4_P): Likewise.
30152         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30153         (_FP_MUL_MEAT_4_wide): Likewise.
30154         (_FP_MUL_MEAT_4_gmp): Likewise.
30155         (umul_ppppmnnn): Likewise.
30156         (_FP_DIV_MEAT_4_udiv): Likewise.
30157         (__FP_FRAC_ADD_4): Likewise.
30158         (__FP_FRAC_SUB_3): Likewise.
30159         (__FP_FRAC_SUB_4): Likewise.
30160         (__FP_FRAC_DEC_3): Likewise.
30161         (__FP_FRAC_DEC_4): Likewise.
30162         (__FP_FRAC_ADDI_4): Likewise.
30163         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30164         (_FP_FRAC_SRL_8): Likewise.
30165         (_FP_FRAC_SRS_8): Likewise.
30167         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30168         include macro name.
30169         (FP_UNPACK_RAW_EP): Likewise.
30170         (FP_PACK_RAW_E): Likewise.
30171         (FP_PACK_RAW_EP): Likewise.
30172         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30173         (_FP_ISSIGNAN): Likewise.
30174         (_FP_ADD_INTERNAL): Likewise.
30175         (_FP_FMA): Likewise.
30176         (_FP_CMP): Likewise.
30177         (_FP_SQRT): Likewise.
30178         (_FP_TO_INT): Likewise.
30179         (_FP_FROM_INT): Likewise.
30180         (FP_EXTEND): Likewise.
30181         (_FP_DIV_MEAT_N_loop): Likewise.
30183 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30185         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30186         throughout.
30188 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30190         [BZ #17097]
30191         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30192         result with correct sign in case of exponents that produce
30193         overflow except for X very close to 1.
30195 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30197         mktime: merge #if/#ifdef usage from glibc
30198         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30199         as that works with both Glibc's and Gnulib's style.
30200         See thread starting at Siddhesh Poyarekar's bug report at:
30201         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30203 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30205         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30206         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30207         * sysdeps/tile/tilegx/memmove.c: Remove file.
30209 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30211         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30212         abi-name definition.
30213         * scripts/soversions.awk: Do not handle or generate ABI lines.
30214         * shlib-versions: Remove ABI entries.
30215         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30216         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30218 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30221         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30222         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30223         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30225         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30227         Moved ...
30228         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30229         ... here.
30230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30231         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30233         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30235         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30237         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30239         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30241         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30243         Moved ...
30244         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30246         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30250         Moved ...
30251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30253         Moved ...
30254         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30258         Moved ...
30259         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30261         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30263         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30267         Moved ...
30268         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30270         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30271         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30272         Moved ...
30273         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30275         Moved ...
30276         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30278         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30280         Moved ...
30281         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30282         ... here.
30283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30284         Identical file removed.
30285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30286         Moved ...
30287         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30289         Identical file removed.
30290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30291         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30293         Moved ...
30294         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30296         Identical file removed.
30297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30298         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30300         Identical file removed.
30301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30302         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30304         Identical file removed.
30305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30306         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30308         Identical file removed.
30309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30310         Moved ...
30311         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30313         Identical file removed.
30314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30315         Moved ...
30316         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30317         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30318         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30320         Identical file removed.
30321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30322         Moved ...
30323         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30324         ... here.
30325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30326         Identical file removed.
30327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30328         Moved ...
30329         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30331         Identical file removed.
30332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30333         Moved ...
30334         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30340         Moved ...
30341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30342         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30343         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30345         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30346         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30347         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30348         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30349         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30351 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30353         [BZ #17092]
30354         * nscd/nscd.c (monitor_child): Return exit status of child
30355         instead of return value from wait syscall.
30357 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30359         * configure.ac (libc_commonpagesize): Remove variable.
30360         (libc_relro_required): Likewise.
30361         (libc_cv_z_relro): Remove configure test.
30362         * configure: Regenerated.
30363         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30364         variable.
30365         (libc_relro_required): Likewise.
30366         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30367         (libc_relro_required): Likewise.
30368         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30369         (libc_relro_required): Likewise.
30370         * sysdeps/arm/preconfigure: Regenerated.
30371         * sysdeps/ia64/preconfigure: Remove file.
30372         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30373         variable.
30374         (libc_relro_required): Likewise.
30376         [BZ #16561]
30377         [BZ #16562]
30378         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30379         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30380         recompute overflowing results in original rounding mode.
30381         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30382         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30383         recompute overflowing results in original rounding mode.
30384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30385         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30386         recompute overflowing results in original rounding mode.
30387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30388         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30389         recompute overflowing results in original rounding mode.
30390         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30391         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30392         recompute overflowing results in original rounding mode.
30393         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30394         (libc_feholdsetround_ctx): New macro.
30395         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30396         * sysdeps/i386/fpu/libm-test-ulps: Update.
30397         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30399 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30401         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30402         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30403         corresponding .cpsetup call.
30405 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30407         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30408         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30409         * sysdeps/arm/Makefile [$(subdir) = csu]
30410         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30411         (static-only-routines): Add aeabi_read_tp here.
30412         (shared-only-routines): Add libc-aeabi_read_tp here.
30413         (CFLAGS-libc-start.c): Add -fexceptions here.
30414         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30415         (sysdep_routines, static-only-routines, shared-only-routines):
30416         Don't add to these here.
30417         (CFLAGS-libc-start.c): Likewise.
30419         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30420         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30421         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30422         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30423         * sysdeps/arm/Makefile [$(subdir) = rt]
30424         (librt-sysdep_routines, librt-shared-only-routines):
30425         Append rt-aeabi_unwind_cpp_pr1 here.
30426         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30427         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30428         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30429         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30430         Append nptl-aeabi_unwind_cpp_pr1 here.
30431         (tests): Filter out tst-cleanupx4 here.
30432         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30433         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30434         Don't do those here.
30436 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30438         * scripts/list-sources.sh: Do not handle ports specially.
30440 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30442         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30443         * sysdeps/arm/feupdateenv.c: Likewise.
30445         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30447 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30449         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30450         trailing whitespace removed.
30451         * scripts/config.guess: Update to version 2014-03-23.
30452         * scripts/config.sub: Update to version 2014-05-01
30453         * scripts/install-sh: Update to version 2013-12-25.23.
30454         * scripts/move-if-change: Update from gnulib.
30456 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30458         * debug/memmove_chk.c: Remove pagecopy.h include.
30460 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30462         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30463         identical to gnulib mktime.
30465 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30467         * configure.ac: Do not test for machine being rs6000.  Do not test
30468         for powerpc*-*soft.
30469         * configure: Regenerated.
30471         [BZ #11505]
30472         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30473         test.
30474         * configure: Regenerated.
30475         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30476         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30477         Remove configure test.
30478         * sysdeps/arm/configure: Regenerated.
30479         * sysdeps/nptl/configure.ac: Do not check
30480         libc_cv_asm_cfi_directives.
30481         * sysdeps/nptl/configure: Regenerated.
30482         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30483         * sysdeps/x86_64/nptl/configure: Remove generated file.
30484         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30485         unconditional.
30486         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30488 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30491         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30492         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30493         it is defined.
30495         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30496         instead of whether it is defined.
30497         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30498         * sysdeps/hppa/dl-machine.h: Likewise.
30499         * sysdeps/ia64/dl-machine.h: Likewise.
30500         * sysdeps/m68k/dl-machine.h: Likewise.
30501         * sysdeps/microblaze/dl-machine.h: Likewise.
30502         * sysdeps/mips/dl-machine.: Likewise.
30503         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30505         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30506         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30507         * sysdeps/sh/dl-machine.h: Likewise.
30508         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30509         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30510         * sysdeps/tile/dl-machine.h: Likewise.
30511         * sysdeps/x86_64/dl-machine.h: Likewise.
30513         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30514         code.
30515         (verify_persistent_db): Likewise.
30517 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30520         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30522         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30528         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30530         Identical file removed.
30531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30532         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30538         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30545         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30547         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30549         Moved ...
30550         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30552         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30554         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30556         Identical file removed.
30557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30558         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30562         Moved ...
30563         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30564         ... here.
30565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30570         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30572         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30574         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30576         Moved ...
30577         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30579         Moved ...
30580         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30582         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30584         Moved ...
30585         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30587         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30590         folded into ...
30591         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30592         * sysdeps/unix/sysv/linux/s390/Versions
30593         (libpthread: GLIBC_2.19): New version set.
30594         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30595         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30596         (librt: GLIBC_2.3.3): New version set.
30597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30598         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30599         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30601         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30603         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30605         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30607         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30609         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30611         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30612         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30613         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30615         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30616         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30617         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30621         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30623         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30625         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30627         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30633         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30637         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30641         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30643         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30644         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30645         (__libc_vfork): Define the function under this name.
30646         [!NOT_IN_libc] (__vfork): Make this an alias.
30647         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30649         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30650         (__libc_vfork): Define the function under this name.
30651         [!NOT_IN_libc] (__vfork): Make this an alias.
30652         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30653         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30654         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30657         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30659         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30660         code that was previously under [RESET_PID].
30661         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30662         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30665         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30666         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30667         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30668         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30669         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30670         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30671         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30672         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30673         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30674         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30675         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30676         Moved ...
30677         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30678         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30679         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30680         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30681         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30682         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30683         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30684         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30685         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30686         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30687         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30688         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30689         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30690         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30691         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30692         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30693         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30694         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30695         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30696         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30697         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30698         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30699         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30700         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30701         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30702         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30703         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30705         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30707 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30709         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30710         that was previously under [RESET_PID].
30711         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30713 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30715         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30716         not undefine and redefine.
30717         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30718         [O_CLOEXEC]: Make code unconditional.
30719         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30720         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30721         <kernel-features.h>.
30722         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30723         conditional variable definition.
30724         (shm_open) [O_CLOEXEC]: Make code unconditional.
30725         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30726         code.
30728         * configure.ac (USE_REGPARMS): Don't define here.
30729         * configure: Regenerated.
30730         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30731         * sysdeps/i386/configure: Regenerated.
30733         * nptl/createthread.c: Don't include kernel-features.h.
30734         * nptl/pthread_cancel.c: Likewise.
30735         * nptl/pthread_condattr_setclock.c: Likewise.
30736         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30737         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30738         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30739         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30740         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30741         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30745         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30746         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30747         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30748         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30749         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30750         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30751         * nscd/gai.c: Likewise.
30752         * nss/nss_db/db-open.c: Likewise.
30753         * sysdeps/generic/ldsodefs.h: Likewise.
30754         * sysdeps/sh/nptl/tls.h: Likewise.
30755         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30756         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30757         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30758         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30759         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30760         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30761         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30762         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30763         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30764         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30765         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30766         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30767         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30768         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30769         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30770         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30771         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30772         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30773         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30774         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30777         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30778         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30779         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30783         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30784         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30785         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30786         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30787         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30788         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30789         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30790         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30791         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30792         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30793         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30794         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30795         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30796         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30797         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30798         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30799         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30800         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30801         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30802         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30803         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30804         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30805         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30806         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30807         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30808         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30809         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30810         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30811         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30812         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30835         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30836         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30837         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30838         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30839         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30840         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30841         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30842         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30843         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30844         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30845         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30846         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30847         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30848         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30849         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30850         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30851         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30852         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30853         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30854         * sysdeps/unix/sysv/linux/system.c: Likewise.
30855         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30856         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30857         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30858         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30859         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30860         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30861         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30863         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30864         * configure: Regenerated.
30865         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30867         * configure.ac (base_machine): Do not set specially for particular
30868         machines here.
30869         * configure: Regenerated.
30870         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30871         settings from configure.ac.
30872         * sysdeps/i386/preconfigure: New file.
30873         * sysdeps/s390/preconfigure: Likewise.
30874         * sysdeps/sh/preconfigure: Likewise.
30875         * sysdeps/sparc/preconfigure: Likewise.
30877 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30879         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30880         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30881         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30882         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30883         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30884         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30885         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30886         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30887         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30888         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30889         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30890         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30891         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30893         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30895         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30896         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30897         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30899         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30900         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30901         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30902         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30903         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30904         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30905         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30906         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30907         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30908         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30909         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30910         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30911         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30912         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30913         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30914         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30915         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30916         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30917         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30918         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30920         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30926         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30927         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30930         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30932         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30933         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30934         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30936         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30939         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30941         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30943         Moved ...
30944         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30945         ... here.
30946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30947         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30949         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30951         Moved ...
30952         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30954         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30956         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30958         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30960         Moved ...
30961         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30963         Moved ...
30964         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30966         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30968         Moved ...
30969         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30971         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30973         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30975         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30977         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30979         Moved ...
30980         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30981         ... here.
30982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30983         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30985         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30987         Moved ...
30988         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30990         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30992         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30994         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30996         Moved ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30999         Moved ...
31000         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31002         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31004         Moved ...
31005         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31007         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31009         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31011 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31013         * timezone/checktab.awk: Update from tzcode 2014e.
31014         * timezone/private.h: Likewise.
31015         * timezone/tzfile.h: Likewise.
31016         * timezone/zdump.c: Likewise.
31017         * timezone/zic.c: Likewise.
31019         * sysdeps/unix/sysv/linux/kernel-features.h
31020         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31021         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31022         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31023         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31024         Remove conditional code.
31026 2014-06-25  Will Newton  <will.newton@linaro.org>
31028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31029         (_dl_arm_cap_flags): Add HWCAP2 values.
31030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31031         (_DL_HWCAP_COUNT): Increase to 37.
31032         (_DL_HWCAP_LAST): New define.
31033         (_DL_HWCAP2_LAST): New define.
31034         (_dl_procinfo): Add support for printing
31035         AT_HWCAP2 entries.
31036         (_dl_string_hwcap): Use _dl_hwcap_string.
31038 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31042 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31044         * README: Do not mention ports directory.
31046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31047         Remove macro.
31048         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31049         <kernel-features.h>.
31050         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31051         conditional variable definition.
31052         (__futimes): Update comment.
31053         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31054         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31056         [BZ #16560]
31057         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31058         arguments close to 0.
31059         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31060         Likewise.
31061         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31062         Likewise.
31063         * math/auto-libm-test-in: Add more tests of exp10.
31064         * math/auto-libm-test-out: Regenerated.
31065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31067         * sysdeps/unix/sysv/linux/kernel-features.h
31068         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31069         * sysdeps/unix/sysv/linux/readv.c: Do not include
31070         <kernel-features.h>.
31071         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31072         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31073         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31074         unconditional.
31075         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31076         conditional code.
31077         * sysdeps/unix/sysv/linux/writev.c: Do not include
31078         <kernel-features.h>.
31079         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31080         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31081         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31082         unconditional.
31083         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31084         conditional code.
31086 2014-06-25  Will Newton  <will.newton@linaro.org>
31088         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31089         comment changes throughout the file.  Remove checks
31090         for HAVE_*_H definitions that are not required.
31091         (__gen_tempname): Call abort if an unknown kind value is
31092         passed.
31094 2014-06-25  Andreas Schwab  <schwab@suse.de>
31096         [BZ #17086]
31097         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31098         scalbln, scalblnf, scalblnl in libc.
31100 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102         [BZ #17086]
31103         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31104         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31105         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31107 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31109         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31110         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31111         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31112         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31113         Update #include.
31114         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31115         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31116         Update #include.
31117         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31118         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31119         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31120         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31121         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31122         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31123         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31124         * sysdeps/x86/bits/semaphore.h: ... here.
31125         * sysdeps/x86/nptl/elide.h: Moved ...
31126         * sysdeps/x86/elide.h: ... here.
31127         * sysdeps/x86_64/nptl/Implies: File removed.
31128         * sysdeps/i386/nptl/Implies: File removed.
31130 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31132         [BZ #16539]
31133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31134         return the argument for normal arguments with exponent below -64.
31135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31136         Likewise.
31137         * math/auto-libm-test-in: Add another test of expm1.
31138         * math/auto-libm-test-out: Regenerated.
31140         [BZ #16287]
31141         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31142         calling __erfcl for arguments at least 16.
31143         * math/auto-libm-test-in: Add more tests of erf.
31144         * math/auto-libm-test-out: Regenerated.
31146         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31147         individual architectures.
31148         * sysdeps/unix/sysv/linux/configure: Regenerated.
31149         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31150         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31151         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31152         (ldd_rewrite_script): Define variable.
31153         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31155         file.
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31157         generated file.
31158         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31159         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31160         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31161         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31162         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31163         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31164         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31165         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31167 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31169         [BZ #17084]
31170         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31171         Rename member __data.d to __data.__elision_data.
31173 2014-06-24  Wilco  <wdijkstr@arm.com>
31175         * NEWS: Add 16918 to fixed bug list.
31177 2014-06-24  Wilco  <wdijkstr@arm.com>
31179         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31181 2014-06-24  Wilco  <wdijkstr@arm.com>
31183         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31184         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31185         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31186         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31187         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31188         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31189         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31190         Use _FPU_MASK_RM.
31192 2014-06-24  Wilco  <wdijkstr@arm.com>
31194         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31196 2014-06-24  Wilco  <wdijkstr@arm.com>
31198         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31199         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31200         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31201         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31203 2014-06-24  Wilco  <wdijkstr@arm.com>
31205         [BZ #16918]
31206         * sysdeps/arm/feupdateenv.c (feupdateenv):
31207         Rewrite to reduce FPSCR accesses and fix return value.
31209 2014-06-24  Wilco  <wdijkstr@arm.com>
31211         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31212         Optimize to avoid unnecessary FPSCR writes.
31213         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31214         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31215         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31216         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31218 2014-06-24  Wilco  <wdijkstr@arm.com>
31220         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31221         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31222         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31223         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31224         Call libc_fetestexcept_vfp.
31225         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31226         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31227         __SOFTFP__ ifdef so that they can be built for softfp.
31229 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31231         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31232         argument type signed char.
31234         * Makerules (check-abi): Dump diff of symlist if the test
31235         fails.
31237 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31239         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31240         using abort.
31242         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31243         Remove unused variable ST.
31245 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31247         [BZ #16354]
31248         [BZ #17061]
31249         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31250         small arguments before calling __expm1.
31251         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31252         small arguments before calling __expm1f.
31253         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31254         small arguments before calling __expm1l.
31255         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31256         Likewise.
31257         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31258         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31259         spurious underflow for some cosh tests.
31260         * math/auto-libm-test-out: Regenerated.
31261         * sysdeps/i386/fpu/libm-test-ulps: Update.
31263         [BZ #17050]
31264         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31265         (__ieee754_y1): Set errno if return value overflows.
31266         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31267         (__ieee754_y1f): Set errno if return value overflows.
31268         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31269         (__ieee754_y1l): Set errno if return value overflows.
31270         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31271         (__ieee754_y1l): Set errno if return value overflows.
31272         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31273         * math/auto-libm-test-out: Regenerated.
31275         * math/gen-auto-libm-tests.c: Document use of
31276         ignore-zero-inf-sign.
31277         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31278         (input_flags): Add ignore-zero-inf-sign.
31279         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31280         * math/gen-libm-test.pl (generate_testfile): Handle
31281         ignore-zero-inf-sign.
31282         * math/auto-libm-test-in: Mark some cpow tests with
31283         ignore-zero-inf-sign and some with xfail-rounding.
31284         * math/auto-libm-test-out: Regenerated.
31285         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31286         * sysdeps/i386/fpu/libm-test-ulps: Update.
31287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31289         [BZ #16315]
31290         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31291         overflowing or underflowing operations take place with sign of
31292         result.
31293         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31294         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31295         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31296         (__ieee754_pow): Recompute overflowing and underflowing results in
31297         original rounding mode.
31298         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31299         (__powl_helper): Allow negative argument X and scale negated value
31300         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31301         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31302         overflowing or underflowing operations take place with sign of
31303         result.
31304         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31305         Include <math.h>.
31306         * math/auto-libm-test-in: Add more tests of pow.
31307         * math/auto-libm-test-out: Regenerated.
31308         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31309         (pow_tonearest_test_data): Remove.
31310         (pow_test_tonearest): Likewise.
31311         (pow_towardzero_test_data): Likewise.
31312         (pow_test_towardzero): Likewise.
31313         (pow_downward_test_data): Likewise.
31314         (pow_test_downward): Likewise.
31315         (pow_upward_test_data): Likewise.
31316         (pow_test_upward): Likewise.
31317         (main): Don't call removed functions.
31318         * sysdeps/i386/fpu/libm-test-ulps: Update.
31319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31321 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31324         Moved ...
31325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31327         Moved ...
31328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31333         Moved ...
31334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31336         File removed.
31337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31338         File removed.
31339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31340         File removed.
31341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31342         File removed.
31343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31344         File removed.
31345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31346         File removed.
31347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31348         File removed.
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31350         File removed.
31351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31352         File removed.
31353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31354         File removed.
31355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31356         File removed.
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31358         File removed.
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31360         Moved ...
31361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31363         Moved ...
31364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31365         ... here.
31366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31367         Moved ...
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31370         Moved ...
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31373         Moved ...
31374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31376         Moved ...
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31379         Moved ...
31380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31382         Moved ...
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31385         Moved ...
31386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31389         ... here.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31391         Moved ...
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31394         Moved ...
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31396         ... here.
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31398         Moved ...
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31400         ... here.
31401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31402         Moved ...
31403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31404         ... here.
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31409         Moved ...
31410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31414         Moved ...
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31416         ... here.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31420         ... here.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31422         Moved ...
31423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31425         Moved ...
31426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31431         Moved ...
31432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31436         ... here.
31437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31438         Moved ...
31439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31441         Moved ...
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31444         Moved ...
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31447         Moved ...
31448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31452         Moved ...
31453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31455         Moved ...
31456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31460         ... here.
31461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31462         Moved ...
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31464         ... here.
31465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31468         ... here.
31469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31470         Moved ...
31471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31473         Moved ...
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31476         Moved ...
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31479         Moved ...
31480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31481         ... here.
31482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31483         Moved ...
31484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31485         ... here.
31486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31487         Moved ...
31488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31489         ... here.
31490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31491         Moved ...
31492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31494         Moved ...
31495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31497 2014-06-23  Will Newton  <will.newton@linaro.org>
31498             Wilco  <wdijkstr@arm.com>
31500         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31501         implementation.  Include get-rounding-mode.h.
31502         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31503         [!libc_feholdsetround_noex_ctx]: Define
31504         libc_feholdsetround_noex_ctx.
31505         [!libc_feholdsetround_noexf_ctx]: Define
31506         libc_feholdsetround_noexf_ctx.
31507         [!libc_feholdsetround_noexl_ctx]: Define
31508         libc_feholdsetround_noexl_ctx.
31509         (libc_feholdsetround_ctx): New function.
31510         (libc_feresetround_ctx): New function.
31511         (libc_feholdsetround_noex_ctx): New function.
31512         (libc_feresetround_noex_ctx): New function.
31514 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31516         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31517         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31518         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31519         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31520         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31521         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31523         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31524         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31525         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31526         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31527         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31528         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31530         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31532         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31534         Moved ...
31535         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31536         ... here.
31537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31538         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31540         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31542         Moved ...
31543         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31545         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31547         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31549         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31551         Moved ...
31552         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31554         Moved ...
31555         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31557         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31559         Moved ...
31560         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31562         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31564         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31565         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31566         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31568         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31570         Moved ...
31571         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31572         ... here.
31573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31574         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31578         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31580         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31582         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31584         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31586         Moved ...
31587         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31589         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31591         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31593         Moved ...
31594         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31596         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31598         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31600         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31601         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31602         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31603         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31604         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31605         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31606         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31607         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31609         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31610         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31611         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31612         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31613         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31614         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31615         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31616         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31617         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31618         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31619         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31620         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31621         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31622         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31623         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31624         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31625         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31626         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31627         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31629 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31632         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31633         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31634         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31635         (IPV6_PMTUDISC_INTERFACE): Likewise.
31636         (IPV6_PMTUDISC_OMIT): Likewise.
31638 2014-06-23  Andreas Schwab  <schwab@suse.de>
31640         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31641         Remove unused errout label.
31643 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31645         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31646         macro: hardware supports Vector Crypto instructions.
31648 2014-06-23  Will Newton  <will.newton@linaro.org>
31650         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31651         rather than __builtin_expect.
31653         * elf/dl-lookup.c (undefined_msg): Remove variable.
31654         (_dl_lookup_symbol_x): Replace undefined_msg with string
31655         literal.
31657         * elf/dl-lookup.c (do_lookup_unique): New function.
31658         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31659         to a separate function.
31661 2014-06-23  Andreas Schwab  <schwab@suse.de>
31663         [BZ #17079]
31664         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31665         before reading the next line.
31667 2014-06-23  Will Newton  <will.newton@linaro.org>
31669         * test-skeleton.c (signal_handler): Use printf and %m
31670         rather than perror.  Use printf rather than fprintf to
31671         stderr.  Use puts rather than fputs to stderr.
31672         (main): Likewise.
31674 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31676         * nscd/nscd.c (thread_info_t): Remove typedef.
31677         (thread_info): Remove variable.
31679 2014-06-21  Allan McRae  <allan@archlinux.org>
31681         * NEWS: Mention CVE-2014-4043.
31683 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31685         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31686         * nptl/smp.h: ... here.
31688         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31690         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31691         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31692         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31693         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31695         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31696         * nptl/stack-aliasing.h: New file.
31697         * sysdeps/i386/i686/stack-aliasing.h: New file.
31698         * sysdeps/i386/i686/nptl/Makefile: File removed.
31699         * sysdeps/x86_64/stack-aliasing.h: New file.
31700         * sysdeps/x86_64/nptl/Makefile
31701         (CFLAGS-pthread_create.c): Variable removed.
31703         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31704         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31705         old file.
31706         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31707         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31708         old file.
31710 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31713         (__ASSUME_SIGFRAME_V2): Remove macro.
31714         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31715         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31716         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31717         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31718         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31719         Declare as function.  Remove conditional macro definitions.
31720         (__default_rt_sa_restorer): Likewise.
31721         (__default_sa_restorer_v1): Remove declaration.
31722         (__default_sa_restorer_v2): Likewise.
31723         (__default_rt_sa_restorer_v1): Likewise.
31724         (__default_rt_sa_restorer_v2): Likewise.
31725         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31726         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31727         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31729 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31731         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31732         (libpthread-routines): Add sysdep.
31733         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31734         * sysdeps/unix/sysv/linux/sparc/Versions
31735         (libpthread: GLIBC_2.3.3): New version set.
31736         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31737         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31738         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31739         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31740         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31741         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31742         Moved ...
31743         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31745         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31746         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31747         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31748         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31749         * sysdeps/sparc/nptl/sem_init.c: ... here.
31750         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31751         * sysdeps/sparc/nptl/sem_post.c: ... here.
31752         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31753         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31754         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31755         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31756         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31758         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31759         (libpthread-routines): Add cpu_relax.
31760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31761         File removed.
31762         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31763         (librt: GLIBC_2.3.3): New version set.
31764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31765         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31767         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31770         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31772         Moved ...
31773         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31775         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31777         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31779         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31781         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31783         Moved ...
31784         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31785         Update #include.
31786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31787         Moved ...
31788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31789         Update #include.
31790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31791         Moved ...
31792         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31793         Update #include.
31794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31795         Moved ...
31796         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31797         Update #include.
31798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31799         Moved ...
31800         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31801         Update #include.
31802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31803         Moved ...
31804         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31805         Update #include.
31806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31807         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31813         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31815         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31817         Moved ...
31818         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31820         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31822         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31824 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31826         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31827         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31828         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31829         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31830         * nscd/nscd.c: Likewise.
31831         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31832         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31833         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31834         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31836         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31837         <kernel-features.h>.
31838         (init_mq_netlink): Remove conditional have_sock_cloexec
31839         definitions.  Remove code conditional on have_sock_cloexec < 0.
31840         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31841         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31842         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31843         <kernel-features.h>.
31844         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31845         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31847 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31850         Add tests for memset_chk and memset.
31852         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31853         with AVX2_Usable.
31855 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31857         [BZ #16046]
31858         * elf/tst-dl-iter-static.c: New file.
31859         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31861         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31862         error.
31864 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31866         * sysdeps/unix/sysv/linux/kernel-features.h
31867         (__ASSUME_F_GETOWN_EX): Remove macro.
31868         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31869         <kernel-features.h>.
31870         (miss_F_GETOWN_EX): Remove variable or macro.
31871         (do_fcntl): Do not check miss_F_GETOWN_EX.
31872         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31874         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31875         Remove macro.
31876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31877         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31878         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31880         * sysdeps/unix/sysv/linux/kernel-features.h
31881         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31882         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31883         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31884         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31886 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31888         [BZ #17075]
31889         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31890         Fix calculation of the symbol's value.
31891         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31892         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31893         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31894         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31895         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31896         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31897         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31898         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31899         (modules-names): Add `tst-armtlsdescmod',
31900         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31901         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31902         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31903         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31904         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31905         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31906         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31907         ($(objpfx)tst-armtlsdescloc): New dependency.
31908         ($(objpfx)tst-armtlsdescextnow): Likewise.
31909         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31910         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31911         TLS scheme support.
31912         * sysdeps/arm/configure: Regenerate.
31914 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31916         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31917         (__atfct_seterrno_2): Likewise.
31918         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31919         <kernel-features.h>.
31920         (__ASSUME_ATFCTS): Do not undefine and redefine.
31921         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31922         (__have_atfcts): Remove conditional definition.
31923         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31924         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31925         unreachable if [__ASSUME_ATFCTS].
31926         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31927         not undefine and redefine.
31928         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31929         <kernel-features.h>.
31930         (faccessat) [__NR_faccessat]: Make code unconditional.
31931         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31932         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31933         <kernel-features.h>.
31934         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31935         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31936         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31937         <kernel-features.h>.
31938         (fchownat) [__NR_fchownat]: Make code unconditional.
31939         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31940         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31941         <kernel-features.h>.
31942         (futimesat) [__NR_futimesat]: Make code unconditional.
31943         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31944         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31945         <kernel-features.h>.
31946         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31947         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31948         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31949         <kernel-features.h>.
31950         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31951         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31952         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31953         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31954         <kernel-features.h>.
31955         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31956         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31957         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31958         <kernel-features.h>.
31959         (linkat) [__NR_linkat]: Make code unconditional.
31960         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31961         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31962         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31963         <kernel-features.h>.
31964         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31965         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31966         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31967         <kernel-features.h>.
31968         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31969         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31970         * sysdeps/unix/sysv/linux/openat.c: Do not include
31971         <kernel-features.h>.
31972         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31973         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31974         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31975         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31976         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31977         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31978         <kernel-features.h>.
31979         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31980         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31981         result of INLINE_SYSCALL directly, not via int variable.
31982         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31983         <kernel-features.h>.
31984         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31985         (renameat) [__NR_renameat]: Make code unconditional.
31986         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31987         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31988         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31989         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31990         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31991         (__ASSUME_ATFCTS): Do not undefine and redefine.
31992         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31993         <kernel-features.h>.
31994         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31995         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31996         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31997         <kernel-features.h>.
31998         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31999         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32000         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32001         (__ASSUME_ATFCTS): Do not undefine and redefine.
32002         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32003         <kernel-features.h>.
32004         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32005         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32006         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32007         <kernel-features.h>.
32008         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32009         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32011 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32013         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32015 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32017         [BZ #17069]
32018         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32019         constructed tree before returning error.
32020         * posix/bug-regexp36.c: Expand test case.
32022 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32024         [BZ #6803]
32025         * math/libm-test.inc (scalbln_test_date):
32026         Add errno expectations.
32027         * math/w_scalblnf.c: New File.
32028         Add wrapper which checks for setting errno to ERANGE.
32029         Add weak_alias for corresponding scalbln function.
32030         * math/w_scalbln.c: Likewise.
32031         * math/w_scalblnl.c: Likewise.
32032         * math/Makefile (libm-calls): Add w_scalbln.
32033         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32034         Remove weak_alias for corresponding scalbln function.
32035         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32036         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32037         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32038         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32039         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32040         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32041         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32042         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32043         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32044         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32045         Remove long_double_symbol for scalblnl function in libm, libc.
32046         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32047         Add wrapper which checks for setting errno to ERANGE.
32048         Add long_double_symbol for scalblnl function in libm, libc.
32049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32050         Remove long_double_symbol for scalblnl in libm.
32051         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32052         Add wrapper which checks for setting errno to ERANGE.
32053         Add long_double_symbol for scalblnl function in libm.
32054         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32055         Do not use wrapper because of own implementation.
32057 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32059         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32060         3 bytes for __pad1 for x32.
32061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32063 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32064             H.J. Lu  <hongjiu.lu@intel.com>
32066         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32067         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32068         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32069         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32070         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32072 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32074         [BZ #17069]
32075         * posix/regcomp.c (parse_expression): Deallocate partially
32076         constructed tree before returning error.
32077         * posix/Makefile.c (tests): Add bug-regex36.
32078         (generated): Add bug-regex36.mtrace.
32079         (tests-special): Add $(objpfx)bug-regex36-mem.out
32080         (bug-regex36-ENV): New variable.
32081         ($(objpfx)bug-regex36-mem.out): New rule.
32082         * posix/bug-regex36.c: New file.
32084 2014-06-19  Will Newton  <will.newton@linaro.org>
32086         * malloc/malloc.c (systrim): If extra is zero then return
32087         early.
32089 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32091         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32093 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32095         * sysdeps/aarch64/strchr.S: New file.
32097 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32099         [BZ #17022]
32100         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32101         from arguments -2 or below.
32102         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32103         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32105 2014-06-18  Andreas Schwab  <schwab@suse.de>
32107         [BZ #17062]
32108         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32109         of a bracket expr not to run off the end of the string.
32110         * posix/Makefile (tests): Add tst-fnmatch3.
32111         * posix/tst-fnmatch3.c: New file.
32113 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32115         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32116         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32117         [$(cross-compiling) = no]: Likewise.
32118         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32119         [$(cross-compiling) = no]: Likewise.
32121 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32123         [BZ #17031]
32124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32125         double, adjusted for any remainder from the high double.
32126         * math/libm-test.inc (nearbyint): Add tests.
32127         (rint): Likewise.
32129 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32131         * nptl/sysdeps/powerpc/Makefile: Moved ...
32132         * sysdeps/powerpc/nptl/Makefile: ... here.
32133         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32134         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32135         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32136         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32137         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32138         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32139         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32140         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32141         * nptl/sysdeps/powerpc/tls.h: Moved ...
32142         * sysdeps/powerpc/nptl/tls.h: ... here.
32144 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32146         [BZ #16681]
32147         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32148         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32149         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32150         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32151         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32152         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32153         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32154         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32155         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32157 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32159         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32161 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32163         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32164         defined operator.
32166         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32167         $TIMEOUTFACTOR.
32169 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32171         [BZ #17058]
32172         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32173         non-executed part of the test.
32175 2014-06-16  Andreas Schwab  <schwab@suse.de>
32177         * string/bits/string2.h (strdup, strndup): Update feature guard.
32179 2014-06-14  David S. Miller  <davem@davemloft.net>
32181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32183 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32185         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32186         that was previously under [RESET_PID].
32187         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32189         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32190         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32191         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32193         (__libc_vfork): New strong alias.
32194         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32196 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32198         * sysdeps/generic/elide.h: New file.
32200 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32202         * Makefile (installed-headers): Adjust path of pthread.h header.
32204 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32206         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32207         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32208         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32209         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32211         * nptl/sysdeps/s390/Makefile: Moved ...
32212         * sysdeps/s390/nptl/Makefile: ... here.
32213         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32214         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32215         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32216         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32217         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32218         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32219         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32220         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32221         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32222         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32223         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32224         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32225         * nptl/sysdeps/s390/tls.h: Moved ...
32226         * sysdeps/s390/nptl/tls.h: ... here.
32228         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32229         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32231 2014-06-13  David S. Miller  <davem@davemloft.net>
32233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32236         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32240         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32241         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32242         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32243         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32244         Remove RESET_PID cpp guards.
32245         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32246         Remove RESET_PID cpp guards.
32247         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32249 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32251         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32252         __sp to uintptr_t.
32254 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32258         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32259         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32260         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32262         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32265         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32272         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32274         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32277         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32278         (pthread_rwlock_rdlock): Add elision.
32279         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32280         (pthread_rwlock_wrlock): Add elision.
32281         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32282         (pthread_rwlock_trywrlock): Add elision.
32283         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32284         (pthread_rwlock_tryrdlock): Add elision.
32285         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32286         (pthread_rwlock_tryrdlock): Add elision unlock.
32287         * nptl/sysdeps/pthread/pthread.h:
32288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32289         (PTHREAD_RWLOCK_INITIALIZER,
32290         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32291         Handle new elision field.
32292         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32293         * sysdeps/arm/nptl/bits/pthreadtypes.h
32294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32295         * sysdeps/sh/nptl/bits/pthreadtypes.h
32296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32297         * sysdeps/tile/nptl/bits/pthreadtypes.h
32298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32299         * sysdeps/a/nptl/bits/pthreadtypes.h
32300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32301         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32305         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32307         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32311         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32313         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32315         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32317         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32318         (elision_init): Set try_xbegin to zero when no RTM.
32319         * sysdeps/x86/nptl/bits/pthreadtypes.h
32320         (pthread_rwlock_t): Change __pad1 to __rwelision.
32321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32323 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32325         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32326         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32327         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32328         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32330 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32332         [BZ #16996]
32333         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32334         that the cached result has been set before returning it.
32336 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32339         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32341         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32342         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32343         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32345         * nptl/sysdeps/sparc/Makefile: Moved ...
32346         * sysdeps/sparc/nptl/Makefile: ... here.
32347         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32348         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32349         * nptl/sysdeps/sparc/tls.h: Moved ...
32350         * sysdeps/sparc/nptl/tls.h: ... here.
32351         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32352         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32353         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32354         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32355         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32356         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32357         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32358         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32359         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32360         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32361         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32362         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32363         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32364         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32365         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32366         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32367         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32369         Update #include.
32370         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32372         Update #include.
32373         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32375         Update #include.
32376         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32378         Update #include.
32380         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32382         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32383         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32385         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32386         (struct list_links): Type removed.
32387         (struct thread_node, struct timer_node): Replace struct list_links
32388         with struct list_head.
32389         (list_unlink_ip): Likewise.
32390         * sysdeps/pthread/timer_routines.c
32391         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32392         (list_append, list_insbefore): Likewise.
32393         (list_init): Function removed.
32394         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32395         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32396         * sysdeps/pthread/Makefile: ... here, new file.
32398         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32399         * sysdeps/nptl/Implies: ... here.
32400         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32401         * nptl/sysdeps/pthread/list.h: Moved ...
32402         * include/list.h: ... here.
32403         * nptl/sysdeps/pthread/createthread.c: Moved ...
32404         * nptl/createthread.c: ... here.
32405         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32406         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32407         * nptl/pt-longjmp.c: ... here.
32408         * nptl/sysdeps/pthread/Makefile: Moved ...
32409         * sysdeps/nptl/Makefile: ... here.
32410         * nptl/sysdeps/pthread/Subdirs: Moved ...
32411         * sysdeps/nptl/Subdirs: ... here.
32412         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32413         * sysdeps/nptl/aio_misc.h: ... here.
32414         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32415         * sysdeps/nptl/bits/libc-lock.h: ... here.
32416         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32417         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32418         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32419         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32420         * nptl/sysdeps/pthread/configure: Moved ...
32421         * sysdeps/nptl/configure: ... here.
32422         * nptl/sysdeps/pthread/configure.ac: Moved ...
32423         * sysdeps/nptl/configure.ac: ... here.
32424         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32425         * sysdeps/nptl/gai_misc.h: ... here.
32426         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32427         * sysdeps/nptl/librt-cancellation.c: ... here.
32428         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32429         * sysdeps/nptl/malloc-machine.h: ... here.
32430         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32431         * sysdeps/nptl/pthread-functions.h: ... here.
32432         * nptl/sysdeps/pthread/pthread.h: Moved ...
32433         * sysdeps/nptl/pthread.h: ... here.
32434         * nptl/sysdeps/pthread/setxid.h: Moved ...
32435         * sysdeps/nptl/setxid.h: ... here.
32436         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32437         * sysdeps/nptl/sigfillset.c: ... here.
32438         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32439         * sysdeps/nptl/tcb-offsets.h: ... here.
32440         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32441         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32442         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32443         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32444         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32445         * sysdeps/pthread/allocalim.h: ... here.
32446         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32447         * sysdeps/pthread/bits/sigthread.h: ... here.
32448         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32449         * sysdeps/pthread/flockfile.c: ... here.
32450         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32451         * sysdeps/pthread/ftrylockfile.c: ... here.
32452         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32453         * sysdeps/pthread/funlockfile.c: ... here.
32454         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32455         * sysdeps/pthread/posix-timer.h: ... here.
32456         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32457         * sysdeps/pthread/timer_create.c: ... here.
32458         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32459         * sysdeps/pthread/timer_delete.c: ... here.
32460         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32461         * sysdeps/pthread/timer_getoverr.c: ... here.
32462         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32463         * sysdeps/pthread/timer_gettime.c: ... here.
32464         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32465         * sysdeps/pthread/timer_routines.c: ... here.
32466         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32467         * sysdeps/pthread/timer_settime.c: ... here.
32468         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32469         * sysdeps/pthread/tst-timer.c: ... here.
32470         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32471         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32473         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32474         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32476         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32477         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32478         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32479         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32480         Update #include target.
32481         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32482         * sysdeps/i386/i686/nptl/Makefile: ... here.
32483         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32484         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32485         Update #include target.
32486         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32487         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32488         * nptl/sysdeps/i386/Makefile: Moved ...
32489         * sysdeps/i386/nptl/Makefile: ... here.
32490         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32491         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32492         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32493         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32494         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32495         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32496         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32497         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32498         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32499         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32500         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32501         * nptl/sysdeps/i386/tls.h: Moved ...
32502         * sysdeps/i386/nptl/tls.h: ... here.
32504         * sysdeps/sh/Makefile [$(subdir) = csu]
32505         (gen-as-const-headers): Add tcb-offsets.sym.
32506         * nptl/sysdeps/sh/Makefile: File removed.
32507         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32508         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32509         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32510         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32511         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32512         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32513         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32514         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32515         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32516         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32517         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32518         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32519         * nptl/sysdeps/sh/tls.h: Moved ...
32520         * sysdeps/sh/nptl/tls.h: ... here.
32521         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32522         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32523         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32524         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32525         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32526         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32527         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32529         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32530         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32532         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32534         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32536         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32538         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32540         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32542         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32546         Moved ...
32547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32549         Moved ...
32550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32552         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32554         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32555         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32556         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32557         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32558         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32559         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32560         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32561         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32562         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32563         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32564         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32565         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32566         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32567         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32568         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32570 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32572         * posix/spawn_faction_addopen.c: Include string.h.
32574 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32576         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32577         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32578         * nptl/sysdeps/x86_64/Makefile: Moved ...
32579         * sysdeps/x86_64/nptl/Makefile: ... here.
32580         * nptl/sysdeps/x86_64/configure: Moved ...
32581         * sysdeps/x86_64/nptl/configure: ... here.
32582         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32583         * sysdeps/x86_64/nptl/configure.ac: ... here.
32584         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32585         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32586         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32587         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32588         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32589         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32590         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32591         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32592         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32593         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32594         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32595         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32596         * nptl/sysdeps/x86_64/tls.h: Moved ...
32597         * sysdeps/x86_64/nptl/tls.h: ... here.
32598         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32599         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32600         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32601         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32603         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32605 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32609 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32611         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32612         type.
32613         [POSIX] (off_t): Likewise.
32614         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32615         [POSIX] (S_ISBLK): Require macro.
32616         [POSIX] (S_ISCHR): Likewise.
32617         [POSIX] (S_ISDIR): Likewise.
32618         [POSIX] (S_ISFIFO): Likewise.
32619         [POSIX] (S_ISREG): Likewise.
32620         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32621         optional-macro.
32622         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32623         type.
32624         [POSIX] (time_t): Likewise.
32625         [POSIX] (timer_t): Likewise.
32627 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32629         [BZ #17048]
32630         * posix/spawn_int.h (struct __spawn_action): Make the path string
32631         non-const to support deallocation.
32632         * posix/spawn_faction_addopen.c
32633         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32634         * posix/spawn_faction_destroy.c
32635         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32636         path in all spawn_do_open actions.
32637         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32638         posix_spawn_file_actions_addopen.
32640 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32642         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32643         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32644         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32645         conditional code always true.
32646         (__libc_vfork): New alias.
32648 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32650         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32651         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32653         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32655         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32656         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32658         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32659         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32661         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32662         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32664 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32666         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32667         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32668         multiarch strcmp for PPC64.
32669         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32670         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32672         multiarch optimizations.
32673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32674         (__libc_ifunc_impl_list): Likewise.
32676 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32678         * benchtests/scripts/validate_benchout.py: New script.
32679         * benchtests/Makefile (bench-func): Call it.
32680         * benchtests/scripts/benchout.schema.json: New file.
32682 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32684         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32685         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32686         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32687         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32688         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32689         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32690         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32691         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32692         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32693         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32694         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32695         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32696         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32697         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32698         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32699         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32701         Moved ...
32702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32703         ... here.
32704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32705         Moved ...
32706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32708         Moved ...
32709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32710         ... here.
32711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32712         Moved ...
32713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32714         ... here.
32715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32716         Moved ...
32717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32719         Moved ...
32720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32721         ... here.
32722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32723         Moved ...
32724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32725         ... here.
32726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32727         Moved ...
32728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32730         Moved ...
32731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32732         ... here.
32733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32734         Moved ...
32735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32736         ... here.
32737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32738         Moved ...
32739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32740         ... here.
32741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32742         Moved ...
32743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32747         ... here.
32748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32749         Moved ...
32750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32751         ... here.
32752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32753         Moved ...
32754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32755         ... here.
32756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32757         Moved ...
32758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32760         Moved ...
32761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32762         ... here.
32763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32764         Moved ...
32765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32766         ... here.
32767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32768         Moved ...
32769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32771         Moved ...
32772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32773         ... here.
32774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32775         Moved ...
32776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32783         ... here.
32784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32787         ... here.
32788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32789         Moved ...
32790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32791         ... here.
32792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32793         Moved ...
32794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32796         Moved ...
32797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32798         ... here.
32799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32800         Moved ...
32801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32802         ... here.
32803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32804         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32806         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32808         Moved ...
32809         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32810         ... here.
32811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32812         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32816         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32818         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32824         Moved ...
32825         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32827         Moved ...
32828         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32832         Moved ...
32833         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32835         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32836         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32837         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32838         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32839         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32841 2014-06-10  Wilco  <wdijkstr@arm.com>
32843         * math/test-fenv-return.c: New file.
32844         * math/Makefile: Add new test test-fenv-return.
32846 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32848         [BZ #17042]
32849         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32850         when x - 1 is zero.
32851         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32852         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32853         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32854         0.0L for an argument of 1.0L.
32855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32856         Likewise.
32857         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32858         value when x - 1 is zero.
32859         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32860         * sysdeps/i386/fpu/libm-test-ulps: Update.
32861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32863 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32865         [BZ #15119]
32866         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32868 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32870         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32871         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32873 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32875         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32876         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32878         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32879         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32881         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32882         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32884         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32885         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32887         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32888         if not already defined.
32889         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32890         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32891         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32892         (TLS_INIT_TP): Use it.
32893         (TLS_DEFINE_INIT_TP): New macro.
32894         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32896 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32898         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32899         constant.
32900         [POSIX] (IXANY): Likewise.
32901         [POSIX] (OLCUC): Likewise.
32902         [POSIX || POSIX2008] (CBAUD): Do not allow.
32903         [POSIX || POSIX2008] (DEFECHO): Likewise.
32904         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32905         [POSIX || POSIX2008] (ECHOKE): Likewise.
32906         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32907         [POSIX || POSIX2008] (EXTA): Likewise.
32908         [POSIX || POSIX2008] (EXTB): Likewise.
32909         [POSIX || POSIX2008] (FLUSHO): Likewise.
32910         [POSIX || POSIX2008] (LOBLK): Likewise.
32911         [POSIX || POSIX2008] (PENDIN): Likewise.
32912         [POSIX || POSIX2008] (SWTCH): Likewise.
32913         [POSIX || POSIX2008] (VDISCARD): Likewise.
32914         [POSIX || POSIX2008] (VDSUSP): Likewise.
32915         [POSIX || POSIX2008] (VLNEXT): Likewise.
32916         [POSIX || POSIX2008] (VREPRINT): Likewise.
32917         [POSIX || POSIX2008] (VSTATUS): Likewise.
32918         [POSIX || POSIX2008] (VWERASE): Likewise.
32919         (B*): Change to B[0123456789]*.
32920         * conform/data/time.h-data [POSIX || UNIX98]
32921         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32922         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32923         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32924         [POSIX] (tm_*): Do not allow.
32926 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32928         * Makefile (install): Don't set LANGUAGE.
32929         * Makefile.in (install): Likewise.
32930         * assert/Makefile (test-assert-ENV): Remove variable.
32931         (test-assert-perr-ENV): Likewise.
32932         * elf/Makefile (neededtest4-ENV): Likewise.
32933         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32934         [$(cross-compiling) = no]: Don't set LANGUAGE.
32935         * io/ftwtest-sh (LANG): Remove variable.
32936         * libio/Makefile (tst-widetext-ENV): Likewise.
32937         * manual/install.texi (Running make install): Don't refer to
32938         environment settings for make install.
32939         * INSTALL: Regenerated.
32940         * nptl/tst-tls6.sh: Don't set LANG.
32941         * posix/globtest.sh (LANG): Remove variable.
32942         * string/Makefile (tester-ENV): Likewise.
32943         (inl-tester-ENV): Likewise.
32944         (noinl-tester-ENV): Likewise.
32945         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32946         [$(cross-compiling) = no]: Don't set LANGUAGE.
32947         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32948         without explicit environment settings.
32950 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32952         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32953         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32955         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32957 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32959         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32960         other files in the crypt directory.
32961         * crypt/crypt.c: Remove duplicate includes.
32962         * crypt/crypt-entry.c: Likewise.
32963         * crypt/crypt_util.c: Likewise.
32965 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32967         * Makeconfig (run-program-env): New variable.
32968         (run-program-prefix-before-env): Likewise.
32969         (run-program-prefix-after-env): Likewise.
32970         (run-program-prefix): Define in terms of new variables.
32971         (built-program-cmd-before-env): New variable.
32972         (built-program-cmd-after-env): Likewise.
32973         (built-program-cmd): Define in terms of new variables.
32974         (test-program-prefix-before-env): New variable.
32975         (test-program-prefix-after-env): Likewise.
32976         (test-program-prefix): Define in terms of new variables.
32977         (test-program-cmd-before-env): New variable.
32978         (test-program-cmd-after-env): Likewise.
32979         (test-program-cmd): Define in terms of new variables.
32980         * Rules (make-test-out): Use $(run-program-env).
32981         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32982         (help): Do not mention environment variables.  Mention
32983         --timeoutfactor option.
32984         (timeoutfactor): New variable.
32985         (blacklist_exports): Remove function.
32986         (exports): Remove variable.
32987         (command): Do not include ${exports}.
32988         * manual/install.texi (Configuring and compiling): Do not mention
32989         test wrappers preserving environment variables.  Mention that last
32990         assignment to a variable must take precedence.
32991         * INSTALL: Regenerated.
32992         * benchtests/Makefile (run-bench): Use $(run-program-env).
32993         * catgets/Makefile ($(objpfx)test1.cat): Use
32994         $(built-program-cmd-before-env), $(run-program-env) and
32995         $(built-program-cmd-after-env).
32996         ($(objpfx)test2.cat): Do not specify environment variables
32997         explicitly.
32998         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32999         $(run-program-env) and $(built-program-cmd-after-env).
33000         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33001         $(run-program-env) and $(test-program-cmd-after-env).
33002         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33003         explicitly.
33004         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33005         run_program_env and test_program_cmd_after_env arguments.
33006         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33007         * elf/tst-pathopt.sh: Use run_program_env argument.
33008         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33009         $(test-wrapper-env) and $(run-program-env).
33010         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33011         run_program_env arguments.
33012         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33013         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33014         $(test-program-prefix-before-env), $(run-program-env) and
33015         $(test-program-prefix-after-env).
33016         ($(objpfx)tst-gettext2.out): Likewise.
33017         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33018         run_program_env and test_program_prefix_after_env arguments.
33019         * intl/tst-gettext2.sh: Likewise.
33020         * intl/tst-gettext4.sh: Do not set environment variables
33021         explicitly.
33022         * intl/tst-gettext6.sh: Likewise.
33023         * intl/tst-translit.sh: Likewise.
33024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33025         $(test-program-prefix-before-env), $(run-program-env) and
33026         $(test-program-prefix-after-env).
33027         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33028         run_program_env and test_program_prefix_after_env arguments.
33029         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33030         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33031         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33032         explicitly with each use of ${test_wrapper_env}.
33033         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33034         $(test-program-prefix-before-env), $(run-program-env) and
33035         $(test-program-prefix-after-env).
33036         * posix/tst-getconf.sh: Do not set environment variables
33037         explicitly.
33038         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33039         run_program_env and test_program_prefix_after_env arguments.
33040         * stdio-common/tst-printf.sh: Do not set environment variables
33041         explicitly.
33042         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33043         $(test-program-prefix-before-env), $(run-program-env) and
33044         $(test-program-prefix-after-env).
33045         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33046         run_program_env and test_program_prefix_after_env arguments.
33047         Split $test calls into $test_pre and $test.
33048         * timezone/Makefile (build-testdata): Use
33049         $(built-program-cmd-before-env), $(run-program-env) and
33050         $(built-program-cmd-after-env).
33052 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33054         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33055         strlen for non SHARED builds.
33057 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33059         * nptl/allocatestack.c (check_list): Inlined function...
33060         (__reclaim_stacks): ... here.
33062 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33064         [BZ #15698]
33065         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33066         memory overrun.
33068 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33070         * Rules (make-test-out): Include
33071         LOCPATH=$(common-objpfx)localedata in default environment.
33072         * debug/Makefile (tst-chk1-ENV): Remove variable.
33073         (tst-chk2-ENV): Likewise.
33074         (tst-chk3-ENV): Likewise.
33075         (tst-chk4-ENV): Likewise.
33076         (tst-chk5-ENV): Likewise.
33077         (tst-chk6-ENV): Likewise.
33078         (tst-lfschk1-ENV): Likewise.
33079         (tst-lfschk2-ENV): Likewise.
33080         (tst-lfschk3-ENV): Likewise.
33081         (tst-lfschk4-ENV): Likewise.
33082         (tst-lfschk5-ENV): Likewise.
33083         (tst-lfschk6-ENV): Likewise.
33084         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33085         (tst-iconv7-ENV): Likewise.
33086         * intl/Makefile (LOCPATH-ENV): Likewise.
33087         (tst-codeset-ENV): Likewise.
33088         (tst-gettext3-ENV): Likewise.
33089         (tst-gettext5-ENV): Likewise.
33090         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33091         (tst-fopenloc-ENV): Likewise.
33092         (tst-fgetws-ENV): Remove variable.
33093         (tst-ungetwc1-ENV): Likewise.
33094         (tst-ungetwc2-ENV): Likewise.
33095         (bug-ungetwc2-ENV): Likewise.
33096         (tst-swscanf-ENV): Likewise.
33097         (bug-ftell-ENV): Likewise.
33098         (tst-fgetwc-ENV): Likewise.
33099         (tst-fseek-ENV): Likewise.
33100         (tst-ftell-partial-wide-ENV): Likewise.
33101         (tst-ftell-active-handler-ENV): Likewise.
33102         (tst-ftell-append-ENV): Likewise.
33103         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33104         (tst-regexloc-ENV): Likewise.
33105         (bug-regex1-ENV): Likewise.
33106         (tst-regex-ENV): Likewise.
33107         (tst-regex2-ENV): Likewise.
33108         (bug-regex5-ENV): Likewise.
33109         (bug-regex6-ENV): Likewise.
33110         (bug-regex17-ENV): Likewise.
33111         (bug-regex18-ENV): Likewise.
33112         (bug-regex19-ENV): Likewise.
33113         (bug-regex20-ENV): Likewise.
33114         (bug-regex22-ENV): Likewise.
33115         (bug-regex23-ENV): Likewise.
33116         (bug-regex25-ENV): Likewise.
33117         (bug-regex26-ENV): Likewise.
33118         (bug-regex30-ENV): Likewise.
33119         (bug-regex32-ENV): Likewise.
33120         (bug-regex33-ENV): Likewise.
33121         (bug-regex34-ENV): Likewise.
33122         (bug-regex35-ENV): Likewise.
33123         (tst-rxspencer-ENV): Likewise.
33124         (tst-rxspencer-no-utf8-ENV): Likewise.
33125         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33126         (tst-sscanf-ENV): Likewise.
33127         (tst-swprintf-ENV): Likewise.
33128         (tst-swscanf-ENV): Likewise.
33129         (test-vfprintf-ENV): Likewise.
33130         (scanf13-ENV): Likewise.
33131         (bug14-ENV): Likewise.
33132         (tst-grouping-ENV): Likewise.
33133         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33134         (tst-strtod3-ENV): Likewise.
33135         (tst-strtod4-ENV): Likewise.
33136         (tst-strtod5-ENV): Likewise.
33137         (testmb2-ENV): Likewise./
33138         * string/Makefile (tst-strxfrm-ENV): Likewise.
33139         (tst-strxfrm2-ENV): Likewise.
33140         (bug-strcoll1-ENV): Likewise.
33141         (test-strcasecmp-ENV): Likewise.
33142         (test-strncasecmp-ENV): Likewise.
33143         * time/Makefile (tst-strptime-ENV): Likewise.
33144         (tst-ftime_l-ENV): Likewise.
33145         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33146         (tst-mbrtowc-ENV): Likewise.
33147         (tst-wcrtomb-ENV): Likewise.
33148         (tst-mbrtowc2-ENV): Likewise.
33149         (tst-c16c32-1-ENV): Likewise.
33150         (tst-mbsnrtowcs-ENV): Likewise.
33152 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33154         * manual/resource.texi (How to get information about the memory
33155         subsystem?): Fix typo.
33156         Reported by Peon de la Parra Ivan <peon@keba.com>
33158 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33160         [BZ #16882]
33161         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33162         (pthread_spin_lock): Branch out of spin loop to proper location.
33163         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33164         (pthread_spin_lock): Likewise.
33166         * nptl/tst-spin4.c: New test.
33167         * nptl/Makefile (tests): Add tst-spin4.
33169 2014-06-03  Andreas Schwab  <schwab@suse.de>
33171         [BZ #15946]
33172         * resolv/res_send.c (send_dg): Reload file descriptor after
33173         calling reopen.
33175 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33179 2014-06-03  Richard Henderson  <rth@redhat.com>
33181         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33182         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33183         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33184         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33185         in the SAVE_PID block.
33186         (__libc_vfork): New alias.
33187         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33189         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33190         child in registers, not on the stack.  Remove RESET_PID conditionals.
33191         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33193 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33195         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33197 2014-06-03  Wilco  <wdijkstr@arm.com>
33199         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33200         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33201         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33202         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33203         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33204         Likewise.
33206 2014-06-03  Wilco  <wdijkstr@arm.com>
33208         * sysdeps/aarch64/fpu/math_private.h
33209         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33210         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33211         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33212         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33213         Fix declarations.
33215 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33217         * crypt/crypt-private.h: Include ufc-crypt.h.
33218         (__b64_from_24bit): Declare extern.
33219         * crypt/crypt_util.c(__b64_from_24bit): New function.
33220         (b64t): New static const variable.
33221         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33222         (b64t): Remove variable.
33223         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33224         * crypt/sha256-crypt.c: Include crypt-private.h.
33225         (b64t): Remove variable.
33226         (__sha256_crypt_r): Remove b64_from_24bit and replace
33227         with __b64_from_24bit.
33228         * crypt/sha512-crypt.c: Likewise.
33230 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33232         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33233         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33234         Label the code __libc_vfork rather than __vfork.
33235         [!NOT_IN_libc] (vfork): Define as weak alias.
33236         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33237         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33238         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33240 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33242         * malloc/malloc.c (malloc_info): Fix format specifier for
33243         n_mmaps.
33245 2014-06-02  Wilco  <wdijkstr@arm.com>
33247         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33248         FPCR write.
33250 2014-06-02  Wilco  <wdijkstr@arm.com>
33252         [BZ #17009]
33253         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33254         Rewrite to reduce FPCR/FPSR accesses.
33256 2014-06-01  David S. Miller  <davem@davemloft.net>
33258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33260 2014-05-31  David S. Miller  <davem@davemloft.net>
33262         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33263         to occur in round to nearest mode when |x| >= 2.0
33265 2014-05-30  Richard Henderson  <rth@twiddle.net>
33267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33268         (PSEUDO_RET_NOERRNO): Remove.
33269         (ret): Don't redefine.
33270         (ret_NOERRNO): Define in terms of ret.
33271         (ret_ERRVAL): Likewise.
33273         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33274         use of PSEUDO_RET; perform the error check directly.
33276 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33278         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33279         with __int128_t.
33281 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33283         * malloc/malloc (malloc_info): Fix formatting.
33285 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33286             Roland McGrath  <roland@hack.frob.com>
33288         * malloc/malloc (malloc_info): Also print mmapped statistics.
33290 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33292         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33293         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33295 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33297         * malloc/malloc.c (malloc_info): Inline mi_arena.
33299 2014-05-29  Richard Henderson  <rth@twiddle.net>
33301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33302         Remove comma before expanding ASM_ARGS_##nr.
33303         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33304         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33305         of ASM_ARGS_##nr.
33306         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33307         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33308         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33309         (ASM_ARGS_1): Add leading comma.
33311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33312         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33313         to __errno_location.
33314         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33315         Remove the expected plt for __errno_location.
33317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33318         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33319         call to __read_tp.
33321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33322         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33323         it and break it down.
33324         (DOCARGS_0, DOCARGS_1): Do nothing.
33325         (DOCARGS_2): Update to store into the new stack frame.
33326         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33327         (UNDOCARGS_1): Update to restore from the new stack frame.
33328         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33329         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33332         (SINGLE_THREAD_P): New parameter for result regno.
33333         (PSEUDO): Update to match; use cbz instead of beq.
33335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33336         Use ENTRY to define the _nocancel entry point.  Share the syscall
33337         and syscall error check paths with the cancel path.
33338         (PSEUDO_END): New.
33340         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33341         whitespace; tabs before and after asm mnemonics.
33343 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33345         [BZ #15132]
33346         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33347         Call fstat64 or stat64 internally, depending on arguments passed.
33348         Replace stat buffer argument with file descriptor argument.
33349         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33350         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33351         Pass fd to __internal_statvfs instead of calling fstat64.
33352         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33353         Pass fd to __internal_statvfs64 instead of calling fstat64.
33354         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33355         Pass -1 to __internal_statvfs instead of calling stat64.
33356         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33357         Pass -1 to __internal_statvfs64 instead of calling stat64.
33359 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33361         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33362         that was previously under [RESET_PID].
33363         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33365         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33366         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33368 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33370         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33372         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33373         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33375 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33377         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33379 2014-05-27  Andreas Schwab  <schwab@suse.de>
33381         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33382         TLS_INIT_TP macro.
33383         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33384         * elf/rtld.c (init_tls, dl_main): Likewise.
33385         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33386         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33387         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33388         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33389         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33390         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33391         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33392         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33393         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33394         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33395         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33396         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33397         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33398         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33399         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33400         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33401         * sysdeps/generic/tls.h: Update description.
33403 2014-05-27  Will Newton  <will.newton@linaro.org>
33405         [BZ #16990]
33406         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33407         and restore r2 rather than just restoring.
33409 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33411         [BZ #16724]
33412         * libio/tst-ftell-append.c: New test case.
33413         * libio/Makefile (tests): Add test case.
33414         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33415         append mode.
33416         * libio/wfileops.c (do_ftell_wide): Likewise.
33418 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33422         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33423         ...
33424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33426         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33427         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33429         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33431         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33433         Moved ...
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33436         Moved ...
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33439         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33441         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33443         ...
33444         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33445         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33446         Moved ...
33447         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33448         here.
33449         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33450         ...
33451         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33453         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33455         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33456         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33457         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33458         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33461         merge into ...
33462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33464         ...
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33467         ...
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33472         here.
33473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33474         Moved ...
33475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33477         Moved ...
33478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33481         conditional [RESET_PID].
33482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33484         removed.
33485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33486         removed.
33488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33489         <tcb-offsets.h>.
33490         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33491         (__libc_vfork): New strong alias.
33492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33493         removed.
33494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33495         Removed.
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33498         <tcb-offsets.h>.
33499         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33500         (__libc_vfork): New strong alias.
33501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33502         removed.
33503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33504         removed.
33506 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33508         * malloc/malloc.c (mi_arena): New function.
33509         (malloc_info): Remove nested function mi_arena. Call non-nosted
33510         function mi_arena.
33512 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33514         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33515         by insrwi.
33516         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33517         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33518         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33519         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33520         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33521         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33522         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33524 2014-05-26  Andreas Schwab  <schwab@suse.de>
33526         [BZ #16984]
33527         * locale/programs/repertoire.c (repertoire_read): Add slash
33528         between I18NPATH element and file name.
33529         * locale/programs/locfile.c (locfile_read): Likewise.
33531 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33533         * nptl/pthread_mutexattr_settype.c
33534         (__pthread_mutexattr_settype):
33535         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33537 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33539         * nptl/tst-mutex5 (do_test):
33540         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33542 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33544         * benchtests/README: Document 'init' directive.
33545         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33546         BENCH_INIT.
33547         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33548         (parse_file): Recognize 'init' directive.
33550 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33552         [BZ #16796]
33553         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33554         alignment of struct pthread.
33556 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33558         [BZ #16878]
33559         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33560         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33561         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33562         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33564 2014-05-25  Richard Henderson  <rth@twiddle.net>
33566         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33567         (SINGLE_THREAD_P_PIC): Remove.
33568         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33569         (SINGLE_THREAD_P_PIC): Remove.
33571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33572         branch to syscall error ...
33573         (PSEUDO): ... here.
33574         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33575         from __local_syscall_error to .Lsyscall_error.
33576         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33577         (SYSCALL_ERROR): Update label name.
33579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33580         Do not use DOARGS/UNDOARGS.
33581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33582         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33583         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33584         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33585         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33588         block comment.
33590         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33591         define if !NOT_IN_libc.
33592         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33593         define with non-default symbol versions.
33595 2014-05-23  Richard Henderson  <rth@twiddle.net>
33597         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33598         (vfork, __vfork): Define via compat_symbol.
33600         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33601         [!HAVE_IFUNC] (vfork_compat): Remove.
33602         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33604 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33606         [BZ #16978]
33607         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33608         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33609         variable.
33611 2014-05-23  Richard Henderson  <rth@twiddle.net>
33613         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33614         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33615         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33616         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33618         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33619         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33620         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33621         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33623         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33624         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33625         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33626         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33627         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33628         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33629         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33630         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33631         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33632         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33633         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33634         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33635         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33637         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33638         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33639         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33640         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33641         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33642         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33643         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33644         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33645         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33646         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33647         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33648         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33649         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33650         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33651         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33653         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33654         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33655         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33657         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33658         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33659         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33660         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33661         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33662         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33663         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33665         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33667         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33669         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33671         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33673         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33675         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33676         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33677         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33678         before exiting on error.
33679         (__libc_vfork): New strong alias.
33680         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33681         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33683         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33684         that was previously under [RESET_PID].
33685         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33687         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33689 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33691         [BZ #16977]
33692         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33693         value when x - 1 is zero.
33694         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33695         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33696         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33697         0.0L for an argument of 1.0L.
33698         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33699         Likewise.
33700         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33701         value when x - 1 is zero.
33702         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33703         * sysdeps/i386/fpu/libm-test-ulps: Update.
33704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33706 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33708         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33709         alphasort and versionsort.
33711 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33713         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33714         macro.
33715         [copysignf]: Likewise.
33717 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33719         * crypt/md5-crypt.c: Fix formatting.
33721 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33723         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33724         (b64_from_24bit): New function.
33726 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33728         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33729         libc_hidden_builtin_def to ifunc.
33730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33731         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33733 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33735         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33736         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33738 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33740         * nscd/Depend (linuxthreads): Remove.
33741         (nptl): Add.
33742         * resolv/Depend (linuxthreads): Remove.
33743         * rt/Depend (linuxthreads): Remove.
33745         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33746         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33747         $(common-objpfx)elf/.
33748         (link-libc-before-gnulib): Likewise.
33749         (elfobjdir): Remove variable.
33750         * Makefile (install): Use $(elf-objpfx) instead of
33751         $(common-objpfx)elf/.
33752         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33753         $(elfobjdir)/.
33754         (link-libc-deps): Likewise.
33755         ($(common-objpfx)libc.so): Likewise.
33756         ($(common-objpfx)linkobj/libc.so): Likewise.
33757         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33758         instead of $(common-objpfx)elf/.
33759         (symbolic-link-list): Likewise.
33760         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33761         [$(cross-compiling) = no]: Likewise.
33762         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33763         $(elfobjdir)/.
33764         (static-gnulib-arch): Likewise.
33765         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33766         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33767         $(common-objpfx)elf/.
33769 2014-05-21  Richard Henderson  <rth@redhat.com>
33771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33772         (SINGLE_THREAD_P): Use the correct width load.  Fold
33773         into the ldr offset.
33775         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33776         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33778 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33780         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33781         (libgcc_s_resume): Use __attribute_used__.
33782         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33783         Likewise.
33785 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33787         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33788         optimization when used with float constants.
33790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33792 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33794         [BZ #16915]
33795         * locale/nl_langinfo_l.c: Make direct reference to every
33796         _nl_current_CATEGORY symbol.
33797         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33798         (tests-static): Add tst-langinfo-static.
33799         (tests-special): Add tst-langinfo-static.out.
33800         ($(objpfx)tst-langinfo.out): Redirect output.
33801         ($(objpfx)tst-langinfo-static.out): New.
33802         * localedata/tst-langinfo.sh: Send output to stdout.
33803         * localedata/tst-langinfo-static.c: New file.
33805         [BZ #16965]
33806         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33807         when the shift amount is modulo the limb size.
33809 2014-05-20  Richard Henderson  <rth@redhat.com>
33811         [BZ #16967]
33812         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33813         Change type of sa_flags from unsigned int to int.
33815         [BZ #16966]
33816         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33818         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33820 2014-05-20  Will Newton  <will.newton@linaro.org>
33822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33823         Test the return value of the system call in the nocancel case.
33825 2014-05-20  Will Newton  <will.newton@linaro.org>
33826             Yvan Roux  <yvan.roux@linaro.org>
33828         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33829         #include of asm/ptrace.h.
33830         (PTRACE_GET_THREAD_AREA): Remove #undef.
33831         (PTRACE_GETHBPREGS): Likewise.
33832         (PTRACE_SETHBPREGS): Likewise.
33833         (struct user_regs_struct): New structure.
33834         (struct user_fpsimd_struct): New structure.
33835         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33836         #include of asm/ptrace.h and second #include of sys/user.h.
33837         (PTRACE_GET_THREAD_AREA): Remove #undef.
33838         (PTRACE_GETHBPREGS): Likewise.
33839         (PTRACE_SETHBPREGS): Likewise.
33840         (ELF_NGREG): Use new struct user_regs_struct.
33841         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33843 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33848 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33850         [BZ #16958]
33851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33852         membar to avoid block loads/stores to overlap previous stores.
33854 2014-05-17  Richard Henderson  <rth@redhat.com>
33856         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33857         Create the __##syscall_name##_nocancel entry point.
33858         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33859         Remove; let the sysdep-cancel.h code create it.
33861 2014-05-17  David S. Miller  <davem@davemloft.net>
33863         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33864         Protect with __USE_GNU.
33865         (TIOCSET_TEMPT): Likewise.
33866         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33867         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33868         these are already provided in bits/ioctl-types.h
33870 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33872         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33873         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33875         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33876         Use wait4 regardless of [__NR_waitpid].
33878 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33880         PR libgcc/60166
33881         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33882         (_FP_NANSIGN_Q): Set the quiet bit.
33884 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33886         * benchtests/Makefile
33887         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33888         not $(common-objpfx)math/libm.so.
33889         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33890         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33891         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33892         $(common-objpfx)dlfcn/libdl.so.
33893         ($(objpfx)tst-audit8): Depend on $(libm), not
33894         $(common-objpfx)math/libm.so.
33895         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33896         not $(common-objpfx)dlfcn/libdl.so.
33897         * math/Makefile
33898         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33899         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33900         [$(build-shared) = yes].
33901         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33902         $(common-objpfx)nptl/libpthread.so.
33903         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33904         $(common-objpfx)math/libm.so$(libm.so-version) or
33905         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33906         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33907         $(common-objpfx)dlfcn/libdl.so.
33908         * setjmp/Makefile (link-libm): Remove variable.
33909         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33910         * stdio-common/Makefile (link-libm): Remove variable.
33911         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33912         * stdlib/Makefile (link-libm): Remove variable.
33913         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33914         ($(objpfx)tst-strtod-round): Likewise.
33915         ($(objpfx)tst-tininess): Likewise.
33916         ($(objpfx)tst-strtod-underflow): Likewise.
33917         ($(objpfx)tst-strtod6): Likewise.
33918         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33919         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33920         $(common-objpfx)dlfcn/libdl.so.
33922 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33924         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33925         BSD terminal modes definitions.
33927 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33929         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33930         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33932         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33933         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33934         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33935         Don't do #include_next.
33936         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33937         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33938         Don't do #include_next.
33939         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33940         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33941         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33942         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33944 2014-05-16  Allan McRae  <allan@archlinux.org>
33946         * po/sv.po: Update Swedish translation from translation project.
33948         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33949         in sed expression.
33951 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33953         [BZ #16917]
33954         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33955         errno if the TIOCGPTN ioctl fails with an error different than
33956         EINVAL.
33957         * login/tst-ptsname.c: New file.
33958         * login/Makefile (tests): Add tst-ptsname.
33960         [BZ #16943]
33961         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33962         and prlimit64.
33964 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33966         [BZ #16849]
33967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33968         herrno to return EAI_AGAIN.
33970 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33972         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33973         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33974         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33975         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33976         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33977         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33978         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33979         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33981         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33982         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33983         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33984         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33985         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33986         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33987         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33988         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33989         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33990         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33991         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33992         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33993         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34001         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34003         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34007         Moved ...
34008         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34010         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34014         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34016         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34018         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34020         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34022         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34024         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34026         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34028         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34030         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34032         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34034         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34036         Moved ...
34037         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34039         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34041         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34043         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34045         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34047         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34049         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34051         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34053         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34055         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34057         Moved ...
34058         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34060         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34062         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34063         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34064         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34065         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34066         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34067         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34068         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34069         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34070         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34071         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34072         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34073         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34074         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34075         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34076         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34077         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34078         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34079         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34080         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34081         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34082         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34083         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34084         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34085         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34087         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34089         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34090         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34091         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34094         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34095         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34097         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34098         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34099         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34100         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34101         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34103         Moved ...
34104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34106         Moved ...
34107         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34109         Moved ...
34110         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34112         Moved ...
34113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34114         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34115         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34116         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34117         Moved ...
34118         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34119         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34120         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34122         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34123         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34124         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34126         Moved ...
34127         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34129         Moved ...
34130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34131         ... here.
34132         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34133         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34134         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34135         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34136         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34137         Moved ...
34138         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34139         ... here.
34140         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34141         Moved ...
34142         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34143         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34144         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34145         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34146         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34148         Moved ...
34149         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34151         Moved ...
34152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34154         Moved ...
34155         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34157         Moved ...
34158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34159         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34160         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34161         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34162         Moved ...
34163         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34164         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34165         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34167         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34168         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34169         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34171         Moved ...
34172         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34174         Moved ...
34175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34176         ... here.
34177         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34178         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34179         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34180         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34181         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34182         Moved ...
34183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34184         ... here.
34185         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34186         Moved ...
34187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34188         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34189         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34190         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34191         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34192         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34193         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34194         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34195         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34197         Moved ...
34198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34200         Moved ...
34201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34203         Moved ...
34204         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34208         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34209         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34210         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34211         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34212         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34213         Moved ...
34214         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34215         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34216         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34218         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34220         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34222         Moved ...
34223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34225         Moved ...
34226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34227         ... here.
34228         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34229         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34231         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34233         Moved ...
34234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34235         ... here.
34236         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34240         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34241         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34242         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34243         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34244         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34245         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34246         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34247         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34248         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34250         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34251         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34253         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34254         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34256         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34257         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34258         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34259         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34260         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34261         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34262         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34263         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34264         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34265         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34266         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34267         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34270         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34272         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34274         Moved ...
34275         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34279         Moved ...
34280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34284         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34288         Moved ...
34289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34291         Moved ...
34292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34298         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34299         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34300         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34302         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34303         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34304         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34306         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34307         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34308         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34311         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34312         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34313         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34314         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34316         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34317         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34318         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34319         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34320         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34321         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34322         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34323         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34324         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34325         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34327         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34330         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34331         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34333         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34334         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34335         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34337         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34338         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34339         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34341         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34342         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34343         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34345         Update #include.
34346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34347         Likewise.
34348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34349         Likewise.
34350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34351         Likewise.
34352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34353         Likewise.
34354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34355         Likewise.
34356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34357         Likewise.
34358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34359         Likewise.
34360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34361         Likewise.
34362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34363         Likewise.
34364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34373         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34376         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34377         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34378         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34380         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34381         that was previously under [RESET_PID].
34382         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34383         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34384         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34386         * sysdeps/i386/nptl/Implies: New file.
34387         * sysdeps/x86_64/nptl/Implies: New file.
34388         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34389         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34391         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34393         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34395         (__libc_vfork): New strong alias.
34396         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34397         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34399         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34400         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34401         (__libc_vfork): New strong alias.
34402         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34403         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34405         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34406         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34407         (__libc_vfork): New strong alias.
34408         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34409         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34410         * nptl/pt-vfork.c: New file.
34411         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34412         (libpthread: GLIBC_2.20): New version set (empty).
34414 2014-05-14  Will Newton  <will.newton@linaro.org>
34416         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34417         rather than #if.
34419 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34421         [BZ #16564]
34422         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34423         arguments with exponent 65 or above.
34424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34425         arguments 0x1p113L or above.
34426         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34427         to arguments 0x1p107L or above.
34428         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34429         positive arguments with exponent 65 or above.
34430         * math/auto-libm-test-in: Add more tests of log1p.
34431         * math/auto-libm-test-out: Regenerated.
34433         [BZ #16928]
34434         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34435         non-finite arguments is +0.
34436         * math/s_cacosf.c (__cacosf): Likewise.
34437         * math/s_cacosl.c (__cacosl): Likewise.
34438         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34439         * sysdeps/i386/fpu/libm-test-ulps: Update.
34440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442         [BZ #16927]
34443         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34444         value.
34445         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34446         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34447         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34448         for explicit high bit of mantissa when testing for argument equal
34449         to 1.
34450         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34451         * sysdeps/i386/fpu/libm-test-ulps: Update.
34452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34454         [BZ #16516]
34455         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34456         (__erf): Scale by 16 instead of 8 in potentially underflowing
34457         case.  Ensure exception if result actually underflows.
34458         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34459         (__erff): Scale by 16 instead of 8 in potentially underflowing
34460         case.  Ensure exception if result actually underflows.
34461         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34462         (efx8): Remove variable.
34463         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34464         case.  Ensure exception if result actually underflows.
34465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34466         (efx8): Remove variable.
34467         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34468         case.  Ensure exception if result actually underflows.
34469         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34470         (efx8): Remove variable.
34471         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34472         case.  Ensure exception if result actually underflows.
34473         * math/auto-libm-test-in: Add more tests of erf.
34474         * math/auto-libm-test-out: Regenerated.
34476 2014-05-14  Andreas Schwab  <schwab@suse.de>
34478         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34479         Remove code conditionalized on USE___THREAD.
34481         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34482         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34483         not definedness.
34485 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34488         Define unconditionally.
34489         (__ASSUME_O_CLOEXEC): Likewise.
34490         (__ASSUME_SOCK_CLOEXEC): Likewise.
34491         (__ASSUME_IN_NONBLOCK): Likewise.
34492         (__ASSUME_PIPE2): Likewise.
34493         (__ASSUME_EVENTFD2): Likewise.
34494         (__ASSUME_SIGNALFD4): Likewise.
34495         (__ASSUME_DUP3): Likewise.
34496         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34497         (__ASSUME_DUP3): Do not define.
34498         (__ASSUME_EVENTFD2): Likewise.
34499         (__ASSUME_IN_NONBLOCK): Likewise.
34500         (__ASSUME_O_CLOEXEC): Likewise.
34501         (__ASSUME_PIPE2): Likewise.
34502         (__ASSUME_SIGNALFD4): Likewise.
34503         (__ASSUME_SOCK_CLOEXEC): Likewise.
34504         (__ASSUME_UTIMES): Undefine.
34505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34506         (__ASSUME_UTIMES): Do not define.
34507         (__ASSUME_O_CLOEXEC): Likewise.
34508         (__ASSUME_SOCK_CLOEXEC): Likewise.
34509         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34510         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34511         0x020621].
34512         (__ASSUME_PIPE2): Likewise.
34513         (__ASSUME_EVENTFD2): Likewise.
34514         (__ASSUME_SIGNALFD4): Likewise.
34515         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34516         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34517         Do not define.
34518         (__ASSUME_EVENTFD2): Likewise.
34519         (__ASSUME_SIGNALFD4): Likewise.
34520         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34521         (__ASSUME_32BITUIDS): Likewise.
34522         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34523         (__ASSUME_IPC64): Likewise.
34524         (__ASSUME_ST_INO_64_BIT): Likewise.
34525         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34526         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34527         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34528         (__ASSUME_UTIMES): Do not define.
34529         (__ASSUME_PSELECT): Likewise.
34530         (__ASSUME_PPOLL): Likewise.
34531         (__ASSUME_O_CLOEXEC): Likewise.
34532         (__ASSUME_SOCK_CLOEXEC): Likewise.
34533         (__ASSUME_IN_NONBLOCK): Likewise.
34534         (__ASSUME_PIPE2): Likewise.
34535         (__ASSUME_EVENTFD2): Likewise.
34536         (__ASSUME_SIGNALFD4): Likewise.
34537         (__ASSUME_DUP3): Likewise.
34538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34539         (__ASSUME_UTIMES): Likewise.
34540         (__ASSUME_O_CLOEXEC): Likewise.
34541         (__ASSUME_SOCK_CLOEXEC): Likewise.
34542         (__ASSUME_IN_NONBLOCK): Likewise.
34543         (__ASSUME_PIPE2): Likewise.
34544         (__ASSUME_EVENTFD2): Likewise.
34545         (__ASSUME_SIGNALFD4): Likewise.
34546         (__ASSUME_DUP3): Likewise.
34547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34548         (__ASSUME_UTIMES): Likewise.
34549         (__ASSUME_O_CLOEXEC): Likewise.
34550         (__ASSUME_SOCK_CLOEXEC): Likewise.
34551         (__ASSUME_IN_NONBLOCK): Likewise.
34552         (__ASSUME_PIPE2): Likewise.
34553         (__ASSUME_EVENTFD2): Likewise.
34554         (__ASSUME_SIGNALFD4): Likewise.
34555         (__ASSUME_DUP3): Likewise.
34556         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34557         Likewise.
34558         (__ASSUME_UTIMES): Likewise.
34559         (__ASSUME_EVENTFD2): Likewise.
34560         (__ASSUME_SIGNALFD4): Likewise.
34561         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34562         (__ASSUME_O_CLOEXEC): Likewise.
34563         (__ASSUME_SOCK_CLOEXEC): Likewise.
34564         (__ASSUME_IN_NONBLOCK): Likewise.
34565         (__ASSUME_PIPE2): Likewise.
34566         (__ASSUME_EVENTFD2): Likewise.
34567         (__ASSUME_SIGNALFD4): Likewise.
34568         (__ASSUME_DUP3): Likewise.
34569         (__ASSUME_UTIMES): Undefine.
34571         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34572         feclearexcept.  Remove symbol versioning code.
34573         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34574         symbol versioning code.
34575         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34576         symbol versioning code.
34577         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34578         feupdateenv.  Remove symbol versioning code.
34579         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34580         fegetexceptflag.  Remove symbol versioning code.
34581         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34582         fesetexceptflag.  Remove symbol versioning code.
34583         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34584         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34585         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34586         (__posix_fadvise64_l32): Remove prototype.
34587         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34588         code.
34590 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34592         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34593         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34594         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34595         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34597 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34599         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34600         current working directory
34602 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34604         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34605         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34606         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34607         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34608         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34609         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34610         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34611         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34612         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34613         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34614         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34615         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34617         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34618         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34619         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34620         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34621         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34622         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34623         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34624         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34627         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34628         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34629         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34630         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34631         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34633         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34637         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34638         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34639         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34640         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34641         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34642         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34643         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34644         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34645         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34647         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34648         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34650         * sysdeps/unix/sysv/linux/arm/Makefile
34651         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34652         Add rt-aeabi_unwind_cpp_pr1.
34653         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34654         Add nptl-aeabi_unwind_cpp_pr1.
34655         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34656         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34657         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34658         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34659         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34660         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34662         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34663         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34664         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34665         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34667         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34668         Deconditionalize the code that was previously under [RESET_PID].
34669         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34671         * sysdeps/generic/exit-thread.h: New file.
34672         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34673         * include/unistd.h (__exit_thread): Remove declaration.
34674         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34675         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34676         * csu/libc-start.c: Include <exit-thread.h>.
34677         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34678         * nptl/pthread_create.c: Include <exit-thread.h>.
34679         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34680         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34681         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34682         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34683         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34684         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34685         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34686         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34687         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34688         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34689         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34690         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34691         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34692         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34693         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34694         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34695         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34697 2014-05-13  Andreas Schwab  <schwab@suse.de>
34699         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34701 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34703         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34704         (__ASSUME_UTIMES): Do not condition on kernel version.
34705         (__ASSUME_PSELECT): Define unconditionally.
34706         (__ASSUME_PPOLL): Likewise.
34707         (__ASSUME_ATFCTS): Likewise.
34708         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34709         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34710         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34711         (__ASSUME_UTIMENSAT): Define unconditionally.
34712         (__ASSUME_PRIVATE_FUTEX): Likewise.
34713         (__ASSUME_FALLOCATE): Likewise.
34714         (__ASSUME_O_CLOEXEC): Likewise.
34715         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34716         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34717         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34718         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34719         (__ASSUME_IN_NONBLOCK): Likewise.
34720         (__ASSUME_PIPE2): Likewise.
34721         (__ASSUME_EVENTFD2): Likewise.
34722         (__ASSUME_SIGNALFD4): Likewise.
34723         (__ASSUME_DUP3): Likewise.
34724         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34725         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34726         (__ASSUME_AT_RANDOM): Likewise.
34727         (__ASSUME_PREADV): Likewise.
34728         (__ASSUME_PWRITEV): Likewise.
34729         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34730         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34731         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34732         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34733         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34734         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34735         (__ASSUME_O_CLOEXEC): Define unconditionally.
34736         (__ASSUME_PSELECT): Do not undefine conditionally.
34737         (__ASSUME_PPOLL): Likewise.
34738         (__ASSUME_ATFCTS): Likewise.
34739         (__ASSUME_SET_ROBUST_LIST): Likewise.
34740         (__ASSUME_UTIMENSAT): Likewise.
34741         (__ASSUME_FDATASYNC): Define unconditionally.
34742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34743         (__ASSUME_SIGFRAME_V2): Likewise.
34744         )__ASSUME_EVENTFD2): Likewise.
34745         (__ASSUME_SIGNALFD4): Likewise.
34746         (__ASSUME_PSELECT): Do not undefine conditionally.
34747         (__ASSUME_PPOLL): Likewise.
34748         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34749         (__ASSUME_PSELECT): Define unconditionally.
34750         (__ASSUME_PPOLL): Likewise.
34751         (__ASSUME_O_CLOEXEC): Likewise.
34752         (__ASSUME_SOCK_CLOEXEC): Likewise.
34753         (__ASSUME_IN_NONBLOCK): Likewise.
34754         (__ASSUME_PIPE2): Likewise.
34755         (__ASSUME_EVENTFD2): Likewise.
34756         (__ASSUME_SIGNALFD4): Likewise.
34757         (__ASSUME_DUP3): Likewise.
34758         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34759         (__ASSUME_O_CLOEXEC): Likewise.
34760         (__ASSUME_SOCK_CLOEXEC): Likewise.
34761         (__ASSUME_IN_NONBLOCK): Likewise.
34762         (__ASSUME_PIPE2): Likewise.
34763         (__ASSUME_EVENTFD2): Likewise.
34764         (__ASSUME_SIGNALFD4): Likewise.
34765         (__ASSUME_DUP3): Likewise.
34766         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34767         (__ASSUME_EVENTFD2): Likewise.
34768         (__ASSUME_SIGNALFD4): Likewise.
34769         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34771 2014-05-12  Andreas Schwab  <schwab@suse.de>
34773         [BZ #16932]
34774         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34775         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34776         than maximum RPC packet size.
34777         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34778         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34779         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34780         (_nss_nis_getservbyport_r): Likewise.
34782 2014-05-12  Will Newton  <will.newton@linaro.org>
34784         * malloc/Makefile (tests): Add tst-mallopt.
34785         * malloc/tst-mallopt.c: New file.
34787 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34789         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34790         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34792 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34794         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34795         (tst-tlsmod6.so): Likewise.
34797 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34799         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34801 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34803         [BZ #16064]
34804         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34805         and <dl-procinfo.h>.
34806         (__fegetenv): Save SSE state in envp->__eip if supported.
34807         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34808         envp->__eip if supported.
34809         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34810         and <dl-procinfo.h>.
34811         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34812         __data_offset and __data_selector in environment to 0.  Set SSE
34813         state if supported.
34814         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34815         test-fenv-sse.
34816         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34817         -mfpmath=sse.
34818         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34820 2014-05-09  Will Newton  <will.newton@linaro.org>
34822         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34823         and libc_relro_required for ARM.
34824         * sysdeps/arm/preconfigure: Regenerate.
34826 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34827             Stefan Liebler  <stli@linux.vnet.ibm.com>
34829         * config.make.in (enable-lock-elision): New Makefile variable.
34830         * configure.ac: Likewise.
34831         * configure: Regenerate.
34832         * sysdeps/s390/configure.ac:
34833         Add check for gcc transactions support.
34834         * sysdeps/s390/configure: Regenerate.
34835         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34836         Build elision files if enabled.
34837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34838         Add lock elision support for s390.
34839         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34840         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34842         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34843         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34844         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34846         Likewise.
34847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34848         Likewise.
34849         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34850         Likewise.
34851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34852         Likewise.
34853         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34854         (__lll_timedlock_elision, __lll_lock_elision)
34855         (__lll_unlock_elision, __lll_trylock_elision)
34856         (lll_timedlock_elision, lll_lock_elision)
34857         (lll_unlock_elision, lll_trylock_elision): Add.
34858         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34859         (pthread_mutex_t): Add lock elision support for s390.
34861 2014-05-14  Wilco  <wdijkstr@arm.com>
34863         * sysdeps/arm/fclrexcpt.c: Cleanup.
34864         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34865         * sysdeps/arm/feenablxcpt.c: Cleanup.
34866         * sysdeps/arm/fegetenv.c: Cleanup.
34867         * sysdeps/arm/fegetexcept.c: Cleanup.
34868         * sysdeps/arm/fegetround.c: Cleanup.
34869         * sysdeps/arm/feholdexcpt.c: Cleanup.
34870         * sysdeps/arm/fesetenv.c: Cleanup.
34871         * sysdeps/arm/fesetround.c: Cleanup.
34872         * sysdeps/arm/feupdateenv.c: Cleanup.
34873         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34874         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34875         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34876         * sysdeps/arm/ftestexcept.c: Cleanup.
34877         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34878         * sysdeps/arm/setfpucw.c: Cleanup.
34880 2014-05-09  Will Newton  <will.newton@linaro.org>
34882         * sysdeps/arm/armv7/strcmp.S: New file.
34883         * NEWS: Mention addition of ARMv7 optimized strcmp.
34885 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34887         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34888         look for %.ac rather than %.in.
34890         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34891         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34892         * sysdeps/mach/hurd/configure: Regenerated.
34893         * sysdeps/unix/sysv/linux/configure: Regenerated.
34895         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34897 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34899         [BZ# 16922]
34900         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34901         (LONG_SUB): Ditto.
34902         (PTR_SUB): Ditto.
34904 2014-05-07  Andreas Schwab  <schwab@suse.de>
34906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34907         when skipping over non-matching result from nscd.
34909 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34911         [BZ #16876]
34912         * nptl/sockperf.c (client): Check socket return value.
34914         [BZ #16877]
34915         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34916         nscd security class.
34918 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34920         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34921         * sysdeps/arm/unwind.h: ... here.
34923 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34925         [BZ# 16916]
34926         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34927         Define.
34929 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34931         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34932         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34933         multiarch strncpy for PPC64.
34934         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34935         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34937         multiarch optimizations.
34938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34939         (__libc_ifunc_impl_list): Likewise.
34940         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34941         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34942         multiarch stpncpy for PPC64.
34943         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34946 2014-05-06  Andreas Schwab  <schwab@suse.de>
34948         [BZ #16912]
34949         * gmon/mcount.c (_MCOUNT_DECL): Use
34950         atomic_compare_and_exchange_bool_acq instead of
34951         catomic_compare_and_exchange_bool_acq.
34953 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34955         * elf/Makefile (others, install-bin): Remove pldd.
34956         (pldd-modules): Variable removed.
34957         ($(objpfx)pldd): Target removed.
34958         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34959         (others, install-bin): Append pldd here.
34960         ($(objpfx)pldd): New target.
34962         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34963         to 0, so the first #if test emitted later doesn't see it undefined.
34964         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34965         * sysdeps/gnu/errlist.c: Regenerated.
34967 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34969         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34970         [libc_hidden_builtin_def]: Define to empty value.
34971         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34972         [libc_hidden_builtin_def]: Likewise.
34973         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34974         [libc_hidden_builtin_def]: Likewise.
34975         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34976         [libc_hidden_builtin_def]: Likewise.
34977         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34978         __redirect_memcpy and define ifunc as default hidden symbol.
34979         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34980         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34982 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34984         * locale/iso-4217.def: Reintroduce XDR currency.
34986 2014-05-04  Allan McRae  <allan@archlinux.org>
34988         * po/eo.po: Update Esperanto translation from translation project.
34990 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34992         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34993         and FEATURE_INDEX_MAX to 1.
34994         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34998         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34999         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35000         * iconvdata/big5.c (ONE_DIRECTION): Define.
35001         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35002         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35003         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35004         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35005         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35006         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35007         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35008         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35009         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35010         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35011         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35012         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35013         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35014         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35015         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35016         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35017         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35018         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35019         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35020         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35021         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35022         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35023         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35024         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35025         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35026         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35027         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35028         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35029         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35030         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35031         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35032         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35033         * iconvdata/johab.c (ONE_DIRECTION): Define.
35034         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35035         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35036         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35037         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35038         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35039         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35040         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35041         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35042         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35043         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35045 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35047         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35048         (_IO_JUMPS_OFFSET): Define to 0.
35050         * nptl/sysdeps/pthread/bits/libc-lock.h
35051         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35052         (__libc_lock_define_initialized_recursive): Always define using
35053         initializer.  Modern compilers treat uninitialized (implicit zero) and
35054         explicit zero initializers the same (i.e. put the datum in bss).
35056 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35058         * nscd/nscd-client.h: Include <string.h>.
35060 2014-05-01  David S. Miller  <davem@davemloft.net>
35062         [BZ #16885]
35063         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35064         multiple zero bytes exist at the end of a string.
35065         Reported by Aurelien Jarno <aurelien@aurel32.net>
35067         * string/test-strcmp.c (check): Add explicit test for situations where
35068         there are multiple zero bytes after the first.
35070 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35072         [BZ #16890]
35073         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35074         when compiling wprintf.
35075         * stdio-common/tstdiomisc.c (t3): New function.
35076         (main): Call it.
35078 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35080         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35081         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35082         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35083         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35085 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35087         * stdlib/longlong.h: Updated from GCC.
35089 2014-05-01  Will Newton  <will.newton@linaro.org>
35090             Bernard Ogden  <bernie.ogden@linaro.org>
35092         * NEWS: Update fixed bug list.
35094         [BZ #15119]
35095         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35097 2014-04-30  David S. Miller  <davem@davemloft.net>
35099         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35100         (libc_feholdexcept_setround_sparc_ctx): New function.
35101         (libc_fesetenv_sparc_ctx): Likewise.
35102         (libc_feupdateenv_sparc_ctx): Likewise.
35103         (libc_feholdsetround_sparc_ctx): Likewise.
35104         (libc_feholdexcept_setround_ctx): Define.
35105         (libc_feholdexcept_setroundf_ctx): Likewise.
35106         (libc_feholdexcept_setroundl_ctx): Likewise.
35107         (libc_fesetenv_ctx): Likewise.
35108         (libc_fesetenvf_ctx): Likewise.
35109         (libc_fesetenvl_ctx): Likewise.
35110         (libc_feupdateenv_ctx): Likewise.
35111         (libc_feupdateenvf_ctx): Likewise.
35112         (libc_feupdateenvl_ctx): Likewise.
35113         (libc_feresetround_ctx): Likewise.
35114         (libc_feresetroundf_ctx): Likewise.
35115         (libc_feresetroundl_ctx): Likewise.
35116         (libc_feholdsetround_ctx): Likewise.
35117         (libc_feholdsetroundf_ctx): Likewise.
35118         (libc_feholdsetroundl_ctx): Likewise.
35120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35121         with __USE_GNU instead of XOPEN cpp guards.
35123         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35124         0.
35126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35127         with XOPEN cpp guards.
35129 2014-04-30  Julian Brown  <julian@codesourcery.com>
35131         [BZ #16888]
35132         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35133         handling.
35135 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35137         [BZ #9894]
35138         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35139         Change to 2.6.32.
35140         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35141         * sysdeps/unix/sysv/linux/configure: Regenerated.
35142         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35143         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35144         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35145         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35146         * README: Update reference to required Linux kernel version.
35147         * manual/install.texi (Linux): Update reference to required Linux
35148         kernel headers version.
35149         * INSTALL: Regenerated.
35151         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35152         header inclusion.
35153         [POSIX] (limits.h): Likewise.
35154         [POSIX] (math.h): Likewise.
35155         [POSIX] (sys/wait.h): Likewise.
35156         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35157         function.
35158         [POSIX] (stddef.h): Do not allow header inclusion.
35160 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35162         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35164 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35166         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35167         Return immediately after lll_futex_wake.
35169 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35171         [BZ #16791]
35172         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35173         structure.
35174         (datahead_init_pos): Call datahead_init_common early.
35175         (datahead_init_neg): Likewise.
35177         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35178         datahead_init_neg): New functions.
35179         * nscd/aicache.c (addhstaiX): Use them.
35180         * nscd/grpcache.c (cache_addgr): Likewise.
35181         * nscd/hstcache.c (cache_addhst): Likewise.
35182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35183         * nscd/netgroupcache.c (do_notfound): Likewise.
35184         (addgetnetgrentX): Likewise.
35185         (addinnetgrX): Likewise.
35186         * nscd/pwdcache.c (cache_addpw): Likewise.
35187         * nscd/servicescache.c (cache_addserv): Likewise.
35189 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35190             Atsushi Onoe  <atsushi@onoe.org>
35192         [BZ #14308]
35193         [BZ #12994]
35194         [BZ #13651]
35195         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35196         one response is valid.
35197         * resolv/res_send.c (send_dg): Check for validity of other
35198         response if the current response is a referral.
35200 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35202         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35204 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35206         [BZ #16823]
35207         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35208         Always divide by positive zero when computing -Inf result.
35209         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35210         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35212 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35214         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35215         FPSCR if value do not change.
35216         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35217         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35218         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35219         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35220         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35221         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35222         function.
35224 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35226         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35227         * sysdeps/unix/sysv/linux/hppa: Move directory from
35228         ports/systeps/unix/sysv/linux/hppa.
35229         * README: Update listing for hppa-*-linux-gnu.
35231 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35233         [BZ #16754]
35234         * manual/stdio.texi (Hook functions): Fix types of stream hook
35235         functions.
35236         [BZ #16854]
35237         * socket/sys/socket.h: Fix typo in comment.
35239 2014-04-28  Wilco  <wdijkstr@arm.com>
35241         * sysdeps/arm/fenv_private.h: New file.
35242         * sysdeps/arm/math_private.h: New file.
35243         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35245 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35247         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35248         with __int128_t.
35249         (La_x86_64_retval): Likewise.
35251 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35253         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35254         fpsr if value didn't change.
35255         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35256         to fpcr if value didn't change.
35257         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35258         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35259         fpsr or fpcr if value didn't change.
35260         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35261         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35262         fpcr if value didn't change.
35263         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35264         to fpsr if value didn't change.
35266 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35268         * nptl/tst-sem3.c: Use test-skeleton.c
35269         (main): Rename to do_test.  Use return instead of
35270         exit.
35271         * nptl/tst-sem4.c: Use test-skeleton.c
35272         (main): Rename to do_test.
35274 2014-04-22  David S. Miller  <davem@davemloft.net>
35276         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35277         (struct sigaction): New struct member __glibc_reserved0, change
35278         type of sa_flags to int.
35280 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35282         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35283         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35285 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35287         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35288         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35290 2014-04-22  Will Newton  <will.newton@linaro.org>
35291             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35293         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35294         (__longjmp): Add longjmp and longjmp_target SystemTap
35295         probes.
35296         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35297         (__sigsetjmp): Add setjmp SystemTap probe.
35299 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35301         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35302         match manual order.
35304 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35306         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35308         * sysdeps/powerpc/fpu/fenv_private.h
35309         (libc_feholdexcept_setroundl_ctx): Define to
35310         libc_feholdexcept_setround_ppc_ctx.
35311         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35312         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35313         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35314         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35316 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35318         * sysdeps/aarch64/math-tests.h: New file.
35320 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35322         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35323         New.
35324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35325         Check and set bit_AVX2_Usable.
35326         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35327         macro.
35328         (bit_AVX2): Likewise.
35329         (index_AVX2_Usable): Likewise.
35330         (CPUID_AVX2): Likewise.
35331         (HAS_AVX2): Likewise.
35333 2014-04-17  Will Newton  <will.newton@linaro.org>
35335         * manual/setjmp.texi (System V contexts): Add note that
35336         calling setcontext on a context created by a call to a
35337         signal handler is undefined.  Update text to note that
35338         setcontext from a signal handler is possible but not
35339         recommended.
35341         [BZ #16629]
35342         * stdlib/tst-setcontext.c: Include signal.h.
35343         (main): Check that the signal stack before and
35344         after swapcontext is the same.
35346         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35347         Re-implement to restore registers in user code and avoid
35348         rt_sigreturn system call.
35350 2014-04-17  Wilco  <wdijkstr@arm.com>
35352         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35353         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35354         * math/test-fenv.c: Skip exception trap tests on targets which only
35355         support non-stop mode.
35357 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35358             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35360         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35361         (libc_feholdsetround_aarch64_ctx)
35362         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35363         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35364         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35365         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35366         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35367         (libc_feresetround_noexl_ctx): Define.
35369 2014-04-16  Richard Henderson  <rth@redhat.com>
35371         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35373         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35374         unwind tables.
35376         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35377         const from the non-libc, non-ldso copy.
35379         * sysdeps/alpha/libm-test-ulps: Regenerate.
35381 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35382             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35384         * sysdeps/aarch64/fpu/math_private.h: New file.
35386 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35388         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35390 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35392         [BZ #16275]
35393         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35394         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35395         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35396         Intel MPX bound registers before _dl_profile_fixup.
35397         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35398         registers after _dl_profile_fixup.  Save and restore bound
35399         registers bnd0/bnd1 when calling _dl_call_pltexit.
35400         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35401         (LR_BND_OFFSET): Likewise.
35402         (LRV_BND0_OFFSET): Likewise.
35403         (LRV_BND1_OFFSET): Likewise.
35405 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35407         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35408         to...
35409         * sysdeps/mach/hurd/i386/tls.h: ... here.
35410         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35411         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35412         fields.
35414 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35416         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35418 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35420         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35422 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35424         [BZ #14770]
35425         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35426         * sysdeps/s390/configure: Regenerate.
35428         [BZ #16824]
35429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35430         Set round-to-nearest internally to reduce error accumulation.
35432 2014-04-16  Alan Modra  <amodra@gmail.com>
35434         [BZ #16740]
35435         [BZ #16619]
35436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35437         * math/libm-test.inc (frexp_test_data): Add tests.
35438         * NEWS: Update fixed bug list.
35440 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35442         * benchtests/Makefile: Depend on libraries in build directory.
35443         (bench-math): Separate out math tests.
35444         (bench-pthread): Separate out pthread tests.
35445         (bench): Include math and pthread tests.
35447 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35449         [BZ #16831]
35450         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35451         _dl_debug_initialize.
35453         * configure.ac: Remove SELinux header check.
35454         * configure: Regenerate.
35455         * nscd/selinux.c (perms): Array of const char* to permission names.
35456         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35457         default policy. Call string_to_security_class and string_to_av_perm to
35458         translate strings. Enforce default policy and call avs_has_perm with
35459         results of translated strings.
35461 2014-04-13  David S. Miller  <davem@davemloft.net>
35463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35465 2014-04-12  Allan McRae  <allan@archlinux.org>
35467         [BZ #16838]
35468         * manual/string.texi (Collation Functions): Fix qsort argument
35469         order in example.
35470         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35472 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35474         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35475         Make the test a no-op if there are no exceptions defined.
35477 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35479         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35480         enable-hardcoded-path-in-tests
35482 2014-04-11  Will Newton  <will.newton@linaro.org>
35484         * benchtests/Makefile (extra-objs): Add json-lib.o.
35485         (bench-func): Tidy up JSON output.
35486         * benchtests/bench-skeleton.c: Include json-lib.h.
35487         (main): Use JSON library functions to do output of
35488         benchmark results.
35489         * benchtests/bench-timing-type.c (main): Output the
35490         timing type simply, leaving formatting to the user.
35491         * benchtests/json-lib.c: New file.
35492         * benchtests/json-lib.h: Likewise.
35494 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35496         [BZ #15215]
35497         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35498         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35499         memory barriers.  Add comments.
35500         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35501         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35502         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35503         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35504         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35505         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35507 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35509         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35510         * sysdeps/s390/s390-64/configure.ac: ... this ...
35511         * sysdeps/s390/configure.ac: ... to here.
35512         * sysdeps/s390/s390-32/configure: Delete file.
35513         * sysdeps/s390/s390-64/configure: Delete file.
35514         * sysdeps/s390/configure: Regenerate.
35516 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35518         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35520 2014-04-11  Will Newton  <will.newton@linaro.org>
35522         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35523         to zero if it is not defined elsewhere.  (mtrim): Test
35524         the value of MALLOC_DEBUG with #if rather than #ifdef.
35526 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35528         * benchtests/pthread_once-inputs: New file.
35529         * benchtests/pthread_once-source.c: New file.
35530         * benchtests/README: Update documentation.
35532 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35533             H.J. Lu  <hongjiu.lu@intel.com>
35535         [BZ #16275]
35536         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35537         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35538         * sysdeps/x86_64/configure: Regenerated.
35539         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35540         macro.
35541         (REGISTER_SAVE_RAX): Likewise.
35542         (REGISTER_SAVE_RCX): Likewise.
35543         (REGISTER_SAVE_RDX): Likewise.
35544         (REGISTER_SAVE_RSI): Likewise.
35545         (REGISTER_SAVE_RDI): Likewise.
35546         (REGISTER_SAVE_R8): Likewise.
35547         (REGISTER_SAVE_R9): Likewise.
35548         (REGISTER_SAVE_BND0): Likewise.
35549         (REGISTER_SAVE_BND1): Likewise.
35550         (REGISTER_SAVE_BND2): Likewise.
35551         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35552         bound registers when calling _dl_fixup.
35554 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35556         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35557         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35558         of its definition.
35559         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35560         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35561         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35562         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35563         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35564         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35565         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35567 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35569         [BZ #15514]
35570         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35571         pathconf(_PC_NAME_MAX).
35573 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35575         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35576         Remove macro usage.
35577         (__PTHREAD_SPINS): Move definition to ...
35578         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35579         (__PTHREAD_SPINS): ... here.
35580         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35581         (__PTHREAD_SPIN): Likewise.
35582         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35583         (__PTHREAD_SPIN): Likewise.
35584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35585         (__PTHREAD_SPIN): Likewise.
35586         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35587         (__PTHREAD_SPIN): Likewise.
35588         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35589         (__PTHREAD_SPIN): Likewise.
35590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35591         (__PTHREAD_SPIN): Likewise.
35592         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35593         (__PTHREAD_SPIN): Likewise.
35594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35595         (__PTHREAD_SPIN): Likewise.
35596         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35597         (__PTHREAD_SPIN): Likewise.
35598         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35599         (__PTHREAD_SPIN): Likewise.
35600         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35601         (__PTHREAD_SPIN): Likewise.
35602         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35603         (__PTHREAD_SPIN): Likewise.
35605         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35606         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35607         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35608         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35609         imply folder.
35610         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35611         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35612         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35613         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35614         correct imply path.
35615         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35616         strlen symbol for non multi-arch builds.
35617         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35618         missing hidden_def and weak_alias.
35620 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35622         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35624 2014-04-07  Will Newton  <will.newton@linaro.org>
35626         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35627         and contents.  [!_LIBC] Remove #ifndef and contents.
35628         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35629         * string/memccpy.c (__memccpy): Use ANSI prototype.
35630         * string/memfrob.c (memfrob): Likewise.
35631         * string/strcoll.c (STRCOLL): Likewise.
35632         * string/strlen.c (strlen): Likewise.
35633         * string/strtok.c (STRTOK): Likewise.
35634         * string/strcat.c: Remove unused #include of memcopy.h.
35635         (strcat): Use ANSI prototype.
35636         * string/strchr.c: Remove unused #include of memcopy.h.
35637         (strchr): Use ANSI prototype.
35638         * string/strcmp.c: Remove unused #include of memcopy.h.
35639         (strcmp): Use ANSI prototype.
35640         * string/strcpy.c: Remove unused #include of memcopy.h.
35641         (strcpy): Use ANSI prototype.
35643 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35645         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35646         * config.make.in (config-extra-cppflags): Set it from
35647         libc_extra_cppflags.
35648         * configure.ac (libc_extra_cflags): Make it accumulate over
35649         configure fragments.
35650         (libc_extra_cppflags): New flag.
35651         * configure. Regenerate.
35652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35653         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35654         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35657         [BZ #16815]
35658         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35659         result for FE_DOWNWARD rounding mode.
35660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35661         Likewise.
35662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35664 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35666         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35667         in function argument name.
35669 2014-04-03  David Svoboda  <svoboda@cert.org>
35671         [BZ #5666]
35672         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35673         explicitly.
35675 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35677         * elf/dl-unmap-segments.h: New file.
35678         * sysdeps/generic/ldsodefs.h
35679         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35680         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35681         * elf/dl-fptr.c: Likewise.
35682         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35683         * sysdeps/aarch64/tlsdesc.c: Likewise.
35684         * sysdeps/arm/tlsdesc.c: Likewise.
35685         * sysdeps/i386/tlsdesc.c: Likewise.
35686         * sysdeps/tile/dl-runtime.c: Likewise.
35687         * sysdeps/x86_64/tlsdesc.c: Likewise.
35688         * elf/dl-load.h: New file.
35689         * elf/dl-load.c: Include it.
35690         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35691         Macros moved to dl-load.h.
35692         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35693         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35694         Use _dl_unmap_segments in place of __munmap.
35695         Break out segment-mapping loop into ...
35696         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35698 2014-04-03  Will Newton  <will.newton@linaro.org>
35700         * elf/dl-lookup.c (do_lookup_x): Remove comment
35701         referring to nested function and move variable
35702         declarations down to before first use.
35704 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35706         [BZ #16799]
35707         [BZ #16800]
35708         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35709         with 0 numerator.
35710         * math/s_catanf.c (__catanf): Likewise.
35711         * math/s_catanh.c (__catanh): Likewise.
35712         * math/s_catanhf.c (__catanhf): Likewise.
35713         * math/s_catanhl.c (__catanhl): Likewise.
35714         * math/s_catanl.c (__catanl): Likewise.
35715         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35716         by positive zero when computing -Inf result.
35717         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35718         (catanh_test): Likewise.
35719         * sysdeps/i386/fpu/libm-test-ulps: Update.
35720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35722         [BZ #16789]
35723         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35724         instead of using underflowing value in computing result.
35725         * math/s_clog10.c (__clog10): Likewise.
35726         * math/s_clog10f.c (__clog10f): Likewise.
35727         * math/s_clog10l.c (__clog10l): Likewise.
35728         * math/s_clogf.c (__clogf): Likewise.
35729         * math/s_clogl.c (__clogl): Likewise.
35730         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35731         (clog10_test): Likewise.
35732         * sysdeps/i386/fpu/libm-test-ulps: Update.
35733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35735 2014-04-02  Alan Modra  <amodra@gmail.com>
35737         [BZ #16739]
35738         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35739         output when value is near a power of two.  Use int64_t for lx and
35740         remove casts.  Use decimal rather than hex exponent constants.
35741         Don't use long double multiplication when double will suffice.
35742         * math/libm-test.inc (nextafter_test_data): Add tests.
35743         * NEWS: Add 16739 and 16786 to bug list.
35745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35747         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35749 2014-04-01  Will Newton  <will.newton@linaro.org>
35751         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35752         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35754 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35756         [BZ #13347]
35757         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35758         * nptl/tst-setuid2.c: New file.
35759         * nptl/Makefile (xtests): Add tst-setuid2.
35761 2014-04-01  Alan Modra  <amodra@gmail.com>
35763         [BZ #16786]
35764         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35766 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35768         [BZ #6803]
35769         [BZ #6804]
35770         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35771         set errno as appropriate.
35772         * math/w_scalbf.c (__scalbf): Likewise.
35773         * math/w_scalbl.c (__scalbl): Likewise.
35774         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35775         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35776         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35777         Add more NaN tests.
35779         [BZ #16349]
35780         * math/w_atan2.c: Include <errno.h>.
35781         (__atan2): Set errno for result underflowing to zero.
35782         * math/w_atan2f.c: Include <errno.h>.
35783         (__atan2f): Set errno for result underflowing to zero.
35784         * math/w_atan2l.c: Include <errno.h>.
35785         (__atan2l): Set errno for result underflowing to zero.
35786         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35787         tests.
35788         * math/auto-libm-test-out: Regenerated.
35790 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35792         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35793         Encode instruction correctly in little endian.
35794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35795         Likewise.
35796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35797         Likewise.
35798         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35799         Likewise.
35800         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35801         Likewise.
35803 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35805         [BZ #9894]
35806         * sysdeps/unix/sysv/linux/kernel-features.h
35807         [__sparc__ && !__arch64__ && !__sparc_v9__]
35808         (__ASSUME_SET_ROBUST_LIST): Do not define.
35809         [__sparc__ && !__arch64__ && !__sparc_v9__]
35810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35811         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35812         Likewise.
35813         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35814         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35815         (__ASSUME_REQUEUE_PI): Likewise.
35816         (__ASSUME_SET_ROBUST_LIST): Likewise.
35817         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35818         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35819         Undefine.
35820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35822         Likewise.
35823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35824         Likewise.
35825         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35826         Likewise.
35827         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35828         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35829         Undefine.
35830         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35831         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35832         Likewise.
35834         [BZ #16648]
35835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35837         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35839 2014-03-31  Will Newton  <will.newton@linaro.org>
35841         * benchtests/Makefile (bench): Add ffs and ffsll to list
35842         of tests.
35843         * benchtests/ffs-inputs: New file.
35844         * benchtests/ffsll-inputs: Likewise.
35846 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35848         [BZ #16770]
35849         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35850         too large before casting to int.
35851         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35852         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35853         * math/libm-test.inc (scalb_test_data): Add more tests.
35855 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35857         * benchtests/Makefile (DETAILED_OPT): New make option.
35858         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35859         set.
35860         * benchtests/bench-skeleton.c: Include stdbool.h.
35861         (main): Store and print timings per input.
35862         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35863         member to each argument value.
35864         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35865         (_print_arg_data): Initialize per-input timing to 0.
35867         * benchtests/Makefile (timing-type): New binary.
35868         (bench-clean): Also remove bench-timing-type.
35869         (bench): New target for timing-type.
35870         (bench-func): Print output in JSON format.
35871         * benchtests/bench-skeleton.c (main): Print output in JSON
35872         format.
35873         * benchtests/bench-timing-type.c: New file.
35874         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35875         (TIMING_PRINT_STATS): Remove.
35876         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35877         name separately.
35879         * benchtests/bench-modf.c: Remove.
35880         * benchtests/modf-inputs: New inputs file.
35882 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35884         [BZ #16362]
35885         * math/s_clog10.c (M_PI_LOG10E): New macro.
35886         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35887         imaginary parts are 0.
35888         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35889         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35890         imaginary parts are 0.
35891         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35892         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35893         imaginary parts are 0.
35894         * math/libm-test.inc (clog10_test_data): Update expected results
35895         for when real and imaginary parts are 0.
35897 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35899         * elf/dl-load.c: Finish conversion of __builtin_expect into
35900         __glibc_{un}likely.
35902 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35904         [BZ #16348]
35905         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35906         1+x for argument with exponent below -67.
35907         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35908         Likewise.
35909         * math/auto-libm-test-in: Add more tests of exp.
35910         * math/auto-libm-test-out: Regenerated.
35912 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35914         [BZ #16759]
35915         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35916         (nscd_getnetgrent): Use it.
35918         [BZ #16760]
35919         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35920         of stpcpy.
35922 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35924         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35925         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35926         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35927         (lll_robust_unlock): Remove out of line section. Use cfi
35928         intrinsics.
35929         (LLL_STUB_UNWIND_INFO*): Remove.
35930         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35931         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35932         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35933         (lll_robust_unlock): Remove out of line section. Use cfi
35934         intrinsics.
35935         (LLL_STUB_UNWIND_INFO*): Remove.
35937 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35939         [BZ #16758]
35940         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35941         blank values.
35943 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35945         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35947 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35949         [BZ #16198]
35950         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35951         fnstenv.
35952         * math/test-fenv-preserve.c: New file.
35953         * math/Makefile (tests): Add test-fenv-preserve.
35955 2014-03-26  Will Newton <will.newton@linaro.org>
35957         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35959 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35961         * scripts/versionlist.awk: Partition the version sets and emit all
35962         GLIBC_* (sorted) before all others (sorted).
35964 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35966         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35967         GLIBC_2.2.5 version.
35969 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35971         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35972         calls.
35974         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35975         previous change.
35977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35979 2014-03-25  Andreas Schwab  <schwab@suse.de>
35981         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35982         label to be used after in6ailist is initialized.
35984 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35986         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35987         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35989 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35991         [BZ #16357]
35992         [BZ #16599]
35993         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35994         min_plus_half.
35995         (fp_formats): Update initializers.
35996         (init_fp_formats): Initialize new field.
35997         (output_for_one_input_case): Allow underflow for results up to
35998         min_plus_half.
35999         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36000         * math/auto-libm-test-in: Don't mark some underflows from asin and
36001         atanh as spurious.
36002         * math/auto-libm-test-out: Regenerated.
36003         * sysdeps/i386/fpu/libm-test-ulps: Update.
36004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36006 2014-03-25  Andreas Schwab  <schwab@suse.de>
36008         * libio/Makefile (tst-ftell-partial-wide-ENV)
36009         (tst-ftell-active-handler-ENV): Define.
36011 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36013         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36015 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36017         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36019 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36021         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36022         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36023         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36025 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36027         [BZ #16634]
36028         * elf/dl-load.c (open_verify): Add mode parameter.
36029         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36030         (open_path): Change from boolean 'secure' to complete flag 'mode'
36031         (_dl_map_object): Adjust.
36032         * elf/Makefile (tests): Add tst-dlopen-aout.
36033         * elf/tst-dlopen-aout.c: New test.
36035 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36037         [BZ #16714]
36038         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36039         (struct stat): Rename member pad0 to __glibc_reserved0.
36041         [BZ #16712]
36042         * sysdeps/s390/s390-32/bits/wordsize.h
36043         (__WORDSIZE32_SIZE_ULONG): New define.
36044         * sysdeps/s390/s390-64/bits/wordsize.h
36045         (__WORDSIZE32_SIZE_ULONG): Likewise.
36046         * sysdeps/generic/stdint.h (SIZE_MAX):
36047         Define as UL if __WORDSIZE32_SIZE_ULONG.
36049         [BZ #16713]
36050         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36051         (__glibc_reserved0): New variable.
36052         (sa_flags): Change type to int.
36054         * posix/Makefile (before-compile): Use += before-compile instead
36055         of a :=.
36057         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36058         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36060 2014-03-20  Andreas Schwab  <schwab@suse.de>
36062         [BZ #16743]
36063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36064         non-matching result from nscd.
36066 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36068         * scripts/bench.py: Moved to ...
36069         * benchtests/scripts/bench.py: ... here.
36070         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36072 2014-03-24  Andreas Schwab  <schwab@suse.de>
36074         [BZ #16002]
36075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36076         alloca_account and account alloca use for struct in6ailist.
36078 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36080         [BZ #16284]
36081         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36082         rounding mode to recompute results that overflow to infinity or
36083         underflow to zero.
36084         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36085         bug 16284.
36086         * math/auto-libm-test-out: Regenerated.
36087         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36088         (ccosh_test): Likewise.
36089         (csin_test_data): Use plus_oflow.
36090         (csin_test): Use ALL_RM_TEST.
36091         (csinh_test_data): Use plus_oflow.
36092         (csinh_test): Use ALL_RM_TEST.
36093         * sysdeps/i386/fpu/libm-test-ulps: Update.
36094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36096 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36098         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36099         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36100         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36102         [BZ #16731]
36103         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36104         when x - 1 is zero.
36105         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36106         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36107         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36108         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36109         argument is 1.
36110         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36111         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36112         zero.
36113         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36114         * sysdeps/i386/fpu/libm-test-ulps: Update.
36115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36117 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36119         * scripts/bench.pl: Remove file.
36120         * scripts/bench.py: New benchmark script.
36121         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36122         * benchtests/README: Mention python dependency.
36123         * scripts/pylintrc: New file.
36124         * scripts/pylint: New file.
36126         * bits/mathdef.h: Use #ifdef instead of #if.
36127         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36128         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36129         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36130         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36131         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36132         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36134 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36135             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36137         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36139         and strpbrk-ppc64 objects.
36140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36141         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36143         multiarch strpbrk for POWER7.
36144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36145         multiarch strpbrk for PPC64.
36146         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36147         ifunc selector.
36148         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36149         strpbrk for POWER7.
36151 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36153         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36154         (atan_test): Likewise.
36155         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36156         (atanh_test): Use ALL_RM_TEST.
36157         (atan2_test_data): Likewise.
36158         (cabs_test): Likewise.
36159         (cacosh_test): Likewise.
36160         (carg_test): Likewise.
36161         (casin_test): Likewise.
36162         (casinh_test): Likewise.
36163         (cbrt_test): Likewise.
36164         (csqrt_test): Likewise.
36165         (erf_test): Likewise.
36166         (erfc_test): Likewise.
36167         (pow10_test): Likewise.
36168         (exp2_test): Likewise.
36169         (hypot_test): Likewise.
36170         (j0_test): Likewise.
36171         (j1_test): Likewise.
36172         (lgamma_test): Likewise.
36173         (gamma_test): Likewise.
36174         (sincos_test): Likewise.
36175         (tanh_test): Likewise.
36176         (y0_test): Likewise.
36177         (y1_test): Likewise.
36178         * sysdeps/i386/fpu/libm-test-ulps: Update.
36179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36181 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36183         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36185         and strcspn-ppc64 objects.
36186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36187         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36188         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36189         multiarch strcspn for POWER7.
36190         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36191         multiarch strcspn for PPC64.
36192         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36193         ifunc selector.
36194         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36195         strcspn for POWER7.
36197 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36199         * math/gen-libm-test.pl (generate_testfile): Expect only function
36200         name as argument to AUTO_TESTS_* and pass results for all rounding
36201         modes to parse_args.
36202         (parse_auto_input): Separate inputs of automatic tests from
36203         outputs before storing in %auto_tests.
36204         * math/libm-test.inc (acos_test_data): Update call to
36205         AUTO_TESTS_f_f.
36206         (acos_test): Use ALL_RM_TEST.
36207         (acos_tonearest_test_data): Remove.
36208         (acos_test_tonearest): Likewise.
36209         (acos_towardzero_test_data): Likewise.
36210         (acos_test_towardzero): Likewise.
36211         (acos_downward_test_data): Likewise.
36212         (acos_test_downward): Likewise.
36213         (acos_upward_test_data): Likewise.
36214         (acos_test_upward): Likewise.
36215         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36216         (asin_test_data): Likewise.
36217         (asin_test): Use ALL_RM_TEST.
36218         (asin_tonearest_test_data): Remove.
36219         (asin_test_tonearest): Likewise.
36220         (asin_towardzero_test_data): Likewise.
36221         (asin_test_towardzero): Likewise.
36222         (asin_downward_test_data): Likewise.
36223         (asin_test_downward): Likewise.
36224         (asin_upward_test_data): Likewise.
36225         (asin_test_upward): Likewise.
36226         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36227         (atan_test_data): Likewise.
36228         (atanh_test_data): Likewise.
36229         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36230         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36231         (carg_test_data): Likewise.
36232         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36233         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36234         (ccosh_test_data): Likewise.
36235         (cexp_test_data): Likewise.
36236         (clog_test_data): Likewise.
36237         (clog10_test_data): Likewise.
36238         (cos_test_data): Update call to AUTO_TESTS_f_f.
36239         (cos_test): Use ALL_RM_TEST.
36240         (cos_tonearest_test_data): Remove.
36241         (cos_test_tonearest): Likewise.
36242         (cos_towardzero_test_data): Likewise.
36243         (cos_test_towardzero): Likewise.
36244         (cos_downward_test_data): Likewise.
36245         (cos_test_downward): Likewise.
36246         (cos_upward_test_data): Likewise.
36247         (cos_test_upward): Likewise.
36248         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36249         (cosh_test): Use ALL_RM_TEST.
36250         (cosh_tonearest_test_data): Remove.
36251         (cosh_test_tonearest): Likewise.
36252         (cosh_towardzero_test_data): Likewise.
36253         (cosh_test_towardzero): Likewise.
36254         (cosh_downward_test_data): Likewise.
36255         (cosh_test_downward): Likewise.
36256         (cosh_upward_test_data): Likewise.
36257         (cosh_test_upward): Likewise.
36258         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36259         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36260         (ctan_test_data): Likewise.
36261         (ctan_test): Use ALL_RM_TEST.
36262         (ctan_tonearest_test_data): Remove.
36263         (ctan_test_tonearest): Likewise.
36264         (ctan_towardzero_test_data): Likewise.
36265         (ctan_test_towardzero): Likewise.
36266         (ctan_downward_test_data): Likewise.
36267         (ctan_test_downward): Likewise.
36268         (ctan_upward_test_data): Likewise.
36269         (ctan_test_upward): Likewise.
36270         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36271         (ctanh_test): Use ALL_RM_TEST.
36272         (ctanh_tonearest_test_data): Remove.
36273         (ctanh_test_tonearest): Likewise.
36274         (ctanh_towardzero_test_data): Likewise.
36275         (ctanh_test_towardzero): Likewise.
36276         (ctanh_downward_test_data): Likewise.
36277         (ctanh_test_downward): Likewise.
36278         (ctanh_upward_test_data): Likewise.
36279         (ctanh_test_upward): Likewise.
36280         (erf_test_data): Update call to AUTO_TESTS_f_f.
36281         (erfc_test_data): Likewise.
36282         (exp_test_data): Likewise.
36283         (exp_test): Use ALL_RM_TEST.
36284         (exp_tonearest_test_data): Remove.
36285         (exp_test_tonearest): Likewise.
36286         (exp_towardzero_test_data): Likewise.
36287         (exp_test_towardzero): Likewise.
36288         (exp_downward_test_data): Likewise.
36289         (exp_test_downward): Likewise.
36290         (exp_upward_test_data): Likewise.
36291         (exp_test_upward): Likewise.
36292         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36293         (exp10_test): Use ALL_RM_TEST.
36294         (exp10_tonearest_test_data): Remove.
36295         (exp10_test_tonearest): Likewise.
36296         (exp10_towardzero_test_data): Likewise.
36297         (exp10_test_towardzero): Likewise.
36298         (exp10_downward_test_data): Likewise.
36299         (exp10_test_downward): Likewise.
36300         (exp10_upward_test_data): Likewise.
36301         (exp10_test_upward): Likewise.
36302         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36303         (expm1_test_data): Likewise.
36304         (expm1_test): Use ALL_RM_TEST.
36305         (expm1_tonearest_test_data): Remove.
36306         (expm1_test_tonearest): Likewise.
36307         (expm1_towardzero_test_data): Likewise.
36308         (expm1_test_towardzero): Likewise.
36309         (expm1_downward_test_data): Likewise.
36310         (expm1_test_downward): Likewise.
36311         (expm1_upward_test_data): Likewise.
36312         (expm1_test_upward): Likewise.
36313         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36314         (fma_test): Use ALL_RM_TEST.
36315         (fma_towardzero_test_data): Remove.
36316         (fma_test_towardzero): Likewise.
36317         (fma_downward_test_data): Likewise.
36318         (fma_test_downward): Likewise.
36319         (fma_upward_test_data): Likewise.
36320         (fma_test_upward): Likewise.
36321         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36322         (j0_test_data): Update call to AUTO_TESTS_f_f.
36323         (j1_test_data): Likewise.
36324         (jn_test_data): Update call to AUTO_TESTS_if_f.
36325         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36326         (log_test_data): Update call to AUTO_TESTS_f_f.
36327         (log10_test_data): Likewise.
36328         (log1p_test_data): Likewise.
36329         (log2_test_data): Likewise.
36330         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36331         (pow_tonearest_test_data): Likewise.
36332         (sin_test_data): Update call to AUTO_TESTS_f_f.
36333         (sin_test): Use ALL_RM_TEST.
36334         (sin_tonearest_test_data): Remove.
36335         (sin_test_tonearest): Likewise.
36336         (sin_towardzero_test_data): Likewise.
36337         (sin_test_towardzero): Likewise.
36338         (sin_downward_test_data): Likewise.
36339         (sin_test_downward): Likewise.
36340         (sin_upward_test_data): Likewise.
36341         (sin_test_upward): Likewise.
36342         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36343         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36344         (sinh_test): Use ALL_RM_TEST.
36345         (sinh_tonearest_test_data): Remove.
36346         (sinh_test_tonearest): Likewise.
36347         (sinh_towardzero_test_data): Likewise.
36348         (sinh_test_towardzero): Likewise.
36349         (sinh_downward_test_data): Likewise.
36350         (sinh_test_downward): Likewise.
36351         (sinh_upward_test_data): Likewise.
36352         (sinh_test_upward): Likewise.
36353         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36354         (sqrt_test): Use ALL_RM_TEST.
36355         (sqrt_tonearest_test_data): Remove.
36356         (sqrt_test_tonearest): Likewise.
36357         (sqrt_towardzero_test_data): Likewise.
36358         (sqrt_test_towardzero): Likewise.
36359         (sqrt_downward_test_data): Likewise.
36360         (sqrt_test_downward): Likewise.
36361         (sqrt_upward_test_data): Likewise.
36362         (sqrt_test_upward): Likewise.
36363         (tan_test_data): Update call to AUTO_TESTS_f_f.
36364         (tan_test): Use ALL_RM_TEST.
36365         (tan_tonearest_test_data): Remove.
36366         (tan_test_tonearest): Likewise.
36367         (tan_towardzero_test_data): Likewise.
36368         (tan_test_towardzero): Likewise.
36369         (tan_downward_test_data): Likewise.
36370         (tan_test_downward): Likewise.
36371         (tan_upward_test_data): Likewise.
36372         (tan_test_upward): Likewise.
36373         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36374         (tgamma_test_data): Likewise.
36375         (y0_test_data): Likewise.
36376         (y1_test_data): Likewise.
36377         (yn_test_data): Update call to AUTO_TESTS_if_f.
36378         (main): Do not call removed functions.
36380 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36382         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36383         (ldexp_test_data): Remove.
36384         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36385         scalbn_test_data.
36386         (scalb_test): Use ALL_RM_TEST.
36388 2014-03-19  Andreas Schwab  <schwab@suse.de>
36390         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36392 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36394         [BZ #16649]
36395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36396         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36399         (__ASSUME_PREADV): Undefine.
36400         (__ASSUME_PWRITEV): Likewise.
36402 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36404         * bits/mman-linux.h: Add comment about non-Linux use.
36405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36406         bits/mman-linux.h resting place.
36408         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36409         * bits/mman-linux.h: ... here.
36411 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36413         * conform/conformtest.pl: Add standard definition when calling C
36414         preprocessor on data files.
36415         (checknamespace): Remove unused variable.
36417 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36419         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36420         minus_oflow, plus_uflow and minus_uflow in expected results.
36421         * math/libm-test.inc (scalbn_test_data): Add more tests of
36422         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36423         minus_uflow.
36424         (scalbn_test): Use ALL_RM_TEST.
36425         (scalbln_test_data): Add more tests of negative arguments.  Use
36426         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36427         (scalbln_test): Use ALL_RM_TEST.
36429 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36431         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36433 2014-03-18  Will Newton  <will.newton@linaro.org>
36435         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36436         inaccurate comment.
36438 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36440         * Makerules [!subdir] (check-abi): Exit with error status if a
36441         test failed.
36443 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36445         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36446         for rint.  Include results for all rounding modes.
36447         (nearbyint_test): Use ALL_RM_TEST.
36448         (rint_test_data): Include all tests used for nearbyint.
36450 2014-03-17  Will Newton  <will.newton@linaro.org>
36452         * nptl/sysdeps/pthread/pthread.h: Revert previous
36453         change.
36455         * sysdeps/generic/ldsodefs.h: Revert previous
36456         change.
36458         * libio/genops.c: Revert previous change.
36459         * libio/libioP.h: Likewise.
36460         * stdio-common/vfprintf.c: Likewise.
36462         * sysdeps/generic/math_private.h: Revert previous
36463         change.
36465         * sysdeps/generic/math_private.h: Check whether
36466         HAVE_RM_CTX is defined with #ifdef rather
36467         than #if.
36469         * argp/argp-fmtstream.h: Check whether
36470         __STRICT_ANSI__ is defined with #ifdef rather
36471         than #if.
36472         * argp/argp.h: Likewise.
36474         * libio/genops.c: Check whether
36475         _IO_JUMPS_OFFSET is defined with #ifdef rather
36476         than #if.
36477         * libio/libioP.h: Likewise.
36478         * stdio-common/vfprintf.c: Likewise.
36480         * sysdeps/generic/ldsodefs.h: Check whether
36481         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36482         than #if.
36484         * nptl/sysdeps/pthread/pthread.h: Check
36485         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36486         its value.
36488 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36490         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36491         setting O_APPEND.
36492         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36493         test case.
36495         [BZ #16680]
36496         * libio/fileops.c (_IO_file_open): Seek to end of file but
36497         don't cache the offset.
36498         (get_file_offset): Remove function.
36499         (do_ftell): Use cached offset when available.
36500         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36501         don't cache the offset.
36502         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36503         case.
36504         (do_one_test): Call it.
36505         (do_ftell_test): Fix up expected old offset for a+ mode.
36506         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36507         available.
36509         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36510         up test status with function return status.
36511         (do_write_test): Likewise.
36512         (do_append_test): Likewise.
36514         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36515         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36516         Remove.
36518 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36520         * math/gen-libm-test.pl (parse_args): Handle results specified for
36521         each rounding mode separately.
36522         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36523         tests and results from lrint_tonearest_test_data,
36524         lrint_towardzero_test_data, lrint_downward_test_data and
36525         lrint_upward_test_data.
36526         (lrint_test): Use ALL_RM_TEST.
36527         (lrint_tonearest_test_data): Remove.
36528         (lrint_test_tonearest): Likewise.
36529         (lrint_towardzero_test_data): Likewise.
36530         (lrint_test_towardzero): Likewise.
36531         (lrint_downward_test_data): Likewise.
36532         (lrint_test_downward): Likewise.
36533         (lrint_upward_test_data): Likewise.
36534         (lrint_test_upward): Likewise.
36535         (llrint_test_data): Merge in per-rounding-mode tests and results
36536         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36537         llrint_downward_test_data and llrint_upward_test_data.
36538         (llrint_test): Use ALL_RM_TEST.
36539         (llrint_tonearest_test_data): Remove.
36540         (llrint_test_tonearest): Likewise.
36541         (llrint_towardzero_test_data): Likewise.
36542         (llrint_test_towardzero): Likewise.
36543         (llrint_downward_test_data): Likewise.
36544         (llrint_test_downward): Likewise.
36545         (llrint_upward_test_data): Likewise.
36546         (llrint_test_upward): Likewise.
36547         (rint_test_data): Merge in per-rounding-mode tests and results
36548         from rint_tonearest_test_data, rint_towardzero_test_data,
36549         rint_downward_test_data and rint_upward_test_data.  Add
36550         per-rounding-mode results for tests not in those arrays.
36551         (rint_test): Use ALL_RM_TEST.
36552         (rint_tonearest_test_data): Remove.
36553         (rint_test_tonearest): Likewise.
36554         (rint_towardzero_test_data): Likewise.
36555         (rint_test_towardzero): Likewise.
36556         (rint_downward_test_data): Likewise.
36557         (rint_test_downward): Likewise.
36558         (rint_upward_test_data): Likewise.
36559         (rint_test_upward): Likewise.
36560         (main): Don't call removed functions.
36562 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36564         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36565         "Compiled on ..." crapola.  It is anti-useful.
36567 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36569         * scripts/evaluate-test.sh: Handle fourth argument to determine
36570         whether test run should stop on failure.
36571         * Makeconfig (stop-on-test-failure): New variable.
36572         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36573         $(stop-on-test-failure).
36574         * Makefile (tests): Give a summary of results from testing and
36575         exit with failure status if they include an ERROR or FAIL.
36576         (xtests): Likewise.
36577         * manual/install.texi (Configuring and compiling): Mention
36578         stop-on-test-failure=y.
36579         * INSTALL: Regenerated.
36581 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36583         * scripts/versionlist.awk: New file.
36584         * Makerules [$(build-shared) = yes]
36585         (postclean-generated): Add Versions.def, not Versions.def.v and
36586         Versions.def.v.i.
36587         ($(common-objpfx)Versions.def.v.i): Target removed.
36588         ($(common-objpfx)Versions.def): New target.
36589         ($(common-objpfx)Versions.all): Depend on that rather that
36590         $(common-objpfx)Versions.def.v.
36591         * Versions.def: File removed.
36593         * Makeconfig (+gccwarn): Add -Wundef.
36594         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36595         a dl-sysdep.h breaking its contract.
36596         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36597         * include/stackinfo.h: New file.
36598         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36599         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36600         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36601         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36602         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36603         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36604         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36605         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36606         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36607         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36608         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36609         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36610         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36611         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36612         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36614 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36616         [BZ #16707]
36617         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36618         implementation.
36619         * math/libm-test.inc (round_test_data): Add more tests.
36621         [BZ #16706]
36622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36623         implementation.
36624         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36626         [BZ #16701]
36627         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36628         implementation.
36629         * math/libm-test.inc (ceil_test_data): Add more tests.
36631         * math/libm-test.inc (trunc_test_data): Add more tests related to
36632         BZ#16414.
36634 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36636         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36637         with #if rather than #ifdef.
36638         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36640 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36642         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36643         first.  Disable AVX-512 GCC support if assembler doesn't support
36644         it.
36645         * sysdeps/x86_64/configure: Regenerated.
36647 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36649         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36650         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36651         (__old_pthread_attr_setstack): Likewise.
36652         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36653         [!_STACK_GROWS_DOWN]: Likewise.
36655 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36657         * config.make.in (have-bash2): Delete.
36658         * configure.ac (libc_cv_have_bash2): Delete.
36659         * configure: Regenerate.
36660         * elf/Makefile (common-ldd-rewrite): Rename to ...
36661         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36662         (sh-ldd-rewrite): Delete.
36663         (bash-ldd-rewrite): Delete.
36664         (have-bash2): Delete checks.
36665         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36666         ldd-rewrite.
36668         * config.make.in (have-ksh): Delete.
36669         (KSH): Delete.
36670         * configure.ac (libc_cv_have_ksh): Delete.
36671         * configure: Regenerate.
36673         * elf/Makefile: Delete $(have-ksh) check.
36674         ($(objpfx)sotruss): Change KSH to BASH.
36675         * elf/sotruss.ksh: Rename to ...
36676         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36677         function style to match POSIX.  Drop ksh vim mode setting.
36679         * manual/time.texi (Specifying the Time Zone with TZ): Change
36680         Tuesday to Thursday.
36682         * debug/tst-longjmp_chk2.c: Update header comment.
36683         (stackoverflow_handler): Add comment.  Call assert on pass value.
36685 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36687         [BZ #16194]
36688         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36689         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36690         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36691         (La_x86_64_vector): Add zmm.
36692         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36693         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36694         ($(objpfx)tst-audit10): New target.
36695         ($(objpfx)tst-audit10.out): Likewise.
36696         (tst-audit10-ENV): New.
36697         (AVX512-CFLAGS): Likewise.
36698         (CFLAGS-tst-audit10.c): Likewise.
36699         (CFLAGS-tst-auditmod10a.c): Likewise.
36700         (CFLAGS-tst-auditmod10b.c): Likewise.
36701         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36702         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36703         * sysdeps/x86_64/configure: Regenerated.
36704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36705         AVX-512 zmm register support.
36706         (_dl_x86_64_save_sse): Likewise.
36707         (_dl_x86_64_restore_sse): Likewise.
36708         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36709         size vector registers.
36710         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36711         (ZMM_SIZE): Likewise.
36712         * sysdeps/x86_64/tst-audit10.c: New file.
36713         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36714         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36716 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36718         * configure.ac (HAVE_EHDR_START): New check.
36719         * configure: Regenerated.
36720         * config.h.in (HAVE_EHDR_START): New #undef.
36721         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36722         assuming the lowest-addressed segment maps the start of the file.
36724 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36726         * INSTALL: Regenerated.
36728 2014-03-13  Will Newton  <will.newton@linaro.org>
36730         * manual/setjmp.texi (System V contexts): Improve
36731         clarity and grammar of documentation.
36733 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36735         [BZ #16381]
36736         * elf/Makefile (tests): Add tst-pie2.
36737         (tests-pie): Add tst-pie2.
36738         * elf/tst-pie2.c: New file.
36739         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36740         for ET_EXEC.
36741         * elf/rtld.c (map_doit): Load executable as lt_executable.
36742         (dl_main): Likewise.
36744 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36746         [BZ #16642]
36747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36748         (__ASSUME_PSELECT): Undefine.
36750 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36752         [BZ #16689]
36753         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36754         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36755         static build.
36756         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36757         selector for static builds.
36759 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36761         [BZ #16695]
36762         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36763         key in the buffer.
36765 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36767         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36768         IFUNC selector for static builds.
36770 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36772         * sysdeps/mips/math_private.h [__mips_hard_float]
36773         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36774         libc_feresetround_mips_ctx.
36775         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36776         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36777         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36779         [BZ #16677]
36780         * math/s_nextafter.c (__nextafter): Do not return value from
36781         overflowing computation.
36782         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36783         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36784         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36785         Likewise.
36786         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36787         Likewise.
36788         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36789         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36791 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36793         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36794         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36795         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36796         the new mov targetting sp.
36798 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36800         [BZ #16683]
36801         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36802         Define it for static builds as well.
36803         (NO_BZERO_IMPL): Likewise.
36805 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36807         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36808         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36809         multiarch strspn for PPC64.
36810         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36811         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36813         (__libc_ifunc_impl_list): Likewise.
36814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36815         multiarch optimizations
36816         * string/strspn.c (strspn): Using macro to redefine symbol name.
36818 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36819             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36821         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36822         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36823         multiarch strncat for PPC64.
36824         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36827         (__libc_ifunc_impl_list): Likewise.
36828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36829         multiarch optimizations
36831 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36833         [BZ #16639]
36834         * nscd/nscd.service: Make service type forking.
36836 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36838         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36839         sign in non default rounding modes.
36840         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36842 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36844         * math/libm-test.inc (ALL_RM_TEST): New macro.
36845         (ceil_test): Use ALL_RM_TEST.
36846         (cimag_test): Likewise.
36847         (conj_test): Likewise.
36848         (copysign_test): Likewise.
36849         (cproj_test): Likewise.
36850         (creal_test): Likewise.
36851         (fabs_test): Likewise.
36852         (floor_test): Likewise.
36853         (fmax_test): Likewise.
36854         (fmin_test): Likewise.
36855         (fmod_test): Likewise.
36856         (fpclassify_test): Likewise.
36857         (frexp_test): Likewise.
36858         (ilogb_test): Likewise.
36859         (isfinite_test): Likewise.
36860         (finite_test): Likewise.
36861         (isgreater_test): Likewise.
36862         (isgreaterequal_test): Likewise.
36863         (isinf_test): Likewise.
36864         (isless_test): Likewise.
36865         (islessequal_test): Likewise.
36866         (islessgreater_test): Likewise.
36867         (isnan_test): Likewise.
36868         (isnormal_test): Likewise.
36869         (issignaling_test): Likewise.
36870         (isunordered_test): Likewise.
36871         (logb_test): Likewise.
36872         (logb_downward_test_data): Remove.
36873         (logb_test_downward): Likewise.
36874         (lround_test): Use ALL_RM_TEST.
36875         (llround_test): Likewise.
36876         (modf_test): Likewise.
36877         (nexttoward_test): Likewise.
36878         (remainder_test): Likewise.
36879         (drem_test): Likewise.
36880         (remainder_tonearest_test_data): Likewise.
36881         (remainder_test_tonearest): Likewise.
36882         (drem_test_tonearest): Likewise.
36883         (remainder_towardzero_test_data): Likewise.
36884         (remainder_test_towardzero): Likewise.
36885         (drem_test_towardzero): Likewise.
36886         (remainder_downward_test_data): Likewise.
36887         (remainder_test_downward): Likewise.
36888         (drem_test_downward): Likewise.
36889         (remainder_upward_test_data): Likewise.
36890         (remainder_test_upward): Likewise.
36891         (drem_test_upward): Likewise.
36892         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36893         (round_test): Use ALL_RM_TEST.
36894         (signbit_test): Likewise.
36895         (trunc_test): Likewise.
36896         (significand_test): Likewise.
36897         (main): Don't call removed functions.
36899 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36901         [BZ #16674]
36902         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36903         || __USE_XOPEN2K8].
36904         (ILL_ILLOPN): Likewise.
36905         (ILL_ILLADR): Likewise.
36906         (ILL_ILLTRP): Likewise.
36907         (ILL_PRVOPC): Likewise.
36908         (ILL_PRVREG): Likewise.
36909         (ILL_COPROC): Likewise.
36910         (ILL_BADSTK): Likewise.
36911         (FPE_INTDIV): Likewise.
36912         (FPE_INTOVF): Likewise.
36913         (FPE_FLTDIV): Likewise.
36914         (FPE_FLTOVF): Likewise.
36915         (FPE_FLTUND): Likewise.
36916         (FPE_FLTRES): Likewise.
36917         (FPE_FLTINV): Likewise.
36918         (FPE_FLTSUB): Likewise.
36919         (SEGV_MAPERR): Likewise.
36920         (SEGV_ACCERR): Likewise.
36921         (BUS_ADRALN): Likewise.
36922         (BUS_ADRERR): Likewise.
36923         (BUS_OBJERR): Likewise.
36924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36925         (TRAP_TRACE): Likewise.
36926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36927         __USE_XOPEN2K8].
36928         (CLD_KILLED): Likewise.
36929         (CLD_DUMPED): Likewise.
36930         (CLD_TRAPPED): Likewise.
36931         (CLD_STOPPED): Likewise.
36932         (CLD_CONTINUED): Likewise.
36933         (POLL_IN): Likewise.
36934         (POLL_OUT): Likewise.
36935         (POLL_MSG): Likewise.
36936         (POLL_ERR): Likewise.
36937         (POLL_PRI): Likewise.
36938         (POLL_HUP): Likewise.
36939         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36940         Likewise.
36941         (ILL_ILLOPN): Likewise.
36942         (ILL_ILLADR): Likewise.
36943         (ILL_ILLTRP): Likewise.
36944         (ILL_PRVOPC): Likewise.
36945         (ILL_PRVREG): Likewise.
36946         (ILL_COPROC): Likewise.
36947         (ILL_BADSTK): Likewise.
36948         (FPE_INTDIV): Likewise.
36949         (FPE_INTOVF): Likewise.
36950         (FPE_FLTDIV): Likewise.
36951         (FPE_FLTOVF): Likewise.
36952         (FPE_FLTUND): Likewise.
36953         (FPE_FLTRES): Likewise.
36954         (FPE_FLTINV): Likewise.
36955         (FPE_FLTSUB): Likewise.
36956         (SEGV_MAPERR): Likewise.
36957         (SEGV_ACCERR): Likewise.
36958         (BUS_ADRALN): Likewise.
36959         (BUS_ADRERR): Likewise.
36960         (BUS_OBJERR): Likewise.
36961         (BUS_MCEERR_AR): Likewise.
36962         (BUS_MCEERR_AO): Likewise.
36963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36964         (TRAP_TRACE): Likewise.
36965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36966         __USE_XOPEN2K8].
36967         (CLD_KILLED): Likewise.
36968         (CLD_DUMPED): Likewise.
36969         (CLD_TRAPPED): Likewise.
36970         (CLD_STOPPED): Likewise.
36971         (CLD_CONTINUED): Likewise.
36972         (POLL_IN): Likewise.
36973         (POLL_OUT): Likewise.
36974         (POLL_MSG): Likewise.
36975         (POLL_ERR): Likewise.
36976         (POLL_PRI): Likewise.
36977         (POLL_HUP): Likewise.
36978         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36979         (ILL_ILLOPN): Likewise.
36980         (ILL_ILLADR): Likewise.
36981         (ILL_ILLTRP): Likewise.
36982         (ILL_PRVOPC): Likewise.
36983         (ILL_PRVREG): Likewise.
36984         (ILL_COPROC): Likewise.
36985         (ILL_BADSTK): Likewise.
36986         (FPE_INTDIV): Likewise.
36987         (FPE_INTOVF): Likewise.
36988         (FPE_FLTDIV): Likewise.
36989         (FPE_FLTOVF): Likewise.
36990         (FPE_FLTUND): Likewise.
36991         (FPE_FLTRES): Likewise.
36992         (FPE_FLTINV): Likewise.
36993         (FPE_FLTSUB): Likewise.
36994         (SEGV_MAPERR): Likewise.
36995         (SEGV_ACCERR): Likewise.
36996         (BUS_ADRALN): Likewise.
36997         (BUS_ADRERR): Likewise.
36998         (BUS_OBJERR): Likewise.
36999         (BUS_MCEERR_AR): Likewise.
37000         (BUS_MCEERR_AO): Likewise.
37001         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37002         (TRAP_TRACE): Likewise.
37003         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37004         __USE_XOPEN2K8].
37005         (CLD_KILLED): Likewise.
37006         (CLD_DUMPED): Likewise.
37007         (CLD_TRAPPED): Likewise.
37008         (CLD_STOPPED): Likewise.
37009         (CLD_CONTINUED): Likewise.
37010         (POLL_IN): Likewise.
37011         (POLL_OUT): Likewise.
37012         (POLL_MSG): Likewise.
37013         (POLL_ERR): Likewise.
37014         (POLL_PRI): Likewise.
37015         (POLL_HUP): Likewise.
37016         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37017         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         (ILL_BADIADDR): Likewise.
37026         (ILL_BREAK): Likewise.
37027         (FPE_INTDIV): Likewise.
37028         (FPE_INTOVF): Likewise.
37029         (FPE_FLTDIV): Likewise.
37030         (FPE_FLTOVF): Likewise.
37031         (FPE_FLTUND): Likewise.
37032         (FPE_FLTRES): Likewise.
37033         (FPE_FLTINV): Likewise.
37034         (FPE_FLTSUB): Likewise.
37035         (FPE_DECOVF): Likewise.
37036         (FPE_DECDIV): Likewise.
37037         (FPE_DECERR): Likewise.
37038         (FPE_INVASC): Likewise.
37039         (FPE_INVDEC): Likewise.
37040         (SEGV_MAPERR): Likewise.
37041         (SEGV_ACCERR): Likewise.
37042         (SEGV_PSTKOVF): Likewise.
37043         (BUS_ADRALN): Likewise.
37044         (BUS_ADRERR): Likewise.
37045         (BUS_OBJERR): Likewise.
37046         (BUS_MCEERR_AR): Likewise.
37047         (BUS_MCEERR_AO): Likewise.
37048         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37049         (TRAP_TRACE): Likewise.
37050         (TRAP_BRANCH): Likewise.
37051         (TRAP_HWBKPT): Likewise.
37052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37053         __USE_XOPEN2K8].
37054         (CLD_KILLED): Likewise.
37055         (CLD_DUMPED): Likewise.
37056         (CLD_TRAPPED): Likewise.
37057         (CLD_STOPPED): Likewise.
37058         (CLD_CONTINUED): Likewise.
37059         (POLL_IN): Likewise.
37060         (POLL_OUT): Likewise.
37061         (POLL_MSG): Likewise.
37062         (POLL_ERR): Likewise.
37063         (POLL_PRI): Likewise.
37064         (POLL_HUP): Likewise.
37065         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37066         (ILL_ILLOPN): Likewise.
37067         (ILL_ILLADR): Likewise.
37068         (ILL_ILLTRP): Likewise.
37069         (ILL_PRVOPC): Likewise.
37070         (ILL_PRVREG): Likewise.
37071         (ILL_COPROC): Likewise.
37072         (ILL_BADSTK): Likewise.
37073         (FPE_INTDIV): Likewise.
37074         (FPE_INTOVF): Likewise.
37075         (FPE_FLTDIV): Likewise.
37076         (FPE_FLTOVF): Likewise.
37077         (FPE_FLTUND): Likewise.
37078         (FPE_FLTRES): Likewise.
37079         (FPE_FLTINV): Likewise.
37080         (FPE_FLTSUB): Likewise.
37081         (SEGV_MAPERR): Likewise.
37082         (SEGV_ACCERR): Likewise.
37083         (BUS_ADRALN): Likewise.
37084         (BUS_ADRERR): Likewise.
37085         (BUS_OBJERR): Likewise.
37086         (BUS_MCEERR_AR): Likewise.
37087         (BUS_MCEERR_AO): Likewise.
37088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37089         (TRAP_TRACE): Likewise.
37090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37091         __USE_XOPEN2K8].
37092         (CLD_KILLED): Likewise.
37093         (CLD_DUMPED): Likewise.
37094         (CLD_TRAPPED): Likewise.
37095         (CLD_STOPPED): Likewise.
37096         (CLD_CONTINUED): Likewise.
37097         (POLL_IN): Likewise.
37098         (POLL_OUT): Likewise.
37099         (POLL_MSG): Likewise.
37100         (POLL_ERR): Likewise.
37101         (POLL_PRI): Likewise.
37102         (POLL_HUP): Likewise.
37103         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37104         (ILL_ILLOPN): Likewise.
37105         (ILL_ILLADR): Likewise.
37106         (ILL_ILLTRP): Likewise.
37107         (ILL_PRVOPC): Likewise.
37108         (ILL_PRVREG): Likewise.
37109         (ILL_COPROC): Likewise.
37110         (ILL_BADSTK): Likewise.
37111         (FPE_INTDIV): Likewise.
37112         (FPE_INTOVF): Likewise.
37113         (FPE_FLTDIV): Likewise.
37114         (FPE_FLTOVF): Likewise.
37115         (FPE_FLTUND): Likewise.
37116         (FPE_FLTRES): Likewise.
37117         (FPE_FLTINV): Likewise.
37118         (FPE_FLTSUB): Likewise.
37119         (SEGV_MAPERR): Likewise.
37120         (SEGV_ACCERR): Likewise.
37121         (BUS_ADRALN): Likewise.
37122         (BUS_ADRERR): Likewise.
37123         (BUS_OBJERR): Likewise.
37124         (BUS_MCEERR_AR): Likewise.
37125         (BUS_MCEERR_AO): Likewise.
37126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37127         (TRAP_TRACE): Likewise.
37128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37129         __USE_XOPEN2K8].
37130         (CLD_KILLED): Likewise.
37131         (CLD_DUMPED): Likewise.
37132         (CLD_TRAPPED): Likewise.
37133         (CLD_STOPPED): Likewise.
37134         (CLD_CONTINUED): Likewise.
37135         (POLL_IN): Likewise.
37136         (POLL_OUT): Likewise.
37137         (POLL_MSG): Likewise.
37138         (POLL_ERR): Likewise.
37139         (POLL_PRI): Likewise.
37140         (POLL_HUP): Likewise.
37141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37142         (ILL_ILLOPN): Likewise.
37143         (ILL_ILLADR): Likewise.
37144         (ILL_ILLTRP): Likewise.
37145         (ILL_PRVOPC): Likewise.
37146         (ILL_PRVREG): Likewise.
37147         (ILL_COPROC): Likewise.
37148         (ILL_BADSTK): Likewise.
37149         (FPE_INTDIV): Likewise.
37150         (FPE_INTOVF): Likewise.
37151         (FPE_FLTDIV): Likewise.
37152         (FPE_FLTOVF): Likewise.
37153         (FPE_FLTUND): Likewise.
37154         (FPE_FLTRES): Likewise.
37155         (FPE_FLTINV): Likewise.
37156         (FPE_FLTSUB): Likewise.
37157         (SEGV_MAPERR): Likewise.
37158         (SEGV_ACCERR): Likewise.
37159         (BUS_ADRALN): Likewise.
37160         (BUS_ADRERR): Likewise.
37161         (BUS_OBJERR): Likewise.
37162         (BUS_MCEERR_AR): Likewise.
37163         (BUS_MCEERR_AO): Likewise.
37164         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37165         (TRAP_TRACE): Likewise.
37166         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37167         __USE_XOPEN2K8].
37168         (CLD_KILLED): Likewise.
37169         (CLD_DUMPED): Likewise.
37170         (CLD_TRAPPED): Likewise.
37171         (CLD_STOPPED): Likewise.
37172         (CLD_CONTINUED): Likewise.
37173         (POLL_IN): Likewise.
37174         (POLL_OUT): Likewise.
37175         (POLL_MSG): Likewise.
37176         (POLL_ERR): Likewise.
37177         (POLL_PRI): Likewise.
37178         (POLL_HUP): Likewise.
37179         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37180         (ILL_ILLOPN): Likewise.
37181         (ILL_ILLADR): Likewise.
37182         (ILL_ILLTRP): Likewise.
37183         (ILL_PRVOPC): Likewise.
37184         (ILL_PRVREG): Likewise.
37185         (ILL_COPROC): Likewise.
37186         (ILL_BADSTK): Likewise.
37187         (ILL_DBLFLT): Likewise.
37188         (ILL_HARDWALL): Likewise.
37189         (FPE_INTDIV): Likewise.
37190         (FPE_INTOVF): Likewise.
37191         (FPE_FLTDIV): Likewise.
37192         (FPE_FLTOVF): Likewise.
37193         (FPE_FLTUND): Likewise.
37194         (FPE_FLTRES): Likewise.
37195         (FPE_FLTINV): Likewise.
37196         (FPE_FLTSUB): Likewise.
37197         (SEGV_MAPERR): Likewise.
37198         (SEGV_ACCERR): Likewise.
37199         (BUS_ADRALN): Likewise.
37200         (BUS_ADRERR): Likewise.
37201         (BUS_OBJERR): Likewise.
37202         (BUS_MCEERR_AR): Likewise.
37203         (BUS_MCEERR_AO): Likewise.
37204         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37205         (TRAP_TRACE): Likewise.
37206         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37207         __USE_XOPEN2K8].
37208         (CLD_KILLED): Likewise.
37209         (CLD_DUMPED): Likewise.
37210         (CLD_TRAPPED): Likewise.
37211         (CLD_STOPPED): Likewise.
37212         (CLD_CONTINUED): Likewise.
37213         (POLL_IN): Likewise.
37214         (POLL_OUT): Likewise.
37215         (POLL_MSG): Likewise.
37216         (POLL_ERR): Likewise.
37217         (POLL_PRI): Likewise.
37218         (POLL_HUP): Likewise.
37219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37220         (ILL_ILLOPN): Likewise.
37221         (ILL_ILLADR): Likewise.
37222         (ILL_ILLTRP): Likewise.
37223         (ILL_PRVOPC): Likewise.
37224         (ILL_PRVREG): Likewise.
37225         (ILL_COPROC): Likewise.
37226         (ILL_BADSTK): Likewise.
37227         (FPE_INTDIV): Likewise.
37228         (FPE_INTOVF): Likewise.
37229         (FPE_FLTDIV): Likewise.
37230         (FPE_FLTOVF): Likewise.
37231         (FPE_FLTUND): Likewise.
37232         (FPE_FLTRES): Likewise.
37233         (FPE_FLTINV): Likewise.
37234         (FPE_FLTSUB): Likewise.
37235         (SEGV_MAPERR): Likewise.
37236         (SEGV_ACCERR): Likewise.
37237         (BUS_ADRALN): Likewise.
37238         (BUS_ADRERR): Likewise.
37239         (BUS_OBJERR): Likewise.
37240         (BUS_MCEERR_AR): Likewise.
37241         (BUS_MCEERR_AO): Likewise.
37242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37243         (TRAP_TRACE): Likewise.
37244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37245         __USE_XOPEN2K8].
37246         (CLD_KILLED): Likewise.
37247         (CLD_DUMPED): Likewise.
37248         (CLD_TRAPPED): Likewise.
37249         (CLD_STOPPED): Likewise.
37250         (CLD_CONTINUED): Likewise.
37251         (POLL_IN): Likewise.
37252         (POLL_OUT): Likewise.
37253         (POLL_MSG): Likewise.
37254         (POLL_ERR): Likewise.
37255         (POLL_PRI): Likewise.
37256         (POLL_HUP): Likewise.
37257         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37258         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37260         [BZ #16670]
37261         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37262         before #include of <time.h>.
37263         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37264         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37265         (test-xfail-UNIX98/sched.h/conform): Likewise.
37267 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37269         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37270         error absence of trapping exception support.
37271         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37273 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37275         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37276         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37277         * timezone/Makefile (testdata): Move definition above include of
37278         Rules.
37279         (test-zones): New variable.
37280         (tests-special): Add zone files.
37281         (build-testdata): Use $(evaluate-test).
37283         * elf/Makefile (tests-special): Rename tests to end with .out.
37284         ($(objpfx)noload-mem): Likewise.
37285         ($(objpfx)tst-leaks1-mem): Likewise.
37286         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37287         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37288         $(objpfx)test-iconvconfig.out.
37289         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37290         set -e inside subshell and redirect output to file.
37291         * iconvdata/Makefile (generated): Rename tests to end with .out.
37292         Correct type.
37293         (tests-special): Rename tests to end with .out.
37294         ($(objpfx)mtrace-tst-loading): Likewise.
37295         * intl/Makefile (generated): Likewise.
37296         (tests-special): Likewise.
37297         ($(objpfx)mtrace-tst-gettext): Likewise.
37298         * misc/Makefile (generated): Likewise.
37299         (tests-special): Likewise.
37300         ($(objpfx)tst-error1-mem): Likewise.
37301         * nptl/Makefile (tests-special): Likewise.
37302         ($(objpfx)tst-stack3-mem): Likewise.
37303         (generated): Likewise.
37304         * posix/Makefile (generated): Likewise.
37305         (tests-special): Likewise.
37306         (xtests-special): Likewise.
37307         ($(objpfx)tst-fnmatch-mem): Likewise.
37308         ($(objpfx)bug-regex2-mem): Likewise.
37309         ($(objpfx)bug-regex14-mem): Likewise.
37310         ($(objpfx)bug-regex21-mem): Likewise.
37311         ($(objpfx)bug-regex31-mem): Likewise.
37312         ($(objpfx)tst-vfork3-mem): Likewise.
37313         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37314         ($(objpfx)tst-pcre-mem): Likewise.
37315         ($(objpfx)tst-boost-mem): Likewise.
37316         ($(objpfx)bug-ga2-mem): Likewise.
37317         ($(objpfx)bug-glob2-mem): Likewise.
37318         * resolv/Makefile (generate): Likewise.
37319         (tests-special): Likewise.
37320         (xtests-special): Likewise.
37321         (generated): Likewise.
37322         ($(objpfx)mtrace-tst-leaks): Likewise.
37323         ($(objpfx)mtrace-tst-leaks2): Likewise.
37325         * scripts/merge-test-results.sh: New file.
37326         * Makefile (tests-special-notdir): New variable.
37327         (tests): Run merge-test-results.sh.
37328         (xtests): Likewise.
37329         * Rules (tests-special-notdir): New variable.
37330         (xtests-special-notdir): Likewise.
37331         (tests): Run merge-test-results.sh
37332         (xtests): Likewise.
37334         * Makeconfig (test-xfail-name): New variable.
37335         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37336         compute variable name for expected failures.
37337         * conform/Makefile (conformtest-headers-data): New variable.
37338         (conformtest-standards): Likewise.
37339         (conformtest-headers-ISO): Likewise.
37340         (conformtest-headers-ISO99): Likewise.
37341         (conformtest-headers-ISO11): Likewise.
37342         (conformtest-headers-POSIX): Likewise.
37343         (conformtest-headers-XPG3): Likewise.
37344         (conformtest-headers-XPG4): Likewise.
37345         (conformtest-headers-UNIX98): Likewise.
37346         (conformtest-headers-XOPEN2K): Likewise.
37347         (conformtest-headers-POSIX2008): Likewise.
37348         (conformtest-headers-XOPEN2K8): Likewise.
37349         (conformtest-header-list-base): Likewise.
37350         (conformtest-header-list-tests): Likewise.
37351         (conformtest-header-base): Likewise.
37352         (conformtest-header-tests): Likewise.
37353         (tests-special): Add $(conformtest-header-list-tests).  If
37354         [$(fast-check) && !$(cross-compiling)], add
37355         $(conformtest-header-tests) instead of
37356         $(objpfx)run-conformtest.out.
37357         (generated): Add $(conformtest-header-list-base).  If
37358         [$(fast-check) && !$(cross-compiling)], add
37359         $(conformtest-header-base).  Remove previous setting.
37360         ($(conformtest-header-list-tests)): New target.
37361         (test-xfail-run-conformtest): Remove variable.
37362         ($(objpfx)run-conformtest.out): Remove target.
37363         (test-xfail-ISO11/complex.h/conform): New variable.
37364         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37365         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37366         (test-xfail-XPG3/varargs.h/conform): Likewise.
37367         (test-xfail-XPG4/varargs.h/conform): Likewise.
37368         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37369         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37370         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37371         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37372         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37373         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37374         (test-xfail-XPG3/ftw.h/conform): Likewise.
37375         (test-xfail-XPG3/grp.h/conform): Likewise.
37376         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37377         (test-xfail-XPG3/limits.h/conform): Likewise.
37378         (test-xfail-XPG3/pwd.h/conform): Likewise.
37379         (test-xfail-XPG3/search.h/conform): Likewise.
37380         (test-xfail-XPG3/signal.h/conform): Likewise.
37381         (test-xfail-XPG3/stdio.h/conform): Likewise.
37382         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37383         (test-xfail-XPG3/string.h/conform): Likewise.
37384         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37385         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37386         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37387         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37388         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37389         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37390         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37391         (test-xfail-XPG3/termios.h/conform): Likewise.
37392         (test-xfail-XPG3/time.h/conform): Likewise.
37393         (test-xfail-XPG3/unistd.h/conform): Likewise.
37394         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37395         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37396         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37397         (test-xfail-XPG4/netdb.h/conform): Likewise.
37398         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37399         (test-xfail-XPG4/signal.h/conform): Likewise.
37400         (test-xfail-XPG4/stdio.h/conform): Likewise.
37401         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37402         (test-xfail-XPG4/stropts.h/conform): Likewise.
37403         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37404         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37405         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37406         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37407         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37408         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37409         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37410         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37411         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37412         (test-xfail-XPG4/termios.h/conform): Likewise.
37413         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37414         (test-xfail-XPG4/unistd.h/conform): Likewise.
37415         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37416         (test-xfail-POSIX/sched.h/conform): Likewise.
37417         (test-xfail-POSIX/signal.h/conform): Likewise.
37418         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37419         (test-xfail-POSIX/tar.h/conform): Likewise.
37420         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37421         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37422         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37423         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37424         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37425         (test-xfail-UNIX98/sched.h/conform): Likewise.
37426         (test-xfail-UNIX98/signal.h/conform): Likewise.
37427         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37428         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37429         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37430         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37431         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37432         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37433         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37434         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37435         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37436         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37437         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37438         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37439         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37440         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37441         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37442         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37443         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37444         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37445         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37446         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37447         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37448         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37449         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37450         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37451         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37452         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37453         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37454         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37455         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37456         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37457         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37458         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37459         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37460         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37461         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37462         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37463         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37464         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37465         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37466         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37467         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37468         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37469         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37470         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37471         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37472         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37473         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37474         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37475         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37476         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37477         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37478         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37479         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37480         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37481         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37482         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37483         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37484         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37485         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37486         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37487         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37488         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37489         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37490         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37491         (conformtest-cc-flags): Likewise.
37492         ($(conformtest-header-tests): New target.
37493         * conform/check-header-lists.sh: New file.
37494         * conform/run-conformtest.sh: Remove.
37496         * conform/conformtest.pl: Allow ' and \ in values given for
37497         constants.
37498         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37499         inclusion.
37500         [POSIX] (sys/types.h): Likewise.
37501         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37502         inclusion.
37503         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37504         inclusion.
37505         * conform/data/signal.h-data (SIGIO): Remove expectation.
37506         [XPG3] (SIGBUS): Do not expect.
37507         [POSIX || XPG3] (SIGPOLL): Likewise.
37508         [POSIX || XPG3] (SIGPROF): Likewise.
37509         [POSIX || XPG3] (SIGSYS): Likewise.
37510         [XPG3] (SIGTRAP): Likewise.
37511         [POSIX || XPG3] (SIGURG): Likewise.
37512         [POSIX || XPG3] (SIGVTALRM): Likewise.
37513         [POSIX || XPG3] (SIGXCPU): Likewise.
37514         [POSIX || XPG3] (SIGXFSZ): Likewise.
37515         [POSIX] (SA_SIGINFO): Expect.
37516         [XPG3] (siginfo_t): Do not expect type or contents.
37517         [POSIX] (si_pid): Do not expect element.
37518         [POSIX] (si_uid): Likewise.
37519         [POSIX] (si_addr): Likewise.
37520         [POSIX] (si_status): Likewise.
37521         [POSIX] (si_band): Likewise.
37522         [XPG4] (si_value): Likewise.
37523         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37524         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37525         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37526         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37527         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37528         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37529         [POSIX || XPG3] (ILL_COPROC): Likewise.
37530         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37531         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37532         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37533         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37534         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37535         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37536         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37537         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37538         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37539         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37540         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37541         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37542         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37543         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37544         [POSIX || XPG3] (CLD_EXITED): Likewise.
37545         [POSIX || XPG3] (CLD_KILLED): Likewise.
37546         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37547         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37548         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37549         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37550         [POSIX || XPG3] (POLL_IN): Likewise.
37551         [POSIX || XPG3] (POLL_OUT): Likewise.
37552         [POSIX || XPG3] (POLL_MSG): Likewise.
37553         [POSIX || XPG3] (POLL_ERR): Likewise.
37554         [POSIX || XPG3] (POLL_PRI): Likewise.
37555         [POSIX || XPG3] (POLL_HUP): Likewise.
37556         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37557         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37558         (SIG*): Do not allow.
37559         [XPG3] (si_*): Likewise.
37560         [XPG3] (SI_*): Likewise.
37561         [XPG3 || XPG4] (sigev_*): Likewise.
37562         [XPG3 || XPG4] (SIGEV_*): Likewise.
37563         [XPG3 || XPG4] (sival_*): Likewise.
37564         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37565         [POSIX || XPG3] (BUS_*): Likewise.
37566         [POSIX || XPG3] (CLD_*): Likewise.
37567         [POSIX || XPG3] (FPE_*): Likewise.
37568         [POSIX || XPG3] (ILL_*): Likewise.
37569         [POSIX || XPG3] (POLL_*): Likewise.
37570         [POSIX || XPG3] (SEGV_*): Likewise.
37571         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37572         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37573         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37574         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37575         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37576         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37577         Specify type and value.
37578         (TVERSLEN): Likewise.
37579         (REGTYPE): Likewise.
37580         (AREGTYPE): Likewise.
37581         (LNKTYPE): Likewise.
37582         (SYMTYPE): Likewise.
37583         (CHRTYPE): Likewise.
37584         (BLKTYPE): Likewise.
37585         (DIRTYPE): Likewise.
37586         (FIFOTYPE): Likewise.
37587         (CONTTYPE): Likewise.
37588         (TSUID): Likewise.
37589         (TSGID): Likewise.
37590         (TSVTX): Likewise.
37591         (TUREAD): Likewise.
37592         (TUWRITE): Likewise.
37593         (TUEXEC): Likewise.
37594         (TGREAD): Likewise.
37595         (TGWRITE): Likewise.
37596         (TGEXEC): Likewise.
37597         (TOREAD): Likewise.
37598         (TOWRITE): Likewise.
37599         (TOEXEC): Likewise.
37600         [POSIX] (TSVTX): Expect constant.
37602 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37604         * Makefile (tests): Change dependencies to ....
37605         (tests-special): ... additions to this variable.
37606         (tests): Depend on $(tests-special).
37607         * Makerules (check-abi-list): New variable.
37608         (check-abi): Depend on $(check-abi-list).
37609         [$(subdir) = elf] (tests-special): Add
37610         $(objpfx)check-abi-libc.out.
37611         [$(build-shared) = yes && subdir] (tests-special): Add
37612         $(check-abi-list).
37613         [$(build-shared) = yes && subdir] (tests): Do not depend on
37614         check-abi.
37615         * Rules (tests): Depend on $(tests-special).
37616         (xtests): Depend on $(xtests-special).
37617         * catgets/Makefile (tests): Change dependencies to ....
37618         (tests-special): ... additions to this variable.
37619         * conform/Makefile (tests): Change dependencies to ....
37620         (tests-special): ... additions to this variable.
37621         * elf/Makefile (tests): Change dependencies to ....
37622         (tests-special): ... additions to this variable.
37623         * grp/Makefile (tests): Change dependencies to ....
37624         (tests-special): ... additions to this variable.
37625         * iconv/Makefile (xtests): Change dependencies to ....
37626         (xtests-special): ... additions to this variable.
37627         * iconvdata/Makefile (tests): Change dependencies to ....
37628         (tests-special): ... additions to this variable.
37629         * intl/Makefile (tests): Change dependencies to ....
37630         (tests-special): ... additions to this variable.  Also add
37631         $(objpfx)tst-gettext.out.
37632         * io/Makefile (tests): Change dependencies to ....
37633         (tests-special): ... additions to this variable.
37634         * libio/Makefile (tests): Change dependencies to ....
37635         (tests-special): ... additions to this variable.
37636         * malloc/Makefile (tests): Change dependencies to ....
37637         (tests-special): ... additions to this variable.
37638         * misc/Makefile (tests): Change dependencies to ....
37639         (tests-special): ... additions to this variable.
37640         * nptl/Makefile (tests): Change dependencies to ....
37641         (tests-special): ... additions to this variable.
37642         * nptl_db/Makefile (tests): Change dependencies to ....
37643         (tests-special): ... additions to this variable.
37644         * posix/Makefile (tests): Change dependencies to ....
37645         (tests-special): ... additions to this variable.
37646         (xtests): Change dependencies to ....
37647         (xtests-special): ... additions to this variable.
37648         * resolv/Makefile (tests): Change dependencies to ....
37649         (tests-special): ... additions to this variable.
37650         (xtests): Change dependencies to ....
37651         (xtests-special): ... additions to this variable.
37652         * stdio-common/Makefile (tests): Change dependencies to ....
37653         (tests-special): ... additions to this variable.
37654         (do-tst-unbputc): Remove target.
37655         (do-tst-printf): Likewise.
37656         * stdlib/Makefile (tests): Change dependencies to ....
37657         (tests-special): ... additions to this variable.
37658         * string/Makefile (tests): Change dependencies to ....
37659         (tests-special): ... additions to this variable.
37660         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37661         (tests-special): ... additions to this variable.
37663         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37664         whole file.
37665         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37666         whole file.
37667         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37668         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37670         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37671         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37672         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37673         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37674         * conform/data/libgen.h-data [XPG3]: Likewise.
37675         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37676         * conform/data/ndbm.h-data [XPG3]: Likewise.
37677         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37678         * conform/data/netdb.h-data [XPG3]: Likewise.
37679         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37680         * conform/data/poll.h-data [XPG3]: Likewise.
37681         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37682         * conform/data/strings.h-data [XPG3]: Likewise.
37683         * conform/data/stropts.h-data [XPG3]: Likewise.
37684         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37685         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37686         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37687         Likewise.
37688         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37689         * conform/data/sys/time.h-data [XPG3]: Likewise.
37690         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37691         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37692         * conform/data/sys/un.h-data [XPG3]: Likewise.
37693         * conform/data/syslog.h-data [XPG3]: Likewise.
37694         * conform/data/ucontext.h-data [XPG3]: Likewise.
37695         * conform/data/utmpx.h-data [XPG3]: Likewise.
37696         * conform/data/varargs.h-data [UNIX98]: Enable file.
37698         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37700         * math/libm-test.inc (struct test_f_f_data): Move expected results
37701         into structure for each rounding mode.
37702         (struct test_ff_f_data): Likewise.
37703         (struct test_ff_f_data_nexttoward): Likewise.
37704         (struct test_fi_f_data): Likewise.
37705         (struct test_fl_f_data): Likewise.
37706         (struct test_if_f_data): Likewise.
37707         (struct test_fff_f_data): Likewise.
37708         (struct test_c_f_data): Likewise.
37709         (struct test_f_f1_data): Likewise.
37710         (struct test_fF_f1_data): Likewise.
37711         (struct test_ffI_f1_data): Likewise.
37712         (struct test_c_c_data): Likewise.
37713         (struct test_cc_c_data): Likewise.
37714         (struct test_f_i_data): Likewise.
37715         (struct test_ff_i_data): Likewise.
37716         (struct test_f_l_data): Likewise.
37717         (struct test_f_L_data): Likewise.
37718         (struct test_fFF_11_data): Likewise.
37719         (RM_): New macro.
37720         (RM_FE_DOWNWARD): Likewise.
37721         (RM_FE_TONEAREST): Likewise.
37722         (RM_FE_TOWARDZERO): Likewise.
37723         (RM_FE_UPWARD): Likewise.
37724         (RUN_TEST_LOOP_f_f): Update references to expected results.
37725         (RUN_TEST_LOOP_2_f): Likewise.
37726         (RUN_TEST_LOOP_fff_f): Likewise.
37727         (RUN_TEST_LOOP_c_f): Likewise.
37728         (RUN_TEST_LOOP_f_f1): Likewise.
37729         (RUN_TEST_LOOP_fF_f1): Likewise.
37730         (RUN_TEST_LOOP_fI_f1): Likewise.
37731         (RUN_TEST_LOOP_ffI_f1): Likewise.
37732         (RUN_TEST_LOOP_c_c): Likewise.
37733         (RUN_TEST_LOOP_cc_c): Likewise.
37734         (RUN_TEST_LOOP_f_i): Likewise.
37735         (RUN_TEST_LOOP_f_i_tg): Likewise.
37736         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37737         (RUN_TEST_LOOP_f_b): Likewise.
37738         (RUN_TEST_LOOP_f_b_tg): Likewise.
37739         (RUN_TEST_LOOP_f_l): Likewise.
37740         (RUN_TEST_LOOP_f_L): Likewise.
37741         (RUN_TEST_LOOP_fFF_11): Likewise.
37742         * math/gen-libm-test.pl (parse_args): Output four copies of
37743         expected results for each test.
37745         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37746         (__ASSUME_UTIMES): Remove.
37747         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37748         (__ASSUME_UTIMES): Likewise.
37750         * math/gen-auto-libm-tests.c: Update comment on output format.
37751         (output_for_one_input_case): Generate before-rounding and
37752         after-rounding information as conditions on output flags not
37753         floating-point format.
37754         * math/auto-libm-test-out: Regenerated.
37755         * math/gen-libm-test.pl (cond_value): New function.
37756         (or_cond_value): Use cond_value.
37757         (generate_testfile): Handle conditional exceptions.
37759 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37761         * math/libm-test.inc (max_valid_error): New variable.
37762         (init_max_error): Take new argument specifying whether function
37763         results are exactly determined.  Set max_valid_error and bound
37764         other variables for errors based on this argument.
37765         (set_max_error): Do not record results above max_valid_error.
37766         (check_float_internal): Only accept errors of up to 0.5ulps if
37767         also at most max_valid_error.
37768         (START): Take new argument EXACT and pass it to init_max_error.
37769         (acos_test): Update call to START.
37770         (acos_test_tonearest): Likewise.
37771         (acos_test_towardzero): Likewise.
37772         (acos_test_downward): Likewise.
37773         (acos_test_upward): Likewise.
37774         (acosh_test): Likewise.
37775         (asin_test): Likewise.
37776         (asin_test_tonearest): Likewise.
37777         (asin_test_towardzero): Likewise.
37778         (asin_test_downward): Likewise.
37779         (asin_test_upward): Likewise.
37780         (asinh_test): Likewise.
37781         (atan_test): Likewise.
37782         (atanh_test): Likewise.
37783         (atan2_test): Likewise.
37784         (cabs_test): Likewise.
37785         (cacos_test): Likewise.
37786         (cacosh_test): Likewise.
37787         (carg_test): Likewise.
37788         (casin_test): Likewise.
37789         (casinh_test): Likewise.
37790         (catan_test): Likewise.
37791         (catanh_test): Likewise.
37792         (cbrt_test): Likewise.
37793         (ccos_test): Likewise.
37794         (ccosh_test): Likewise.
37795         (ceil_test): Likewise.
37796         (cexp_test): Likewise.
37797         (cimag_test): Likewise.
37798         (clog_test): Likewise.
37799         (clog10_test): Likewise.
37800         (conj_test): Likewise.
37801         (copysign_test): Likewise.
37802         (cos_test): Likewise.
37803         (cos_test_tonearest): Likewise.
37804         (cos_test_towardzero): Likewise.
37805         (cos_test_downward): Likewise.
37806         (cos_test_upward): Likewise.
37807         (cosh_test): Likewise.
37808         (cosh_test_tonearest): Likewise.
37809         (cosh_test_towardzero): Likewise.
37810         (cosh_test_downward): Likewise.
37811         (cosh_test_upward): Likewise.
37812         (cpow_test): Likewise.
37813         (cproj_test): Likewise.
37814         (creal_test): Likewise.
37815         (csin_test): Likewise.
37816         (csinh_test): Likewise.
37817         (csqrt_test): Likewise.
37818         (ctan_test): Likewise.
37819         (ctan_test_tonearest): Likewise.
37820         (ctan_test_towardzero): Likewise.
37821         (ctan_test_downward): Likewise.
37822         (ctan_test_upward): Likewise.
37823         (ctanh_test): Likewise.
37824         (ctanh_test_tonearest): Likewise.
37825         (ctanh_test_towardzero): Likewise.
37826         (ctanh_test_downward): Likewise.
37827         (ctanh_test_upward): Likewise.
37828         (erf_test): Likewise.
37829         (erfc_test): Likewise.
37830         (exp_test): Likewise.
37831         (exp_test_tonearest): Likewise.
37832         (exp_test_towardzero): Likewise.
37833         (exp_test_downward): Likewise.
37834         (exp_test_upward): Likewise.
37835         (exp10_test): Likewise.
37836         (exp10_test_tonearest): Likewise.
37837         (exp10_test_towardzero): Likewise.
37838         (exp10_test_downward): Likewise.
37839         (exp10_test_upward): Likewise.
37840         (pow10_test): Likewise.
37841         (exp2_test): Likewise.
37842         (expm1_test): Likewise.
37843         (expm1_test_tonearest): Likewise.
37844         (expm1_test_towardzero): Likewise.
37845         (expm1_test_downward): Likewise.
37846         (expm1_test_upward): Likewise.
37847         (fabs_test): Likewise.
37848         (fdim_test): Likewise.
37849         (floor_test): Likewise.
37850         (fma_test): Likewise.
37851         (fma_test_towardzero): Likewise.
37852         (fma_test_downward): Likewise.
37853         (fma_test_upward): Likewise.
37854         (fmax_test): Likewise.
37855         (fmin_test): Likewise.
37856         (fmod_test): Likewise.
37857         (fpclassify_test): Likewise.
37858         (frexp_test): Likewise.
37859         (hypot_test): Likewise.
37860         (ilogb_test): Likewise.
37861         (isfinite_test): Likewise.
37862         (finite_test): Likewise.
37863         (isgreater_test): Likewise.
37864         (isgreaterequal_test): Likewise.
37865         (isinf_test): Likewise.
37866         (isless_test): Likewise.
37867         (islessequal_test): Likewise.
37868         (islessgreater_test): Likewise.
37869         (isnan_test): Likewise.
37870         (isnormal_test): Likewise.
37871         (issignaling_test): Likewise.
37872         (isunordered_test): Likewise.
37873         (j0_test): Likewise.
37874         (j1_test): Likewise.
37875         (jn_test): Likewise.
37876         (ldexp_test): Likewise.
37877         (lgamma_test): Likewise.
37878         (gamma_test): Likewise.
37879         (lrint_test): Likewise.
37880         (lrint_test_tonearest): Likewise.
37881         (lrint_test_towardzero): Likewise.
37882         (lrint_test_downward): Likewise.
37883         (lrint_test_upward): Likewise.
37884         (llrint_test): Likewise.
37885         (llrint_test_tonearest): Likewise.
37886         (llrint_test_towardzero): Likewise.
37887         (llrint_test_downward): Likewise.
37888         (llrint_test_upward): Likewise.
37889         (log_test): Likewise.
37890         (log10_test): Likewise.
37891         (log1p_test): Likewise.
37892         (log2_test): Likewise.
37893         (logb_test): Likewise.
37894         (logb_test_downward): Likewise.
37895         (lround_test): Likewise.
37896         (llround_test): Likewise.
37897         (modf_test): Likewise.
37898         (nearbyint_test): Likewise.
37899         (nextafter_test): Likewise.
37900         (nexttoward_test): Likewise.
37901         (pow_test): Likewise.
37902         (pow_test_tonearest): Likewise.
37903         (pow_test_towardzero): Likewise.
37904         (pow_test_downward): Likewise.
37905         (pow_test_upward): Likewise.
37906         (remainder_test): Likewise.
37907         (drem_test): Likewise.
37908         (remainder_test_tonearest): Likewise.
37909         (drem_test_tonearest): Likewise.
37910         (remainder_test_towardzero): Likewise.
37911         (drem_test_towardzero): Likewise.
37912         (remainder_test_downward): Likewise.
37913         (drem_test_downward): Likewise.
37914         (remainder_test_upward): Likewise.
37915         (drem_test_upward): Likewise.
37916         (remquo_test): Likewise.
37917         (rint_test): Likewise.
37918         (rint_test_tonearest): Likewise.
37919         (rint_test_towardzero): Likewise.
37920         (rint_test_downward): Likewise.
37921         (rint_test_upward): Likewise.
37922         (round_test): Likewise.
37923         (scalb_test): Likewise.
37924         (scalbn_test): Likewise.
37925         (scalbln_test): Likewise.
37926         (signbit_test): Likewise.
37927         (sin_test): Likewise.
37928         (sin_test_tonearest): Likewise.
37929         (sin_test_towardzero): Likewise.
37930         (sin_test_downward): Likewise.
37931         (sin_test_upward): Likewise.
37932         (sincos_test): Likewise.
37933         (sinh_test): Likewise.
37934         (sinh_test_tonearest): Likewise.
37935         (sinh_test_towardzero): Likewise.
37936         (sinh_test_downward): Likewise.
37937         (sinh_test_upward): Likewise.
37938         (sqrt_test): Likewise.
37939         (sqrt_test_tonearest): Likewise.
37940         (sqrt_test_towardzero): Likewise.
37941         (sqrt_test_downward): Likewise.
37942         (sqrt_test_upward): Likewise.
37943         (tan_test): Likewise.
37944         (tan_test_tonearest): Likewise.
37945         (tan_test_towardzero): Likewise.
37946         (tan_test_downward): Likewise.
37947         (tan_test_upward): Likewise.
37948         (tanh_test): Likewise.
37949         (tgamma_test): Likewise.
37950         (trunc_test): Likewise.
37951         (y0_test): Likewise.
37952         (y1_test): Likewise.
37953         (yn_test): Likewise.
37954         (significand_test): Likewise.
37956         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37957         individual tests in comment.
37958         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37959         (prev_max_error): New variable.
37960         (prev_real_max_error): Likewise.
37961         (prev_imag_max_error): Likewise.
37962         (compare_ulp_data): Don't refer to test names in comment.
37963         (find_test_ulps): Remove function.
37964         (find_function_ulps): Likewise.
37965         (find_complex_function_ulps): Likewise.
37966         (init_max_error): Take function name as argument.  Look up ulps
37967         for that function.
37968         (print_ulps): Remove function.
37969         (print_max_error): Use prev_max_error instead of calling
37970         find_function_ulps.
37971         (print_complex_max_error): Use prev_real_max_error and
37972         prev_imag_max_error instead of calling find_complex_function_ulps.
37973         (check_float_internal): Take max_ulp parameter instead of calling
37974         find_test_ulps.  Don't call print_ulps.
37975         (check_float): Update call to check_float_internal.
37976         (check_complex): Update calls to check_float_internal.
37977         (START): Pass argument to init_max_error.
37978         * math/gen-libm-test.pl (%results): Don't include "kind"
37979         information.
37980         (parse_ulps): Don't handle ulps of individual tests.
37981         (print_ulps_file): Likewise.
37982         (output_ulps): Likewise.
37983         * math/README.libm-test: Update.
37984         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37985         individual tests.
37986         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37987         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37988         * sysdeps/arm/libm-test-ulps: Likewise.
37989         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37990         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37991         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37992         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37993         * sysdeps/microblaze/libm-test-ulps: Likewise.
37994         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37995         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37996         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37997         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37998         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37999         * sysdeps/sh/libm-test-ulps: Likewise.
38000         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38001         * sysdeps/tile/libm-test-ulps: Likewise.
38002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38004 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38006         * math/libm-test.inc (print_complex_max_error): Check separately
38007         whether real and imaginary errors are within allowed range and
38008         pass 0 to print_complex_function_ulps instead of value within
38009         allowed range.
38011 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38013         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38014         formatting.
38015         (get_handles_fopen): Likewise.
38016         (do_write_test): Likewise.
38018         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38020         * libio/fileops.c (do_ftell): Use cached offset when
38021         available.
38022         * libio/iofwide.c (do_ftell_wide): Likewise.
38023         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38024         _IO_file_attach.
38025         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38027         [BZ #16532]
38028         * libio/libioP.h (get_file_offset): New function.
38029         * libio/fileops.c (get_file_offset): Likewise.
38030         (do_ftell): Likewise.
38031         (_IO_new_file_seekoff): Split out ftell logic.
38032         * libio/wfileops.c (do_ftell_wide): Likewise.
38033         (_IO_wfile_seekoff): Split out ftell logic.
38034         * libio/tst-ftell-active-handler.c: New test case.
38035         * libio/Makefile (tests): Add it.
38037 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38039         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38040         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38042 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38044         [BZ #16639]
38045         * nscd/connections.c (nscd_init): Call do_exit.
38046         (start_threads): Call do_exit and notify_parent.
38047         (begin_drop_privileges): Call do_exit.
38048         (finish_drop_privileges): Likewise.
38049         * nscd/selinux.c (preserve_capabilities): Likewise.
38050         (install_real_capabilities): Likewise.
38051         (nscd_selinux_enabled): Likewise.
38052         (avc_create_thread): Likewise.
38053         (avc_alloc_lock): Likewise.
38054         (nscd_avc_init): Likewise.
38055         * nscd/nscd.c (parent_fd): New static variable.
38056         (main): Create a pipe between parent and child processes.
38057         Skip closing parent_fd.
38058         (monitor_child): New function.
38059         (do_exit): Likewise.
38060         (notify_parent): Likewise.
38061         * nscd/nscd.h (notify_parent): Likewise.
38062         (do_exit): Likewise.
38064 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38066         * malloc/malloc.c (__libc_calloc): Revert last change.
38068 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38072 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38074         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38076         implementation.
38077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38078         (__libc_ifunc_impl_list): Likewise.
38079         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38080         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38081         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38082         * string/strrchr.c: Define STRRCHR.
38084 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38086         * benchtest/bench-strtok.c (simple_strtok): Delete.
38087         (strtok_string): Use as benchmark.
38088         * string/strtok (STRTOK): New macro.
38090 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38092         * manual/threads.texi: Add header and standard comments to all
38093         functions.
38095         * elf/dl-lookup.c (check_match): New function.
38096         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38097         (do_lookup_x): Remove nested function check_match. Use non-nested
38098         function check_match.
38100 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38102         * csu/Makefile (generated, before-compile): Use += rather than =.
38103         * catgets/Makefile (generated, generated-dirs): Likewise.
38104         * debug/Makefile (generated): Likewise.
38105         * dlfcn/Makefile (generated): Likewise.
38106         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38107         * iconvdata/Makefile (before-compile, generated): Likewise.
38108         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38109         * libio/Makefile (generated): Likewise.
38110         * malloc/Makefile (generated): Likewise.
38111         * manual/Makefile (generated, generated-dirs): Likewise.
38112         * misc/Makefile (generated): Likewise.
38113         * posix/Makefile (generated): Likewise.
38114         * resolv/Makefile (generated): Likewise.
38115         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38116         * timezone/Makefile (generated, generated-dirs): Likewise.
38118         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38120 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38123         power8 implementation.
38124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38125         file: POWER8 llround ifunc implementation.
38126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38127         (__lllround): Add POWER8 implementation.
38128         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38129         POWER8 llround implementation.
38131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38132         power8 implementation.
38133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38134         file: POWER8 llrint ifunc implementation.
38135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38136         Add POWER8 implementation.
38137         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38138         POWER8 llrint implementation.
38140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38141         power8 implementation.
38142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38143         file: POWER8 finite ifunc implementation.
38144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38145         Add POWER8 implementation.
38146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38147         Likewise.
38148         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38149         POWER8 finite implementation.
38150         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38153         power8 implementation.
38154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38155         file: POWER8 isinf ifunc implementation.
38156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38157         POWER8 implementation.
38158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38159         Likewise.
38160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38161         isinf implementation.
38162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38164         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38165         (INIT_ARCH): Add hwcap2 initialization.
38166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38167         power8 implementation.
38168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38169         file: POWER8 isnan ifunc implementation.
38170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38171         POWER8 implementation.
38172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38173         Likewise.
38174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38175         isnan implementation.
38176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38178 2014-02-27  Joey Ye  <joey.ye@arm.com>
38180         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38181         (_FP_NANFRAC_Q): Set to zero.
38183 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38185         [BZ #16623]
38186         * math/auto-libm-test-in: New test inputs.
38187         * math/auto-libm-test-out: Regenerate.
38188         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38189         and DA.
38190         (__cos): Likewise.
38191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38193 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38195         * scripts/evaluate-test.sh: Take new argument indicating whether
38196         failure is expected.
38197         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38198         indicating whether failure is expected.
38199         * conform/Makefile (test-xfail-run-conformtest): New variable.
38200         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38201         level.
38202         * posix/Makefile (test-xfail-annexc): New variable.
38203         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38205 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38207         * argp/Makefile: Include Makeconfig immediately after defining
38208         subdir.
38209         * assert/Makefile: Likewise.
38210         * benchtests/Makefile: Likewise.
38211         * catgets/Makefile: Likewise.
38212         * conform/Makefile: Likewise.
38213         * crypt/Makefile: Likewise.
38214         * csu/Makefile: Likewise.
38215         (all): Remove target.
38216         * ctype/Makefile: Include Makeconfig immediately after defining
38217         subdir.
38218         * debug/Makefile: Likewise.
38219         * dirent/Makefile: Likewise.
38220         * dlfcn/Makefile: Likewise.
38221         * gmon/Makefile: Likewise.
38222         * gnulib/Makefile: Likewise.
38223         * grp/Makefile: Likewise.
38224         * gshadow/Makefile: Likewise.
38225         * hesiod/Makefile: Likewise.
38226         * hurd/Makefile: Likewise.
38227         (all): Remove target.
38228         * iconvdata/Makefile: Include Makeconfig immediately after
38229         defining subdir.
38230         * inet/Makefile: Likewise.
38231         * intl/Makefile: Likewise.
38232         * io/Makefile: Likewise.
38233         * libio/Makefile: Likewise.
38234         (all): Remove target.
38235         * locale/Makefile: Include Makeconfig immediately after defining
38236         subdir.
38237         * login/Makefile: Likewise.
38238         * mach/Makefile: Likewise.
38239         (all): Remove target.
38240         * malloc/Makefile: Include Makeconfig immediately after defining
38241         subdir.
38242         (all): Remove target.
38243         * manual/Makefile: Include Makeconfig immediately after defining
38244         subdir.
38245         * math/Makefile: Likewise.
38246         * misc/Makefile: Likewise.
38247         * nis/Makefile: Likewise.
38248         * nss/Makefile: Likewise.
38249         * po/Makefile: Likewise.
38250         (all): Remove target.
38251         * posix/Makefile: Include Makeconfig immediately after defining
38252         subdir.
38253         * pwd/Makefile: Likewise.
38254         * resolv/Makefile: Likewise.
38255         * resource/Makefile: Likewise.
38256         * rt/Makefile: Likewise.
38257         * setjmp/Makefile: Likewise.
38258         * shadow/Makefile: Likewise.
38259         * signal/Makefile: Likewise.
38260         * socket/Makefile: Likewise.
38261         * soft-fp/Makefile: Likewise.
38262         * stdio-common/Makefile: Likewise.
38263         * stdlib/Makefile: Likewise.
38264         * streams/Makefile: Likewise.
38265         * string/Makefile: Likewise.
38266         * sunrpc/Makefile: Likewise.
38267         (all): Remove target.
38268         * sysvipc/Makefile: Include Makeconfig immediately after defining
38269         subdir.
38270         * termios/Makefile: Likewise.
38271         * time/Makefile: Likewise.
38272         * timezone/Makefile: Likewise.
38273         (all): Remove target.
38274         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38275         subdir.
38276         * wctype/Makefile: Likewise.
38278 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38280         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38281         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38282         (libc_feholdexcept_setround_mips): Ditto.
38283         (libc_feholdsetround): New.
38284         (libc_feholdsetroundf): New.
38285         (libc_feholdsetroundl): New.
38286         (libc_feupdateenv_test_mips): New.
38287         (libc_feupdateenv_test): New.
38288         (libc_feupdateenv_testf): New.
38289         (libc_feupdateenv_testl): New.
38290         (libc_feresetround): New.
38291         (libc_feresetroundf): New.
38292         (libc_feresetroundl): New.
38293         (libc_fetestexcept_mips): New.
38294         (libc_fetestexcept): New.
38295         (libc_fetestexceptf): New.
38296         (libc_fetestexceptl): New.
38297         (HAVE_RM_CTX): New.
38298         (libc_feholdexcept_setround_mips_ctx): New.
38299         (libc_feholdexcept_setround_ctx): New.
38300         (libc_feholdexcept_setroundf_ctx): New.
38301         (libc_feholdexcept_setroundl_ctx): New.
38302         (libc_fesetenv_mips_ctx): New.
38303         (libc_fesetenv_ctx): New.
38304         (libc_fesetenv_ctxf): New.
38305         (libc_fesetenv_ctxl): New.
38306         (libc_feupdateenv_mips_ctx): New.
38307         (libc_feupdateenv_ctx): New.
38308         (libc_feupdateenvf_ctx): New.
38309         (libc_feupdateenvl_ctx): New.
38310         (libc_feholdsetround_mips_ctx): New.
38311         (libc_feholdsetround_ctx): New.
38312         (libc_feholdsetroundf_ctx): New.
38313         (libc_feholdsetroundl_ctx): New.
38314         (libc_feresetround_mips_ctx): New.
38315         (libc_feresetround_ctx): New.
38316         (libc_feresetroundf_ctx): New.
38317         (libc_feresetroundl_ctx): New.
38319 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38321         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38323         * manual/ipc.texi: New file.
38324         * manual/Makefile (chapters): Add ipc.
38325         * manual/job.texi: Add "Inter-Process Communication" to next.
38326         * manual/process.texi: Add "Inter-Process Communication" to prev.
38328 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38332 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38334         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38336         * manual/arith.texi: Fix spaces after sentences.
38337         * manual/charset.texi: Likewise.
38338         * manual/errno.texi: Likewise.
38339         * manual/install.texi: Likewise.
38340         * manual/llio.texi: Likewise.
38341         * manual/locale.texi: Likewise.
38342         * manual/maint.texi: Likewise.
38343         * manual/math.texi: Likewise.
38344         * manual/memory.texi: Likewise.
38345         * manual/message.texi: Likewise.
38346         * manual/probes.texi: Likewise.
38347         * manual/resource.texi: Likewise.
38348         * manual/signal.texi: Likewise.
38349         * manual/socket.texi: Likewise.
38350         * manual/stdio.texi: Likewise.
38351         * manual/string.texi: Likewise.
38352         * manual/time.texi: Likewise.
38353         * manual/users.texi: Likewise.
38355 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38357         [BZ #16632]
38358         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38359         _DEFAULT_SOURCE is defined.
38361 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38362             Carlos O'Donell  <carlos@redhat.com>
38364         [BZ #16613]
38365         * elf/dl-tls.c (_dl_count_modids): New function.
38366         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38367         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38368         audit library and increment generation counter.
38369         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38370         * elf/tst-audit9.c: New file.
38371         * elf/tst-auditmod9a.c: New file.
38372         * elf/tst-auditmod9b.c: New file.
38373         * elf/Makefile: Add rules to build and run tst-audit9.
38375 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38377         [BZ #15347]
38378         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38380 2014-02-25  Will Newton  <will.newton@linaro.org>
38382         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38383         (__longjmp): Restore sp and lr before restoring callee
38384         saved registers.  Add longjmp and longjmp_target
38385         SystemTap probe point.
38386         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38387         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38388         Define to zero to match jmpbuf layout.
38389         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38390         (__sigsetjmp): Save sp and lr before saving callee
38391         saved registers.  Add setjmp SystemTap probe point.
38393 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38397 2014-02-24  Andreas Schwab  <schwab@suse.de>
38399         [BZ #15804]
38400         * elf/pldd.c (wait_for_ptrace_stop): New function.
38401         (main): Call it after attaching.
38403 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38405         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38406         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38407         Versions files is now verboten.
38408         * hurd/Versions (libc: GLIBC_2.0):
38409         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38410         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38411         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38412         * mach/Versions: Likewise.
38414         * csu/Versions: Remove unused %include.
38415         * resolv/Versions: Likewise.
38417 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38419         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38420         ($(objpfx)check-local-headers.out): Likewise.
38421         ($(objpfx)begin-end-check.out): Likewise.
38422         * Makerules (check-abi-%.out): Likewise.
38423         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38424         ($(objpfx)test2.cat): Likewise.
38425         ($(objpfx)de/libc.cat): Likewise.
38426         ($(objpfx)test-gencat.out): Likewise.
38427         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38428         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38429         ($(objpfx)noload-mem): Likewise.
38430         ($(objpfx)tst-pathopt.out): Likewise.
38431         ($(objpfx)tst-rtld-load-self.out): Likewise.
38432         ($(objpfx)tst-array1-cmp.out): Likewise.
38433         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38434         ($(objpfx)tst-array2-cmp.out): Likewise.
38435         ($(objpfx)tst-array3-cmp.out): Likewise.
38436         ($(objpfx)tst-array4-cmp.out): Likewise.
38437         ($(objpfx)tst-array5-cmp.out): Likewise.
38438         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38439         ($(objpfx)check-textrel.out): Likewise.
38440         ($(objpfx)check-execstack.out): Likewise.
38441         ($(objpfx)check-localplt.out): Likewise.
38442         ($(objpfx)order2-cmp.out): Likewise.
38443         ($(objpfx)tst-leaks1-mem): Likewise.
38444         ($(objpfx)tst-leaks1-static-mem): Likewise.
38445         ($(objpfx)tst-initorder-cmp.out): Likewise.
38446         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38447         ($(objpfx)tst-unused-dep.out): Likewise.
38448         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38449         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38450         * iconv/Makefile (test-iconvconfig): Likewise.
38451         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38452         ($(objpfx)iconv-test.out): Likewise.
38453         ($(objpfx)tst-tables.out): Likewise.
38454         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38455         ($(objpfx)tst-gettext.out): Likewise.
38456         ($(objpfx)tst-translit.out): Likewise.
38457         ($(objpfx)tst-gettext2.out): Likewise.
38458         ($(objpfx)tst-gettext4.out): Likewise.
38459         ($(objpfx)tst-gettext6.out): Likewise.
38460         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38461         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38462         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38463         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38465         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38466         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38467         ($(objpfx)wordexp-tst.out): Likewise.
38468         ($(objpfx)annexc.out): Likewise.
38469         ($(objpfx)tst-fnmatch-mem): Likewise.
38470         ($(objpfx)bug-regex2-mem): Likewise.
38471         ($(objpfx)bug-regex14-mem): Likewise.
38472         ($(objpfx)bug-regex21-mem): Likewise.
38473         ($(objpfx)bug-regex31-mem): Likewise.
38474         ($(objpfx)tst-vfork3-mem): Likewise.
38475         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38476         ($(objpfx)tst-pcre-mem): Likewise.
38477         ($(objpfx)tst-boost-mem): Likewise.
38478         ($(objpfx)tst-getconf.out): Likewise.
38479         ($(objpfx)bug-ga2-mem): Likewise.
38480         ($(objpfx)bug-glob2-mem): Likewise.
38481         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38482         ($(objpfx)mtrace-tst-leaks2): Likewise.
38483         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38484         ($(objpfx)tst-printf.out): Likewise.
38485         ($(objpfx)tst-setvbuf1.out): Likewise.
38486         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38487         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38488         ($(objpfx)tst-fmtmsg.out): Likewise.
38489         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38490         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38492         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38493         * bits/sigaction.h [__USE_MISC]: Likewise.
38494         * bits/waitstatus.h: Update #endif comments.
38495         * ctype/ctype.h: Likewise.
38496         * dirent/dirent.h: Likewise.
38497         [__USE_MISC]: Remove redundant conditionals.
38498         * grp/grp.h: Update #endif comments.
38499         [__USE_GNU]: Remove redundant conditionals.
38500         [__USE_MISC]: Likewise.
38501         * inet/netinet/in.h [__USE_GNU]: Likewise.
38502         * io/sys/stat.h [__USE_MISC]: Likewise.
38503         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38504         * libio/bits/stdio.h: Update #endif comments.
38505         [__USE_MISC]: Remove redundant conditionals.
38506         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38507         * libio/stdio.h: Update #endif comments.
38508         [__USE_MISC]: Remove redundant conditionals.
38509         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38510         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38511         * math/math.h: Update #else and #endif comments.
38512         [__USE_MISC]: Remove redundant conditionals.
38513         * misc/sys/uio.h: Update #endif comments.
38514         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38515         * posix/glob.h [__USE_MISC]: Likewise.
38516         * posix/sys/types.h: Update #endif comments.
38517         [__USE_MISC]: Remove redundant conditionals.
38518         * posix/sys/wait.h: Update #endif comments.
38519         [__USE_MISC]: Remove redundant conditionals.
38520         * posix/unistd.h: Update #endif comments.
38521         [__USE_MISC]: Remove redundant conditionals.
38522         * pwd/pwd.h [__USE_GNU]: Likewise.
38523         [__USE_MISC]: Likewise.
38524         * resolv/netdb.h [__USE_GNU]: Likewise.
38525         * signal/signal.h: Update #endif comments.
38526         [__USE_MISC]: Remove redundant conditionals.
38527         * stdlib/stdlib.h: Update #else and #endif comments.
38528         [__USE_MISC]: Remove redundant conditionals.
38529         [__USE_GNU]: Likewise.
38530         * string/bits/string2.h [__USE_MISC]: Likewise.
38531         * string/string.h: Update #endif comments.
38532         [__USE_MISC]: Remove redundant conditionals.
38533         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38534         Likewise.
38535         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38536         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38537         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38538         Likewise.
38539         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38540         Likewise.
38541         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38542         comments.
38543         [__USE_MISC]: Remove redundant conditionals.
38544         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38545         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38546         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38547         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38548         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38549         Likewise.
38550         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38551         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38552         Likewise.
38553         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38554         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38555         Likewise.
38556         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38557         Likewise.
38558         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38559         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38560         Likewise.
38561         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38562         Likewise.
38563         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38564         * sysdeps/x86/bits/string.h: Update #endif comments.
38565         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38566         conditionals.
38567         * time/sys/time.h: Update #endif comments.
38568         * time/time.h: Likewise.
38569         [__USE_MISC]: Remove redundant conditionals.
38571 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38573         [BZ #16600]
38574         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38576 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38578         * Versions.def (librt): Add GLIBC_2.17.
38580 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38582         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38583         synonym for _SYS_AUXV_H to allow direct inclusion.
38584         * sysdeps/sparc/bits/hwcap.h: Likewise.
38585         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38586         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38587         * sysdeps/sparc/sysdep.h: Likewise.
38589 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38593 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38595         * benchtests/bench-strrchr.c: Print length instead of position.
38597 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38599         [BZ #16611]
38600         * sysdeps/unix/sysv/linux/kernel-features.h
38601         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38602         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38603         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38604         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38605         Likewise.
38606         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38607         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38608         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38609         (__ASSUME_SENDMMSG): Define instead of using previous
38610         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38612         (__ASSUME_SENDMMSG_SYSCALL): Define.
38613         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38614         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38615         Likewise.
38616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38618         Likewise.
38619         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38620         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38621         Likewise.
38622         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38623         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38624         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38625         [__ASSUME_SENDMMSG]: Change conditionals to
38626         [__ASSUME_SENDMMSG_SOCKETCALL].
38627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38628         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38629         Define.
38630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38631         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38632         Likewise.
38633         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38634         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38635         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38636         [!__ASSUME_SENDMMSG]: Change conditional to
38637         [!__ASSUME_SENDMMSG_SOCKETCALL].
38638         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38640         Define.
38642         [BZ #16610]
38643         * sysdeps/unix/sysv/linux/kernel-features.h
38644         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38645         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38646         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38647         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38648         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38649         [__i386__ || __sparc__]
38650         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38651         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38652         (__ASSUME_RECVMMSG): Define instead of using previous
38653         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38654         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38655         (__ASSUME_RECVMMSG_SYSCALL): Define.
38656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38658         Likewise.
38659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38660         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38661         Likewise.
38662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38664         Likewise.
38665         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38666         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38667         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38668         [__ASSUME_RECVMMSG]: Change condition to
38669         [__ASSUME_RECVMMSG_SOCKETCALL].
38670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38672         Define.
38673         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38674         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38676         Likewise.
38677         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38678         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38679         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38680         [!__ASSUME_RECVMMSG]: Change condition to
38681         [!__ASSUME_RECVMMSG_SOCKETCALL].
38682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38683         (__ASSUME_RECVMMSG_SYSCALL): Define.
38685         [BZ #16609]
38686         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38687         __powerpc__ || __s390__ || __sh__ || __sparc__]
38688         (__ASSUME_SOCKETCALL): Define.
38689         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38690         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38691         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38692         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38693         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38694         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38695         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38696         (__ASSUME_ACCEPT4): Define instead of using previous
38697         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38698         __powerpc__ || __sparc__ || __s390__)] condition.
38699         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38700         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38701         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38702         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38703         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38704         [!__ASSUME_ACCEPT4]: Change condition to
38705         [!__ASSUME_ACCEPT4_SOCKETCALL].
38706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38707         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38708         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38710         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38711         __ASSUME_ACCEPT4_SYSCALL.
38712         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38713         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38715         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38716         __ASSUME_ACCEPT4_SYSCALL.
38717         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38718         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38719         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38720         [__ASSUME_ACCEPT4]: Change condition to
38721         [__ASSUME_ACCEPT4_SOCKETCALL].
38722         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38723         (__ASSUME_SOCKETCALL): Define.
38724         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38726         (__ASSUME_SOCKETCALL): Define.
38727         (__ASSUME_ACCEPT4): Remove.
38728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38729         Define.
38730         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38731         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38732         Likewise.
38733         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38734         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38736         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38737         macro.
38738         (HWCAP_ARM_LPAE): Likewise.
38739         (HWCAP_ARM_EVTSTRM): Likewise.
38740         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38741         Add vpfd32, lpae and evtstrm.
38742         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38743         Increase to 22.
38745 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38747         * math/auto-libm-test-in: Add tests of clog10.
38748         * math/auto-libm-test-out: Regenerated.
38749         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38750         * sysdeps/i386/fpu/libm-test-ulps: Update.
38751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38753 2014-02-18  Andreas Schwab  <schwab@suse.de>
38755         [BZ #16574]
38756         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38757         Store non-zero if the second buffer was newly allocated.
38758         (send_dg): Likewise.
38759         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38760         to send_vc and send_dg.
38761         (res_nsend): Pass NULL for ansp2_malloced.
38762         * resolv/res_query.c (__libc_res_nquery): Add parameter
38763         answerp2_malloced and pass it down to __libc_res_nsend.
38764         (res_nquery): Pass additional NULL to __libc_res_nquery.
38765         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38766         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38767         second answer buffer if answerp2_malloced was set.
38768         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38769         (__libc_res_nquerydomain): Add parameter
38770         answerp2_malloced and pass it down to __libc_res_nquery.
38771         (res_nquerydomain): Pass additional NULL to
38772         __libc_res_nquerydomain.
38773         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38774         additional NULL to __libc_res_nsend and __libc_res_nquery.
38775         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38776         additional NULL to __libc_res_nsearch.
38777         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38778         parameter of __libc_res_nsearch to check for separately allocated
38779         second buffer.
38780         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38781         __libc_res_nquery.
38782         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38783         additional NULL to __libc_res_nquery.
38784         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38785         __libc_res_nsearch.
38786         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38787         * include/resolv.h: Update prototypes of __libc_res_nquery,
38788         __libc_res_nsearch, __libc_res_nsend.
38790 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38792         * math/auto-libm-test-in: Add tests of fma.
38793         * math/auto-libm-test-out: Regenerated.
38794         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38795         (fma_towardzero_test_data): Likewise.
38796         (fma_downward_test_data): Likewise.
38797         (fma_upward_test_data): Likewise.
38798         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38799         mpc_mode.
38800         (rounding_modes): Add values for new field.
38801         (func_calc_method): Add value mpfr_fff_f.
38802         (func_calc_desc): Add mpfr_fff_f union field.
38803         (test_function): Add field exact_args.
38804         (FUNC): Add macro argument EXACT_ARGS.
38805         (FUNC_mpfr_f_f): Update call to FUNC.
38806         (FUNC_mpfr_f_f): Likewise.
38807         (FUNC_mpfr_ff_f): Likewise.
38808         (FUNC_mpfr_if_f): Likewise.
38809         (FUNC_mpc_c_f): Likewise.
38810         (FUNC_mpc_c_c): Likewise.
38811         (test_functions): Add fma.  Update calls to FUNC.
38812         (handle_input_arg): Add argument exact_args.
38813         (add_test): Update call to handle_input_arg.
38814         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38815         (output_for_one_input_case): Update call to calc_generic_results.
38816         Recalculate exact zero results in each rounding mode.
38818         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38819         non-negative before setting low bit.
38820         * math/auto-libm-test-in: Mark one asin test possibly having
38821         spurious underflow.
38822         * math/auto-libm-test-out: Regenerated.
38823         * sysdeps/i386/fpu/libm-test-ulps: Update.
38824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38826 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38828         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38829         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38830         ports/sysdeps/unix/sysv/linux/microblaze.
38831         * README: Add missing listing for microblaze*-*-linux-gnu.
38833 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38835         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38836         duplicate code
38838 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38840         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38841         * sysdeps/unix/sysv/linux/ia64: Move directory from
38842         ports/sysdeps/unix/sysv/linux/ia64.
38843         * README: Update listing for ia64-*-linux-gnu.
38845 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38846             Joseph Myers  <joseph@codesourcery.com>
38848         * Makeconfig (test-name): New variable.
38849         (evaluate-test): Likewise.
38850         * Makerules (do-test-clean): Remove .test-result files.
38851         (common-mostlyclean): Likewise.
38852         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38853         * scripts/evaluate-test.sh: New file.
38855 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38857         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38858         separate $(objpfx)tst-fopenloc-cmp.out and
38859         $(objpfx)tst-fopenloc-mem.out targets.
38860         (tests): Update dependencies.
38861         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38862         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38863         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38864         (tst-rxspencer-no-utf8-ARGS): New variable.
38865         (tst-rxspencer-no-utf8-ENV): Likewise.
38866         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38867         instead of $(objpfx)tst-rxspencer-mem.
38868         ($(objpfx)tst-rxspencer-mem): Change target to
38869         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38870         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38871         * posix/tst-rxspencer-no-utf8.c: New file.
38873         * elf/Makefile ($(objpfx)order.out): Remove rule.
38874         [$(run-built-tests) = yes] (tests): Depend on
38875         $(objpfx)order-cmp.out.
38876         ($(objpfx)order-cmp.out): New rule.
38877         [$(run-built-tests) = yes] (tests): Depend on
38878         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38879         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38880         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38881         $(objpfx)tst-array5-static-cmp.out.
38882         ($(objpfx)tst-array1.out): Remove rule.
38883         ($(objpfx)tst-array1-cmp.out): New rule.
38884         ($(objpfx)tst-array1-static.out): Remove rule.
38885         ($(objpfx)tst-array1-static-cmp.out): New rule.
38886         ($(objpfx)tst-array2.out): Remove rule.
38887         ($(objpfx)tst-array2-cmp.out): New rule.
38888         ($(objpfx)tst-array3.out): Remove rule.
38889         ($(objpfx)tst-array3-cmp.out): New rule.
38890         ($(objpfx)tst-array4.out): Remove rule.
38891         ($(objpfx)tst-array4-cmp.out): New rule.
38892         ($(objpfx)tst-array5.out): Remove rule.
38893         ($(objpfx)tst-array5-cmp.out): New rule.
38894         ($(objpfx)tst-array5-static.out): Remove rule.
38895         ($(objpfx)tst-array5-static-cmp.out): New rule.
38896         [$(run-built-tests) = yes] (tests): Depend on
38897         $(objpfx)order2-cmp.out.
38898         ($(objpfx)order2.out): Remove rule.
38899         ($(objpfx)order2-cmp.out): New rule.
38900         ($(objpfx)tst-initorder.out): Remove rule.
38901         [$(run-built-tests) = yes] (tests): Depend on
38902         $(objpfx)tst-initorder-cmp.out.
38903         ($(objpfx)tst-initorder-cmp.out): New rule.
38904         ($(objpfx)tst-initorder2.out): Remove rule.
38905         [$(run-built-tests) = yes] (tests): Depend on
38906         $(objpfx)tst-initorder2-cmp.out.
38907         ($(objpfx)tst-initorder2-cmp.out): New rule.
38908         [$(run-built-tests) = yes] (tests): Depend on
38909         $(objpfx)tst-unused-dep-cmp.out.
38910         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38911         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38912         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38913         on $(objpfx)tst-setvbuf1-cmp.out.
38914         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38915         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38916         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38917         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38918         ($(objpfx)tst-svc.out): Remove rule.
38919         ($(objpfx)tst-svc-cmp.out): New rule.
38921 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38923         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38924         * ctype/ctype.h [__USE_MISC]: Likewise.
38925         * dirent/dirent.h [__USE_MISC]: Likewise.
38926         * grp/grp.h [__USE_MISC]: Likewise.
38927         * io/fcntl.h [__USE_MISC]: Likewise.
38928         * io/sys/stat.h [__USE_MISC]: Likewise.
38929         * libio/stdio.h [__USE_MISC]: Likewise.
38930         * posix/unistd.h [__USE_MISC]: Likewise.
38931         * pwd/pwd.h [__USE_MISC]: Likewise.
38932         * stdlib.h [__USE_MISC]: Likewise.
38933         * string/bits/string2.h [__USE_MISC]: Likewise.
38934         * string/string.h [__USE_MISC]: Likewise.
38935         * time/time.h [__USE_MISC]: Likewise.
38937 2014-02-13  Andreas Schwab  <schwab@suse.de>
38939         [BZ #16574]
38940         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38941         second answer buffer if it was separately allocated.
38943 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38945         * sysdeps/mips/math-tests.h: Include <features.h>.
38946         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38947         (ROUNDING_TESTS_long_double): Do not define.
38948         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38949         (EXCEPTION_TESTS_long_double): Likewise.
38950         * sysdeps/mips/mips64/libm-test-ulps: Update.
38952         * include/features.h (__USE_BSD): Remove macro definitions.
38953         (__USE_SVID): Likewise.
38954         (_BSD_SOURCE): Likewise.
38955         (_SVID_SOURCE): Likewise.
38956         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38957         from definition of _DEFAULT_SOURCE.
38958         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38959         [_DEFAULT_SOURCE].
38960         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38961         * bits/mman.h [__USE_BSD]: Likewise.
38962         * bits/termios.h [__USE_BSD]: Likewise.
38963         * bits/waitstatus.h [__USE_BSD]: Likewise.
38964         * ctype/ctype.h [__USE_SVID]: Likewise.
38965         * dirent/dirent.h [__USE_BSD]: Likewise.
38966         * grp/grp.h [__USE_SVID]: Likewise.
38967         [__USE_BSD]: Likewise.
38968         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38969         * io/fcntl.h [__USE_BSD]: Likewise.
38970         * io/ftw.h [__USE_BSD]: Likewise.
38971         * io/sys/stat.h [__USE_BSD]: Likewise.
38972         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38973         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38974         * libio/stdio.h [__USE_SVID]: Likewise.
38975         [__USE_BSD]: Likewise.
38976         * math/math.h [__USE_SVID]: Likewise.
38977         [__USE_BSD]: Likewise.
38978         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38979         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38980         * misc/search.h [__USE_SVID]: Likewise.
38981         * misc/sys/mman.h [__USE_BSD]: Likewise.
38982         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38983         * misc/sys/uio.h [__USE_BSD]: Likewise.
38984         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38985         * posix/glob.h [__USE_BSD]: Likewise.
38986         * posix/regex.h [__USE_BSD]: Likewise.
38987         * posix/sys/types.h [__USE_BSD]: Likewise.
38988         [__USE_SVID]: Likewise.
38989         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38990         * posix/sys/wait.h [__USE_BSD]: Likewise.
38991         [__USE_SVID]: Likewise.
38992         * posix/unistd.h [__USE_BSD]: Likewise.
38993         [__USE_SVID]: Likewise.
38994         * pwd/pwd.h [__USE_SVID]: Likewise.
38995         * resolv/netdb.h [__USE_BSD]: Likewise.
38996         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38997         * signal/signal.h [__USE_BSD]: Likewise.
38998         [__USE_SVID]: Likewise.
38999         * socket/sys/socket.h [__USE_BSD]: Likewise.
39000         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39001         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39002         [__USE_SVID]: Likewise.
39003         * string/bits/string2.h [__USE_BSD]: Likewise.
39004         [__USE_SVID]: Likewise.
39005         * string/bits/string3.h [__USE_BSD]: Likewise.
39006         * string/endian.h [__USE_BSD]: Likewise.
39007         * string/string.h [__USE_SVID]: Likewise.
39008         [__USE_BSD]: Likewise.
39009         * string/strings.h [__USE_BSD]: Likewise.
39010         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39011         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39012         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39013         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39014         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39015         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39016         Likewise.
39017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39018         Likewise.
39019         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39020         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39021         Likewise.
39022         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39023         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39024         Likewise.
39025         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39026         Likewise.
39027         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39028         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39029         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39030         Likewise.
39031         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39032         Likewise.
39033         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39034         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39035         * termios/termios.h [__USE_BSD]: Likewise.
39036         * time/sys/time.h [__USE_BSD]: Likewise.
39037         * time/time.h [__USE_BSD]: Likewise.
39038         [__USE_SVID]: Likewise.
39040         * Makefile (subdir_targets): Remove subdir_lint.out.
39042         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39043         (do-tst-printf): Likewise.
39044         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39045         $(objpfx)tst-printf.out.
39047         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39049         * Makerules (check-abi-%): Change target to
39050         $(objpfx)check-abi-%.out.
39051         (check-abi target): Update dependencies.
39052         (check-abi-pattern variable): Redirect output of diff to $@.
39053         (check-abi variable): Likewise.
39054         * elf/Makefile (check-abi): Update dependencies.
39056         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39057         unused.
39058         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39059         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39060         subnormal range.
39061         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39062         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39063         value has largest subnormal exponent.
39064         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39065         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39066         * sysdeps/aarch64/soft-fp/sfp-machine.h
39067         (_FP_TININESS_AFTER_ROUNDING): New macro.
39068         * sysdeps/alpha/soft-fp/sfp-machine.h
39069         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39070         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39071         Likewise.
39072         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39073         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39074         * sysdeps/mips/soft-fp/sfp-machine.h
39075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39076         * sysdeps/powerpc/soft-fp/sfp-machine.h
39077         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39078         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39079         Likewise.
39080         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39081         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39082         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39084         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39085         Likewise.
39087 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39089         [BZ #16545]
39090         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39091         model 1.
39093 2014-02-12  Richard Henderson  <rth@redhat.com>
39095         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39096         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39097         * sysdeps/unix/sysv/linux/alpha: Move directory from
39098         ports/sysdeps/unix/sysv/linux/alpha.
39099         * README: Update listing for alpha-*-linux-gnu.
39101 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39103         * include/features.h: Update comment documenting feature test
39104         macros.
39105         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39106         _DEFAULT_SOURCE.
39107         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39108         (_SVID_SOURCE): Likewise.
39109         (_DEFAULT_SOURCE): Update description of default features.
39110         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39111         with _GNU_SOURCE.
39112         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39113         (S_ISVTX): Likewise.
39114         * manual/math.texi (Mathematical Constants): Likewise.
39115         * manual/signal.texi (Interrupted Primitives): Likewise.
39116         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39117         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39118         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39119         Don't refer to _SVID_SOURCE in warning text.
39121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39123         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39124         already defined.
39125         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39126         * sysdeps/mips/dl-lookup.c: Remove.
39127         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39129 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39131         [BZ #16447]
39132         * math/auto-libm-test-in: Add testcase for expl.
39133         * math/auto-libm-test-out: Regenerate.
39134         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39135         calculation of unsafe.
39136         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39138 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39140         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39141         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39142         ports/sysdeps/unix/sysv/linux/aarch64.
39143         * README: Update listing for aarch64*-*-linux-gnu.
39145 2014-02-11  Will Newton  <will.newton@linaro.org>
39147         * manual/probes.texi (Mathematical Function Probes): Use
39148         "triggered" instead of "hit".
39150         * manual/probes.texi (Internal Probes): Add documentation
39151         of setjmp, longjmp and longjmp_target probes.
39153         * include/stap-probe.h: Add comment about probe argument
39154         format.
39156         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39157         definition.  (tr_where, tr_freehook, tr_mallochook,
39158         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39160 2014-02-11  David S. Miller  <davem@davemloft.net>
39162         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39163         processing int_tests.
39165 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39167         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39168         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39169         * sysdeps/unix/sysv/linux/mips: Move directory from
39170         ports/sysdeps/unix/sysv/linux/mips.
39171         * README: Update listing for mips-*-linux-gnu and
39172         mips64-*-linux-gnu.
39174 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39176         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39177         * sysdeps/unix/sysv/linux/m68k: Move directory from
39178         ports/sysdeps/unix/sysv/linux/m68k.
39179         * README: Update listing for m68k-*-linux-gnu.
39181 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39183         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39184         * sysdeps/unix/sysv/linux/generic: Move directory from
39185         ports/sysdeps/unix/sysv/linux/generic.
39186         * sysdeps/unix/sysv/linux/tile: Move directory from
39187         ports/sysdeps/unix/sysv/linux/tile.
39188         * README: Update listing for tile*-*-linux-gnu.
39190 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39192         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39193         __builtin_expect.
39194         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39195         * catgets/open_catalog.c (__open_catalog): Likewise.
39196         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39197         * debug/confstr_chk.c: Likewise.
39198         * debug/fread_chk.c (__fread_chk): Likewise.
39199         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39200         * debug/getgroups_chk.c: Likewise.
39201         * debug/mbsnrtowcs_chk.c: Likewise.
39202         * debug/mbsrtowcs_chk.c: Likewise.
39203         * debug/mbstowcs_chk.c: Likewise.
39204         * debug/memcpy_chk.c: Likewise.
39205         * debug/memmove_chk.c: Likewise.
39206         * debug/mempcpy_chk.c: Likewise.
39207         * debug/memset_chk.c: Likewise.
39208         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39209         * debug/strcat_chk.c (__strcat_chk): Likewise.
39210         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39211         * debug/strncat_chk.c (__strncat_chk): Likewise.
39212         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39213         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39214         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39215         * debug/wcpncpy_chk.c: Likewise.
39216         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39217         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39218         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39219         * debug/wcsncpy_chk.c: Likewise.
39220         * debug/wcsnrtombs_chk.c: Likewise.
39221         * debug/wcsrtombs_chk.c: Likewise.
39222         * debug/wcstombs_chk.c: Likewise.
39223         * debug/wmemcpy_chk.c: Likewise.
39224         * debug/wmemmove_chk.c: Likewise.
39225         * debug/wmempcpy_chk.c: Likewise.
39226         * debug/wmemset_chk.c: Likewise.
39227         * dirent/scandirat.c (SCANDIRAT): Likewise.
39228         * dlfcn/dladdr1.c (dladdr1): Likewise.
39229         * dlfcn/dladdr.c (dladdr): Likewise.
39230         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39231         * dlfcn/dlerror.c (__dlerror): Likewise.
39232         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39233         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39234         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39235         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39236         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39237         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39238         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39239         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39240         Likewise.
39241         * elf/dl-conflict.c: Likewise.
39242         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39243         * elf/dl-dst.h: Likewise.
39244         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39245         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39246         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39247         * elf/dl-init.c (call_init, _dl_init): Likewise.
39248         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39249         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39250         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39251         Likewise.
39252         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39253         Likewise.
39254         * elf/dl-minimal.c (__libc_memalign): Likewise.
39255         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39256         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39257         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39258         * elf/dl-sym.c (do_sym): Likewise.
39259         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39260         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39261         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39262         * elf/dl-writev.h (_dl_writev): Likewise.
39263         * elf/ldconfig.c (search_dir): Likewise.
39264         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39265         (dl_main): Likewise.
39266         * elf/setup-vdso.h (setup_vdso): Likewise.
39267         * grp/compat-initgroups.c (compat_call): Likewise.
39268         * grp/fgetgrent.c (fgetgrent): Likewise.
39269         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39270         * grp/putgrent.c (putgrent): Likewise.
39271         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39272         Likewise.
39273         * hurd/hurdinit.c: Likewise.
39274         * iconvdata/8bit-gap.c (struct): Likewise.
39275         * iconvdata/ansi_x3.110.c : Likewise.
39276         * iconvdata/big5.c : Likewise.
39277         * iconvdata/big5hkscs.c : Likewise.
39278         * iconvdata/cp1255.c: Likewise.
39279         * iconvdata/cp1258.c : Likewise.
39280         * iconvdata/cp932.c : Likewise.
39281         * iconvdata/euc-cn.c: Likewise.
39282         * iconvdata/euc-jisx0213.c : Likewise.
39283         * iconvdata/euc-jp.c: Likewise.
39284         * iconvdata/euc-jp-ms.c : Likewise.
39285         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39286         * iconvdata/gb18030.c : Likewise.
39287         * iconvdata/gbbig5.c (const): Likewise.
39288         * iconvdata/gbgbk.c: Likewise.
39289         * iconvdata/gbk.c : Likewise.
39290         * iconvdata/ibm1364.c : Likewise.
39291         * iconvdata/ibm930.c : Likewise.
39292         * iconvdata/ibm932.c: Likewise.
39293         * iconvdata/ibm933.c : Likewise.
39294         * iconvdata/ibm935.c : Likewise.
39295         * iconvdata/ibm937.c : Likewise.
39296         * iconvdata/ibm939.c : Likewise.
39297         * iconvdata/ibm943.c: Likewise.
39298         * iconvdata/iso_11548-1.c: Likewise.
39299         * iconvdata/iso-2022-cn.c : Likewise.
39300         * iconvdata/iso-2022-cn-ext.c : Likewise.
39301         * iconvdata/iso-2022-jp-3.c: Likewise.
39302         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39303         * iconvdata/iso-2022-kr.c : Likewise.
39304         * iconvdata/iso646.c (gconv_end): Likewise.
39305         * iconvdata/iso_6937-2.c : Likewise.
39306         * iconvdata/iso_6937.c : Likewise.
39307         * iconvdata/iso8859-1.c: Likewise.
39308         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39309         * iconvdata/shift_jisx0213.c : Likewise.
39310         * iconvdata/sjis.c : Likewise.
39311         * iconvdata/t.61.c : Likewise.
39312         * iconvdata/tcvn5712-1.c : Likewise.
39313         * iconvdata/tscii.c: Likewise.
39314         * iconvdata/uhc.c : Likewise.
39315         * iconvdata/unicode.c (gconv_end): Likewise.
39316         * iconvdata/utf-16.c (gconv_end): Likewise.
39317         * iconvdata/utf-32.c (gconv_end): Likewise.
39318         * iconvdata/utf-7.c (base64): Likewise.
39319         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39320         * iconv/gconv_close.c (__gconv_close): Likewise.
39321         * iconv/gconv_open.c (__gconv_open): Likewise.
39322         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39323         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39324         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39325         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39326         (ucs4le_internal_loop_single): Likewise.
39327         * iconv/iconv.c (iconv): Likewise.
39328         * iconv/iconv_close.c: Likewise.
39329         * iconv/loop.c (SINGLE): Likewise.
39330         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39331         * include/atomic.h: Likewise.
39332         * inet/inet6_option.c (option_alloc): Likewise.
39333         * intl/bindtextdom.c (set_binding_values): Likewise.
39334         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39335         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39336         * intl/localealias.c (read_alias_file): Likewise.
39337         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39338         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39339         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39340         * libio/fmemopen.c (fmemopen): Likewise.
39341         * libio/iofgets.c (_IO_fgets): Likewise.
39342         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39343         * libio/iofgetws.c (fgetws): Likewise.
39344         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39345         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39346         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39347         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39348         * locale/findlocale.c (_nl_find_locale): Likewise.
39349         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39350         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39351         Likewise.
39352         * locale/setlocale.c (setlocale): Likewise.
39353         * login/programs/pt_chown.c (main): Likewise.
39354         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39355         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39356         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39357         (mmap, mmap64, mremap, munmap): Likewise.
39358         * math/e_exp2l.c: Likewise.
39359         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39360         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39361         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39362         * math/s_catan.c (__catan): Likewise.
39363         * math/s_catanf.c (__catanf): Likewise.
39364         * math/s_catanh.c (__catanh): Likewise.
39365         * math/s_catanhf.c (__catanhf): Likewise.
39366         * math/s_catanhl.c (__catanhl): Likewise.
39367         * math/s_catanl.c (__catanl): Likewise.
39368         * math/s_ccosh.c (__ccosh): Likewise.
39369         * math/s_ccoshf.c (__ccoshf): Likewise.
39370         * math/s_ccoshl.c (__ccoshl): Likewise.
39371         * math/s_cexp.c (__cexp): Likewise.
39372         * math/s_cexpf.c (__cexpf): Likewise.
39373         * math/s_cexpl.c (__cexpl): Likewise.
39374         * math/s_clog10.c (__clog10): Likewise.
39375         * math/s_clog10f.c (__clog10f): Likewise.
39376         * math/s_clog10l.c (__clog10l): Likewise.
39377         * math/s_clog.c (__clog): Likewise.
39378         * math/s_clogf.c (__clogf): Likewise.
39379         * math/s_clogl.c (__clogl): Likewise.
39380         * math/s_csin.c (__csin): Likewise.
39381         * math/s_csinf.c (__csinf): Likewise.
39382         * math/s_csinh.c (__csinh): Likewise.
39383         * math/s_csinhf.c (__csinhf): Likewise.
39384         * math/s_csinhl.c (__csinhl): Likewise.
39385         * math/s_csinl.c (__csinl): Likewise.
39386         * math/s_csqrt.c (__csqrt): Likewise.
39387         * math/s_csqrtf.c (__csqrtf): Likewise.
39388         * math/s_csqrtl.c (__csqrtl): Likewise.
39389         * math/s_ctan.c (__ctan): Likewise.
39390         * math/s_ctanf.c (__ctanf): Likewise.
39391         * math/s_ctanh.c (__ctanh): Likewise.
39392         * math/s_ctanhf.c (__ctanhf): Likewise.
39393         * math/s_ctanhl.c (__ctanhl): Likewise.
39394         * math/s_ctanl.c (__ctanl): Likewise.
39395         * math/w_pow.c: Likewise.
39396         * math/w_powf.c: Likewise.
39397         * math/w_powl.c: Likewise.
39398         * math/w_scalb.c (sysv_scalb): Likewise.
39399         * math/w_scalbf.c (sysv_scalbf): Likewise.
39400         * math/w_scalbl.c (sysv_scalbl): Likewise.
39401         * misc/error.c (error_tail): Likewise.
39402         * misc/pselect.c (__pselect): Likewise.
39403         * nis/nis_callback.c (__nis_create_callback): Likewise.
39404         * nis/nis_call.c (__nisfind_server): Likewise.
39405         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39406         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39407         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39408         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39409         * nis/nis_lookup.c (nis_lookup): Likewise.
39410         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39411         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39412         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39413         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39414         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39415         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39416         * nis/nss_compat/compat-initgroups.c (add_group)
39417         (internal_getgrent_r): Likewise.
39418         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39419         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39420         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39421         (internal_getspnam_r): Likewise.
39422         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39423         (_nss_nis_getaliasbyname_r): Likewise.
39424         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39425         (_nss_nis_getntohost_r): Likewise.
39426         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39427         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39428         (_nss_nis_getgrgid_r): Likewise.
39429         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39430         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39431         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39432         (_nss_nis_gethostbyname4_r): Likewise.
39433         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39434         (initgroups_netid): Likewise.
39435         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39436         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39437         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39438         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39439         (_nss_nis_getprotobynumber_r): Likewise.
39440         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39441         (_nss_nis_getsecretkey): Likewise.
39442         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39443         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39444         (_nss_nis_getpwuid_r): Likewise.
39445         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39446         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39447         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39448         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39449         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39450         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39451         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39452         Likewise.
39453         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39454         (_nss_nisplus_getntohost_r): Likewise.
39455         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39456         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39457         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39458         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39459         Likewise.
39460         * nis/nss_nisplus/nisplus-initgroups.c
39461         (_nss_nisplus_initgroups_dyn): Likewise.
39462         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39463         (_nss_nisplus_getnetbyaddr_r): Likewise.
39464         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39465         (_nss_nisplus_getprotobynumber_r): Likewise.
39466         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39467         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39468         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39469         Likewise.
39470         * nis/nss_nisplus/nisplus-service.c
39471         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39472         (_nss_nisplus_getservbyport_r): Likewise.
39473         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39474         (_nss_nisplus_getspnam_r): Likewise.
39475         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39476         Likewise.
39477         * nscd/aicache.c (addhstaiX): Likewise.
39478         * nscd/cache.c (cache_search, prune_cache): Likewise.
39479         * nscd/connections.c (register_traced_file, send_ro_fd)
39480         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39481         (main_loop_epoll): Likewise.
39482         * nscd/grpcache.c (addgrbyX): Likewise.
39483         * nscd/hstcache.c (addhstbyX): Likewise.
39484         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39485         * nscd/mem.c (gc, mempool_alloc): Likewise.
39486         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39487         (addinnetgrX): Likewise.
39488         * nscd/nscd-client.h (__nscd_acquire_maplock)
39489         (__nscd_drop_map_ref): Likewise.
39490         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39491         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39492         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39493         Likewise.
39494         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39495         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39496         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39497         (__nscd_get_map_ref): Likewise.
39498         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39499         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39500         Likewise.
39501         * nscd/pwdcache.c (addpwbyX): Likewise.
39502         * nscd/selinux.c (preserve_capabilities): Likewise.
39503         * nscd/servicescache.c (addservbyX): Likewise.
39504         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39505         * posix/fnmatch.c (fnmatch): Likewise.
39506         * posix/getopt.c (_getopt_internal_r): Likewise.
39507         * posix/glob.c (glob, glob_in_dir): Likewise.
39508         * posix/wordexp.c (exec_comm_child): Likewise.
39509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39510         (getanswer_r, gaih_getanswer_slice): Likewise.
39511         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39512         * resolv/res_init.c: Likewise.
39513         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39514         * resolv/res_query.c (__libc_res_nquery): Likewise.
39515         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39516         Likewise.
39517         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39518         * stdio-common/perror.c (perror): Likewise.
39519         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39520         * stdio-common/tmpnam.c (tmpnam): Likewise.
39521         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39522         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39523         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39524         Likewise.
39525         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39526         * stdlib/putenv.c (putenv): Likewise.
39527         * stdlib/setenv.c (__add_to_environ): Likewise.
39528         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39529         * stdlib/strtol_l.c (INTERNAL): Likewise.
39530         * string/memmem.c (memmem): Likewise.
39531         * string/strerror.c (strerror): Likewise.
39532         * string/strnlen.c (__strnlen): Likewise.
39533         * string/test-memmem.c (simple_memmem): Likewise.
39534         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39535         * sunrpc/pm_getport.c (__get_socket): Likewise.
39536         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39537         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39538         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39539         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39540         Likewise.
39541         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39542         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39543         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39544         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39545         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39546         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39547         Likewise.
39548         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39549         Likewise.
39550         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39551         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39553         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39554         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39556         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39557         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39558         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39559         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39560         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39561         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39562         Likewise.
39563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39564         Likewise.
39565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39566         Likewise.
39567         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39568         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39569         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39571         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39573         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39576         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39579         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39580         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39582         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39583         Likewise.
39584         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39585         Likewise.
39586         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39587         Likewise.
39588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39589         Likewise.
39590         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39592         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39593         Likewise.
39594         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39595         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39596         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39597         * sysdeps/posix/sleep.c: Likewise.
39598         * sysdeps/posix/tempname.c: Likewise.
39599         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39600         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39601         Likewise.
39602         * sysdeps/powerpc/powerpc32/dl-machine.h
39603         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39604         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39606         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39607         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39608         Likewise.
39609         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39611         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39613         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39614         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39615         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39616         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39617         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39618         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39620         (elf_machine_lazy_rel): Likewise.
39621         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39623         (elf_machine_lazy_rel): Likewise.
39624         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39625         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39626         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39627         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39628         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39629         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39630         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39632         Likewise.
39633         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39634         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39635         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39636         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39637         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39638         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39639         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39640         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39641         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39642         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39643         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39644         Likewise.
39645         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39646         (__posix_fallocate64_l64): Likewise.
39647         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39648         (posix_fallocate): Likewise.
39649         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39650         Likewise.
39651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39652         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39653         (getifaddrs_internal): Likewise.
39654         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39655         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39656         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39657         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39658         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39659         (__posix_fallocate64_l64): Likewise.
39660         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39661         Likewise.
39662         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39663         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39664         (__get_clockfreq): Likewise.
39665         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39666         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39667         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39670         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39671         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39672         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39673         Likewise.
39674         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39675         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39676         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39679         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39680         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39681         Likewise.
39682         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39683         (posix_fallocate): Likewise.
39684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39685         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39686         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39687         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39688         (elf_machine_rela, elf_machine_rela_relative)
39689         (elf_machine_lazy_rel): Likewise.
39690         * time/asctime.c (asctime_internal): Likewise.
39691         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39692         * time/tzset.c (__tzset_parse_tz): Likewise.
39693         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39694         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39695         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39696         * wcsmbs/wcsmbsload.h: Likewise.
39698         [BZ #15894]
39699         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39701         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39702         (arena_get2): Remove THREAD_STATS conditionals.
39703         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39704         (__malloc_stats, int): Likewise.
39706 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39708         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39709         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39711         * manual/setjmp.texi: Fix typos/grammar errors.
39713         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39714         Only return early when n is <= 0.  Delete unused return statement.
39716         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39717         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39718         * debug/tst-longjmp_chk3.c: New file.
39720         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39721         (test_main): Replace code with set_fortify_handler call.
39722         * debug/test-strcpy_chk.c: Likewise.
39723         * debug/tst-chk1.c: Likewise.
39724         * debug/tst-longjmp_chk.c: Likewise.
39725         * test-skeleton.c: Include fcntl.h & paths.h
39726         (set_fortify_handler): Define.
39728         * debug/tst-longjmp_chk.c: Add header comment and include
39729         ../test-skeleton.c.
39730         (do_test): Mark static.
39731         (TEST_FUNCTION): Define.
39733         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39734         (IP_PMTUDISC_INTERFACE): Likewise.
39735         (IP_MULTICAST_IF): Likewise.
39736         (IP_MULTICAST_TTL): Likewise.
39737         (IP_MULTICAST_LOOP): Likewise.
39738         (IP_ADD_MEMBERSHIP): Likewise.
39739         (IP_DROP_MEMBERSHIP): Likewise.
39740         (IP_UNBLOCK_SOURCE): Likewise.
39741         (IP_BLOCK_SOURCE): Likewise.
39742         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39743         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39744         (IP_MSFILTER): Likewise.
39745         (MCAST_JOIN_GROUP): Likewise.
39746         (MCAST_BLOCK_SOURCE): Likewise.
39747         (MCAST_UNBLOCK_SOURCE): Likewise.
39748         (MCAST_LEAVE_GROUP): Likewise.
39749         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39750         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39751         (MCAST_MSFILTER): Likewise.
39752         (IP_MULTICAST_ALL): Likewise.
39753         (IP_UNICAST_IF): Likewise.
39755         * timezone/Makefile: Delete $(have-ksh) check.
39756         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39757         * timezone/tzselect.ksh: Add +x mode bits.
39759         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39760         (ANON_INODE_FS_MAGIC): Likewise.
39761         (BDEVFS_MAGIC): Likewise.
39762         (BINFMTFS_MAGIC): Likewise.
39763         (BTRFS_TEST_MAGIC): Likewise.
39764         (CRAMFS_MAGIC_WEND): Likewise.
39765         (DEBUGFS_MAGIC): Likewise.
39766         (ECRYPTFS_SUPER_MAGIC): Likewise.
39767         (EXT3_SUPER_MAGIC): Likewise.
39768         (EXT4_SUPER_MAGIC): Likewise.
39769         (FUTEXFS_SUPER_MAGIC): Likewise.
39770         (HOSTFS_SUPER_MAGIC): Likewise.
39771         (HUGETLBFS_MAGIC): Likewise.
39772         (MINIX3_SUPER_MAGIC): Likewise.
39773         (MTD_INODE_FS_MAGIC): Likewise.
39774         (NILFS_SUPER_MAGIC): Likewise.
39775         (OPENPROM_SUPER_MAGIC): Likewise.
39776         (PIPEFS_MAGIC): Likewise.
39777         (PSTOREFS_MAGIC): Likewise.
39778         (QNX6_SUPER_MAGIC): Likewise.
39779         (RAMFS_MAGIC): Likewise.
39780         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39781         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39782         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39783         (SECURITYFS_MAGIC): Likewise.
39784         (SELINUX_MAGIC): Likewise.
39785         (SMACK_MAGIC): Likewise.
39786         (SOCKFS_MAGIC): Likewise.
39787         (SQUASHFS_MAGIC): Likewise.
39788         (STACK_END_MAGIC): Likewise.
39789         (TMPFS_MAGIC): Likewise.
39790         (USBDEVICE_SUPER_MAGIC): Likewise.
39791         (V9FS_MAGIC): Likewise.
39792         (XENFS_SUPER_MAGIC): Likewise.
39793         (CRAMFS_MAGIC): Fix typo in comment.
39794         (EXT2_SUPER_MAGIC): Update comment.
39795         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39797 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39799         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39800         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39801         * sysdeps/unix/sysv/linux/arm: Move directory from
39802         ports/sysdeps/unix/sysv/linux/arm.
39803         * README: Update listing for arm-*-linux-gnueabi.
39805         * README: Remove mention of am33.
39807 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39809         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39810         than the comma operator, to avoid "rhs of comma has no effect"
39811         compiler warnings.
39812         (__sigfillset, __sigandset, __sigorset): Likewise.
39813         * include/signal.h (__sigemptyset): Likewise.
39814         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39816 2014-02-07  Allan McRae  <allan@archlinux.org>
39818         * version.h (RELEASE): Set to "development".
39819         (VERSION): Set to "2.19.90"
39820         * NEWS: Add 2.20 section.
39822 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39824         [BZ #16529]
39825         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39827 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39829         * manual/contrib.texi: Update entry for Carlos O'Donell,
39830         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39832 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39834         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39836         * sysdeps/unix/sysv/linux/kernel-features.h
39837         [__LINUX_KERNEL_VERSION >= 0x020621]
39838         (__ASSUME_PROC_PID_TASK_COMM): Define.
39840 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39842         [BZ #16398]
39843         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39844         conversion when destination buffer does not have enough space.
39845         * libio/tst-ftell-partial-wide.c: New test case.
39846         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39848         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39849         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39850         Leonard and Allan McRae.
39852 2014-02-04  David S. Miller  <davem@davemloft.net>
39854         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39855         32-bit.
39857 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39860         New file
39861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39862         New file
39863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39864         New file.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39866         New file.
39867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39868         New file.
39869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39870         New file.
39871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39872         New file.
39873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39874         New file.
39875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39876         New file.
39877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39878         New file.
39879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39880         New file.
39881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39882         New file.
39883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39884         New file.
39886 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39888         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39889         * shlib-versions: Likewise.
39891 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39892             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39894         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39895         (abilist-pattern): New variable, set to %-le.abilist.
39897         * Makerules (abilist-pattern): New variable.
39898         (vpath): Use $(abilist-pattern) in place of %.abilist.
39899         (check-abi-% pattern rule): Likewise.
39900         (check-abi, update-abi): Likewise.
39902 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39906 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39908         * manual/startup.texi: Add next, previous, and top entries for
39909         the `Program Arguments' and `Environment Variables' nodes.
39911 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39913         * manual/macros.texi: Add comments before MTASC-safety macros.
39915         * manual/users.texi: Document MTASC-safety properties.
39917         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39918         (pthread_getspecific, pthread_setspecific): Format with
39919         @deftypefun, and add @safety note.
39920         * manual/signal.texi: Move comments that analyze the above
39921         functions to their home place.
39923 2014-02-03  Allan McRae  <allan@archlinux.org>
39925         * po/sl.po: Update Slovenian translation from translation project.
39927 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39929         * manual/time.texi (timegm): Add missing blank after @c.
39930         Reported by Joseph Myers <joseph@codesourcery.com>.
39932 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39934         * manual/check-safety.sh: New.
39935         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39937         * manual/terminal.texi: Document MTASC-safety properties.
39939         * manual/filesys.texi: Document MTASC-safety properties.
39941         * manual/errno.texi: Document MTASC-safety properties.
39943         * manual/intro.texi: Document safety identifiers and
39944         conditionals.
39946         * manual/string.texi (wcstok): Fix prototype.
39947         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39949         * manual/time.texi: Document MTASC-safety properties.
39951         * manual/string.texi: Document MTASC-safety properties.
39953         * manual/threads.texi: Document MTASC-safety properties.
39955         * manual/stdio.texi: Document MTASC-safety properties.
39957         * manual/syslog.texi: Document MTASC-safety properties.
39959         * manual/sysinfo.texi: Document MTASC-safety properties.
39961         * manual/startup.texi: Document MTASC-safety properties.
39963         * manual/socket.texi: Document MTASC-safety properties.
39965         * manual/signal.texi: Document MTASC-safety properties.
39967 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39969         * manual/setjmp.texi: Document MTASC-safety properties.
39971         * manual/search.texi: Document MTASC-safety properties.
39973         * manual/resource.texi: Document MTASC-safety properties.
39975         * manual/process.texi: Document MTASC-safety properties.
39977         * manual/platform.texi: Document MTASC-safety properties.
39979         * manual/pipe.texi: Document MTASC-safety properties.
39981         * manual/pattern.texi: Document MTASC-safety properties.
39983         * manual/message.texi: Document MTASC-safety properties.
39985         [BZ #12751]
39986         * manual/memory.texi: Document MTASC-safety properties.
39988         * manual/math.texi: Document MTASC-safety properties.
39990         * manual/locale.texi: Document MTASC-safety properties.
39992         * manual/llio.texi: Document MTASC-safety properties.
39994         * manual/libdl.texi: New.
39996         * manual/lang.texi: Document MTASC-safety properties.
39998         * manual/job.texi: Document MTASC-safety properties.
40000         * manual/getopt.texi: Document MTASC-safety properties.
40002         * manual/ctype.texi: Document MTASC-safety properties.
40004 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40006         [BZ #16046]
40007         * csu/libc-tls.c (static_map): Remove variable.
40008         (__libc_setup_tls): Use main executable's link map for TLS data.
40009         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40010         casing for LM_ID_BASE and GL(dl_nns).
40011         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40012         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40013         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40014         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40015         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40016         member.
40017         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40018         l_phnum members.
40020 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40022         * manual/debug.texi: Document MTASC-safety properties.
40024 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40026         [BZ #16510]
40027         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40028         of __x86_64__ when disabling x87 inline functions.
40030 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40032         * manual/charset.texi: Document MTASC-safety properties.
40034         * manual/crypt.texi: Document MTASC-safety properties.
40036         * manual/conf.texi: Document MTASC-safety properties.
40038         * manual/arith.texi: Document MTASC-safety properties.
40040         * manual/argp.texi: Document MTASC-safety properties.
40042         * manual/macros.texi: Introduce macros to document multi
40043         thread, asynchronous signal and asynchronous cancellation
40044         safety properties.
40045         * manual/intro.texi: Introduce the properties themselves.
40047 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40049         * sysdeps/sh/sh4/Makefile: New file.
40051 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40053         * math/gen-libm-test.pl ($srcdir): New variable.
40054         ($auto_input): Use it.
40056 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40058         [BZ #16506]
40059         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40060         access beyond array bounds when parsing netgroups file.
40062         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40063         the old buffer before realloc.
40065 2014-01-27  Allan McRae  <allan@archlinux.org>
40067         * po/fr.po: Update French translation from translation project.
40069 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40071         * sysdeps/sh/libm-test-ulps: Regenerate.
40073 2014-01-24  David S. Miller  <davem@davemloft.net>
40075         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40077 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40079         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40080         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40082 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40084         [BZ #16474]
40085         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40086         string pointers after reallocation.
40088 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40090         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40091         __SH4A__ instead of __SH_FPU_ANY__.
40093 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40095         * sysdeps/sh/fpu_control.h: New file.
40096         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40097         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40098         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40099         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40100         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40101         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40102         * sysdeps/sh/sys/ucontext.h: Remove.
40103         * sysdeps/sh/sys: Remove directory.
40105 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40107         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40108         s390/sys/ucontext.h.
40109         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40110         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40112 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40114         [BZ #15605]
40115         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40117 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40119         [BZ#16431]
40120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40121         Adjust the vDSO correctly for internal calls.
40122         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40124 2014-01-20  Allan McRae  <allan@archlinux.org>
40126         * po/ca.po: Update Catalan translation from translation project.
40128 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40130         * sysdeps/s390/sotruss-lib.c: New file.
40132 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40134         [BZ#16430]
40135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40136         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40137         local calls issues by not having a PLT stub required for IFUNC calls.
40138         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40140 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40142         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40143         * math/test-fpucw-static.c: Likewise.
40145 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40147         [BZ #16453]
40148         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40150 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40152         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40153         implementation for powerpc.
40155 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40157         [BZ #14782]
40158         * sysdeps/posix/system.c (__libc_system): Do not enable
40159         asynchronous cancellation.
40161 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40163         [BZ #16427]
40164         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40165         handling only for numbers special also in the IEEE case.
40167 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40169         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40171 2014-01-11  Allan McRae  <allan@archlinux.org>
40173         * po/bg.po: Update Bulgarian translation from translation project.
40175         * po/de.po: Update German translation from translation project.
40177 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40179         * sysdeps/generic/gcc-compat.h: New file.
40181 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40183         * benchtests/asin-inputs: Correct slow inputs.
40184         * benchtests/acos-inputs: Likewise.
40186 2014-01-10  Allan McRae  <allan@archlinux.org>
40188         * po:sv.po: Update Swedish translation from translation project.
40190         * po/vi.po: Update Vietnamese translation from translation project.
40192         * po/eo.po: Update Esperanto translation from translation project.
40194         * po/cs.po: Update Czech translation from translation project.
40196         * po/nl.po: Update Dutch translation from translation project.
40198         * po/pl.po: Update Polish translation from translation project.
40200         * po/ru.po: Update Russian translation from translation project.
40202         * po/uk.po: Update Ukrainian translation from translation project.
40204 2014-01-08  Brooks Moses  <bmoses@google.com>
40206         * elf/dl-load.c: Fix comment typo.
40208 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40210         * po/header.pot: Rename to...
40211         * po/pot.header: ... this.
40212         * po/Makefile: Use pot.header.
40214 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40215             Maxim Kuvyrkov  <maxim@kugelworks.com>
40217         [BZ #16394]
40218         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40219         SRC and DEST against LEN.
40221 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40223         [BZ #16414]
40224         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40225         implementation.
40226         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40228 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40232 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40234         [BZ #16408]
40235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40236         for large positive arguments.
40238 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40240         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40242         * math/auto-libm-test-in: Mark various tests with
40243         xfail-rounding:ldbl-128ibm.
40244         * math/auto-libm-test-out: Regenerated.
40246         [BZ #16407]
40247         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40248         Increase overflow threshold.
40250 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40252         [BZ #14286]
40253         * stdio-common/vfprintf.c: Check for integer overflow.
40255 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40257         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40258         the first argument and return value of __tls_get_addr_internal.
40260 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40262         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40263         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40265 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40267         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40268         * sysdeps/s390/rtld-global-offsets.sym: New file.
40269         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40270         GLIBC_2.19 symbol.
40271         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40272         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40273         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40274         ... this.
40275         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40276         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40277         ... this.
40278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40279         Regenerate.
40280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40281         Regenerate.
40282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40283         halfs of GPRs for high_gprs contexts.
40284         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40285         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40286         field.
40287         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40288         uc_flags field.
40289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40290         64 bit versions:
40291         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40292         for high GPRs (uc_high_gprs) and for future extensions
40293         (__reserved).
40294         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40295         for future extensions (__reserved).
40296         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40297         64 bit versions:
40298         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40299         SC_HIGHGPRS offset definition.
40300         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40301         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40303         * Versions.def: Add GLIBC_2.19 for libpthread.
40304         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40305         siglongjmp for libpthread with GLIBC_2.19 symver.
40306         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40307         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40308         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40309         * sysdeps/s390/__longjmp.c: New file.
40310         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40311         * sysdeps/s390/longjmp.c: New file.
40312         * sysdeps/s390/setjmp.S: New file.
40313         * sysdeps/s390/sigjmp.S: New file.
40314         * sysdeps/s390/v1-longjmp.c: New file.
40315         * sysdeps/s390/v1-setjmp.h: New file.
40316         * sysdeps/s390/v1-sigjmp.c: New file.
40317         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40318         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40319         GLIBC_2.19 version.
40320         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40321         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40322         versioned symbols for ____longjmp_chk.
40323         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40324         Likewise.
40325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40326         Regenerate.
40327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40328         Regenerate.
40329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40330         Regenerate.
40331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40332         Regenerate.
40333         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40334         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40335         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40336         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40337         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40338         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40339         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40340         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40341         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40342         * sysdeps/s390/rtld-__longjmp.c: New file.
40343         * sysdeps/s390/rtld-setjmp.S: New file.
40345 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40347         [BZ #16400]
40348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40349         Return -__logl (x) for small positive arguments without evaluating
40350         a polynomial.
40352 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40354         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40355         Rename to ...
40356         (__ptrace_peeksiginfo_args): ... this.
40357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40361 2014-01-06  Allan McRae  <allan@archlinux.org>
40363         * inet/netinet/in.h: Fix typo in comment.
40365 2014-01-05  Andreas Jaeger  <aj@suse.de>
40367         * sysdeps/i386/fpu/libm-test-ulps: Update.
40369 2014-01-05  Allan McRae  <allan@archlinux.org>
40371         * po/libc.pot: Regenerated.
40373         * malloc/memusagestat.c: Fix gettext call formatting.
40375 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40377         * nscd/nscd.c: Improve usage() output.
40379 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40381         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40382         * sysdeps/unix/sysv/linux/configure: Regenerated.
40383         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40384         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40386 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40388         [BZ #16390]
40389         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40390         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40392 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40395         extra tokens at end of #undef directive.
40396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40398         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40400 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40404         * math/auto-libm-test-in: Mark various tests with
40405         xfail-rounding:ldbl-128ibm.
40406         * math/auto-libm-test-out: Regenerated.
40408 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40410         [BZ #16386]
40411         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40412         numbers with subnormal high part when calculating exponent.
40414         [BZ #16385]
40415         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40416         fabs.
40418         [BZ #16384]
40419         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40420         M_LN2l.
40421         (__ieee754_acoshl): Use __log1pl not __log1p.
40423 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40425         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40426         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40427         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40428         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40429         (reused_arena, arena_get2): Convert to GNU style.
40430         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40431         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40432         (memalign_check, __malloc_set_state): Likewise.
40433         * malloc/mallocbug.c (main): Likewise.
40434         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40435         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40436         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40437         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40438         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40439         (__posix_memalign, malloc_info): Likewise.
40440         * malloc/malloc.h: Likewise.
40441         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40442         (mallochook, memalignhook, reallochook, mabort): Likewise.
40443         * malloc/mcheck.h: Likewise.
40444         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40445         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40446         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40447         * malloc/morecore.c (__default_morecore): Likewise.
40448         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40449         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40450         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40451         (print_and_abort): Likewise.
40452         * malloc/obstack.h: Likewise.
40453         * malloc/set-freeres.c (__libc_freeres): Likewise.
40454         * malloc/tst-mallocstate.c (main): Likewise.
40455         * malloc/tst-mtrace.c (main): Likewise.
40456         * malloc/tst-realloc.c (do_test): Likewise.
40458 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40460         [BZ #16366]
40461         * nscd/netgroupcache.c (do_notfound): New function.
40462         (addgetnetgrentX): Use it.
40464         [BZ # 16365]
40465         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40466         NSS_STATUS_NOTFOUND.
40468 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40470         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40473 2014-01-01  Allan McRae  <allan@archlinux.org>
40475         * scripts/update-copyrights: Update configure input file suffix.
40477         * NEWS: Update copyright year.
40478         * catgets/gencat.c: Likewise.
40479         * csu/version.c: Likewise.
40480         * debug/catchsegv.sh: Likewise.
40481         * debug/pcprofiledump.c: Likewise.
40482         * debug/xtrace.sh: Likewise.
40483         * elf/ldconfig.c: Likewise.
40484         * elf/ldd.bash.in: Likewise.
40485         * elf/pldd.c: Likewise.
40486         * elf/sotruss.ksh: Likewise.
40487         * elf/sprof.c: Likewise.
40488         * iconv/iconv_prog.c: Likewise.
40489         * iconv/iconvconfig.c: Likewise.
40490         * locale/programs/locale.c: Likewise.
40491         * locale/programs/localedef.c: Likewise.
40492         * login/programs/pt_chown.c: Likewise.
40493         * malloc/memusage.sh: Likewise.
40494         * malloc/memusagestat.c: Likewise.
40495         * malloc/mtrace.pl: Likewise.
40496         * manual/libc.texinfo: Likewise.
40497         * nscd/nscd.c: Likewise.
40498         * nss/getent.c: Likewise.
40499         * nss/makedb.c: Likewise.
40500         * posix/getconf.c: Likewise.
40501         * scripts/test-installation.pl: Likewise.
40503         * All files with FSF copyright notices: Update copyright dates
40504         using scripts/update-copyrights.
40505         * intl/plural.c: Regenerated.
40506         * locale/programs/charmap-kw.h: Likewise.
40507         * locale/programs/locfile-kw.h: Likewise.
40509 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40511         * sysdeps/unix/sysv/linux/configure: Regenerated.
40512         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40513         the linux/fanotify.h header.
40514         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40515         HAVE_LINUX_FANOTIFY_H is defined.
40517 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40519         * benchtests/cos-inputs: New inputs.
40520         * benchtests/sin-inputs: Likewise.
40522         * benchtests/atan-inputs: New inputs. Fix name of multiple
40523         precision fallback inputs.
40525         * benchtests/atanh-inputs: New inputs.
40526         * benchtests/tanh-inputs: Likewise.
40528         * benchtests/acosh-inputs: New inputs.
40529         * benchtests/asinh-inputs: Likewise.
40531         * benchtests/cosh-inputs: New inputs.
40532         * benchtests/sinh-inputs: Likewise.
40534         * benchtests/acos-inputs: Add more inputs.
40535         * benchtests/asin-inputs: Likewise.
40537 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40539         [BZ #16375]
40540         * manual/arith.texi: Fix spelling.
40541         * manual/charset.texi: Likewise.
40542         * manual/errno.texi: Likewise.
40543         * manual/filesys.texi: Likewise.
40544         * manual/lang.texi: Likewise.
40545         * manual/llio.texi: Likewise.
40546         * manual/locale.texi: Likewise.
40547         * manual/message.texi: Likewise.
40548         * manual/resource.texi: Likewise.
40549         * manual/search.texi: Likewise.
40550         * manual/setjmp.texi: Likewise.
40551         * manual/stdio.texi: Likewise.
40552         * manual/string.texi: Likewise.
40553         * manual/sysinfo.texi: Likewise.
40554         * manual/time.texi: Likewise.
40556 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40558         * po/sl.po: New file.
40560 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40562         * .gitignore: Add core/.gdbinit/.gdb_history.
40564 2013-12-27  Allan McRae  <allan@archlinux.org>
40566         [BZ #16369]
40567         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40568         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40570 2013-12-24  Brooks Moses  <bmoses@google.com>
40572         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40573         all compilers that claim C++98 compliance, not just GCC.
40574         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40575         Likewise.
40577 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40579         * NEWS: Restore accidentally deleted bug-fix entries.
40581 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40582             Ondřej Bílka  <neleai@seznam.cz>
40584         [BZ #15073]
40585         * malloc/malloc.c (_int_free): Perform sanity check only if we
40586         have_lock.
40588 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40590         [BZ #12986]
40591         * manual/stdio.texi (String Input Conversions): Clarify that character
40592         classes are not supported.
40594 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40598 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40600         [BZ #16337]
40601         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40602         Calculate results for small negative arguments directly rather
40603         than using reflection formula with special underflow handling.
40605         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40606         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40607         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40608         (fchflags): Likewise.
40609         (revoke): Likewise.
40610         (setlogin): Likewise.
40611         (sigaltstack): Likewise.
40612         (wait4): Likewise.
40613         (sigblock): Remove.
40614         (sigsetmask): Likewise.
40615         (wait3): Likewise.
40616         (waitpid): Likewise.
40617         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40618         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40619         file.
40620         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40621         * sysdeps/unix/bsd/Makefile: ... here.
40622         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40623         * sysdeps/unix/bsd/Versions: ... here.
40624         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40625         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40626         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40627         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40628         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40629         * sysdeps/unix/bsd/sigblock.c: ... here.
40630         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40631         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40632         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40633         * sysdeps/unix/bsd/sigvec.c: ... here.
40634         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40635         * sysdeps/unix/bsd/tcdrain.c: ... here.
40636         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40637         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40638         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40639         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40640         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40641         * sysdeps/unix/bsd/wait.c: ... here.
40642         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40643         * sysdeps/unix/bsd/wait3.c: ... here.
40644         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40645         * sysdeps/unix/bsd/waitpid.c: ... here.
40647 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40649         [BZ #16356]
40650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40651         round-to-nearest for [!USE_AS_EXPM1L].
40652         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40653         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40654         more tests of exp and exp10.  Expect some exp10 tests to miss
40655         exceptions or fail in directed rounding modes.
40656         * math/auto-libm-test-out: Regenerated.
40657         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40658         (exp10_test_tonearest): New function.
40659         (exp10_towardzero_test_data): New array.
40660         (exp10_test_towardzero): New function.
40661         (exp10_downward_test_data): New array.
40662         (exp10_test_downward): New function.
40663         (exp10_upward_test_data): New array.
40664         (exp10_test_upward): New function.
40665         (main): Call the new functions.
40666         * sysdeps/i386/fpu/libm-test-ulps: Update.
40667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40669 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40671         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40672         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40673         * math/auto-libm-test-out: Regenerated.
40674         * math/libm-test.inc (acosh_test_data): Add more tests.
40675         (atanh_test_data): Likewise.
40676         (ceil_test_data): Likewise.
40677         (copysign_test_data): Likewise.
40678         * sysdeps/i386/fpu/libm-test-ulps: Update.
40679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40681         * timezone/checktab.awk: Update from tzcode 2013i.
40682         * timezone/private.h: Likewise.
40683         * timezone/scheck.c: Likewise.
40684         * timezone/tzfile.h: Likewise.
40685         * timezone/tzselect.ksh: Likewise.
40686         * timezone/zdump.c: Likewise.
40687         * timezone/zic.c: Likewise.
40689         * math/auto-libm-test-in: Add tests of cpow.
40690         * math/auto-libm-test-out: Regenerated.
40691         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40693         mpc_cc_c.
40694         (func_calc_desc): Add mpc_cc_c union field.
40695         (test_functions): Add cpow.
40696         (special_fill_2pi): New function.
40697         (special_real_inputs): Add 2pi.
40698         (calc_generic_results): Handle mpc_cc_c.
40699         * sysdeps/i386/fpu/libm-test-ulps: Update.
40700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40702         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40703         csqrt, ctan and ctanh.
40704         * math/auto-libm-test-out: Regenerated.
40705         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40706         (TEST_COND_x86): Likewise.
40707         (ccos_test_data): Use AUTO_TESTS_c_c.
40708         (ccosh_test_data): Likewise.
40709         (cexp_test_data): Likewise.
40710         (clog_test_data): Likewise.
40711         (csqrt_test_data): Likewise.
40712         (ctan_test_data): Likewise.
40713         (ctan_tonearest_test_data): Likewise.
40714         (ctan_towardzero_test_data): Likewise.
40715         (ctan_downward_test_data): Likewise.
40716         (ctan_upward_test_data): Likewise.
40717         (ctanh_test_data): Likewise.
40718         (ctanh_tonearest_test_data): Likewise.
40719         (ctanh_towardzero_test_data): Likewise.
40720         (ctanh_downward_test_data): Likewise.
40721         (ctanh_upward_test_data): Likewise.
40722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40723         mpc_c_c.
40724         (func_calc_desc): Add mpc_c_c union field.
40725         (FUNC_mpc_c_c): New macro.
40726         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40727         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40728         ctanh.
40729         (special_fill_min_subnorm_p120): New function.
40730         (special_real_inputs): Add min_subnorm_p120.
40731         (calc_generic_results): Handle mpc_c_c.
40732         * sysdeps/i386/fpu/libm-test-ulps: Update.
40733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40735 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40737         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40738         (do_sin_slow): New functions.
40739         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40740         (cslow2, csloww1, csloww2): Use the new functions.
40742         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40743         Use M to change sign of result instead of X.  Assume X is
40744         positive.
40745         (csloww1): Likewise.
40746         (__sin): Adjust.
40747         (__cos): Adjust.
40749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40750         arguments A and DA.
40751         (__sin): Adjust.
40752         (__cos): Likewise.
40754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40755         (__cos): Likewise.
40756         (sloww1): Don't adjust sign of DX.
40757         (csloww1): Likewise.
40758         (sloww2): Use X directly and don't adjust sign of DX.
40759         (csloww2): Likewise.
40761 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40763         * math/auto-libm-test-in: Add tests of cabs and carg.
40764         * math/auto-libm-test-out: Regenerated.
40765         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40766         (carg_test_data): Likewise.
40767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40768         mpc_c_f.
40769         (func_calc_desc): Add mpc_c_f union field.
40770         (test_functions): Add cabs and carg.
40771         (calc_generic_results): Handle mpc_c_f.
40773         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40774         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40775         as a macro and a compat symbol.
40776         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40777         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40778         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40779         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40780         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40782         not use .hidden.
40783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40784         Likewise.
40785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40786         Likewise.
40787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40788         Likewise.
40789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40790         Likewise.
40791         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40792         Likewise.
40793         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40794         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40795         from GLIBC_2.3.2.
40797 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40801 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40803         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40804         trailing whitespace removed.
40805         * scripts/config.guess: Update to version 2013-11-29.
40806         * scripts/config.sub: Update to version 2013-10-01.
40808         * math/auto-libm-test-in: Add tests of sincos.
40809         * math/auto-libm-test-out: Regenerated.
40810         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40812         mpfr_f_11.
40813         (func_calc_desc): Add mpfr_f_11 union field.
40814         (test_functions): Add sincos.
40815         (calc_generic_results): Handle mpfr_f_11.
40816         * sysdeps/i386/fpu/libm-test-ulps: Update.
40817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40819 2013-12-19  Andreas Schwab  <schwab@suse.de>
40821         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40822         CALL_MCOUNT.
40823         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40824         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40825         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40827 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40829         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40830         * sysdeps/i386/fpu/libm-test-ulps: Update.
40831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40833         [BZ #16293]
40834         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40835         round-to-nearest mode when using frndint.
40836         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40837         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40839         Likewise.
40840         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40841         sinh test to fail.
40842         * math/auto-libm-test-out: Regenerated.
40843         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40844         (TEST_COND_x86): Likewise.
40845         (expm1_tonearest_test_data): New array.
40846         (expm1_test_tonearest): New function.
40847         (expm1_towardzero_test_data): New array.
40848         (expm1_test_towardzero): New function.
40849         (expm1_downward_test_data): New array.
40850         (expm1_test_downward): New function.
40851         (expm1_upward_test_data): New array.
40852         (expm1_test_upward): New function.
40853         (main): Run the new test functions.
40854         * sysdeps/i386/fpu/libm-test-ulps: Update.
40855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857         * include/features.h: Update comment documenting feature test
40858         macros.  Mention _DEFAULT_SOURCE in comment.
40859         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40860         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40861         _BSD_SOURCE and _SVID_SOURCE.
40862         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40863         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40864         !_SVID_SOURCE]: Likewise.
40865         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40866         (__USE_POSIX_IMPLICITLY): Define.
40867         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40868         (_POSIX_SOURCE): Undefine and redefine.
40869         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40870         (_POSIX_C_SOURCE): Likewise.
40871         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40872         (Feature Test Macros): Update documentation of default features.
40874 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40876         * benchtests/Makefile: Add bench-strtok.
40877         * benchtests/bench-strtok.c: New file: strtok benchtest.
40879 2013-12-19  Allan McRae  <allan@archlinux.org>
40881         * manual/install.texi: Suppress menu for plain text output.
40882         * INSTALL: Regenerated.
40884 2013-12-18  Brooks Moses  <bmoses@google.com>
40886         [BZ #15846]
40887         * misc/getauxval.c: Include errno.h.
40888         (__getauxval): Set errno to ENOENT if the requested type is not
40889         found.
40890         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40891         don't declare with __attribute_const__.
40892         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40893         * manual/startup.texi: Document that getauxval sets errno.
40895 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40897         * math/auto-libm-test-in: Add tests of jn and yn.
40898         * math/auto-libm-test-out: Regenerated.
40899         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40900         (yn_test_data): Likewise.
40901         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40902         mpfr_if_f.
40903         (func_calc_desc): Add mpfr_if_f union field.
40904         (FUNC_mpfr_if_f): New macro.
40905         (test_functions): Add jn and yn.
40906         (calc_generic_results): Assert type of second input for
40907         mpfr_ff_f.  Handle mpfr_if_f.
40908         (output_for_one_input_case): Disable all checking for arguments
40909         fitting floating-point types in case of an integer argument.
40910         * sysdeps/i386/fpu/libm-test-ulps: Update.
40911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40914         Don't expect fegetround reference in libm.so.
40916 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40918         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40919         $(config-cflags-nofma).
40921 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40923         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40924         * math/auto-libm-test-out: Regenerated.
40926         [BZ #16338]
40927         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40928         to determine exponent and adjust argument to have exponent of -1.
40929         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40930         log2.
40931         * math/auto-libm-test-out: Regenerated.
40932         * sysdeps/i386/fpu/libm-test-ulps: Update.
40933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40935 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40937         * manual/probes.texi: Remove cases when per-thread arenas are
40938         disabled.
40940 2013-12-18  Andreas Schwab  <schwab@suse.de>
40942         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40943         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40944         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40945         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40946         * sysdeps/i386/i686/multiarch/Makefile: Update.
40947         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40949 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40951         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40952         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40954 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40956         [BZ #15968]
40957         Support TZ transition times < 00:00:00.
40958         This is needed for version-3 tz-format files; it supports time
40959         stamps past 2037 for America/Godthab (the only entry in the tz
40960         database for which this change is relevant).
40961         * manual/time.texi (TZ Variable): Document transition times
40962         from -167:59:59 through -00:00:01.
40963         * time/tzset.c (tz_rule): Time of day is now signed.
40964         (__tzset_parse_tz): Parse negative time of day.
40966         Document TZ transition times >= 25:00:00.
40967         * manual/time.texi (TZ Variable): Document transition times from
40968         25:00:00 through 167:59:59.  These are already supported, and this
40969         support will help with version-3 tz-format files.
40971         * manual/time.texi (TZ Variable): Modernize North America example
40972         to reflect current (i.e., 2007-and-later) daylight saving rules.
40974         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40976 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40978         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40979         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40982         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40983         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40984         * sysdeps/unix/bsd/clock.c: Likewise.
40985         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40986         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40987         * sysdeps/unix/bsd/init-posix.c: Likewise.
40988         * sysdeps/unix/bsd/poll.c: Likewise.
40989         * sysdeps/unix/bsd/ptsname.c: Likewise.
40990         * sysdeps/unix/bsd/seekdir.c: Likewise.
40991         * sysdeps/unix/bsd/setegid.c: Likewise.
40992         * sysdeps/unix/bsd/seteuid.c: Likewise.
40993         * sysdeps/unix/bsd/setgid.c: Likewise.
40994         * sysdeps/unix/bsd/setrgid.c: Likewise.
40995         * sysdeps/unix/bsd/setruid.c: Likewise.
40996         * sysdeps/unix/bsd/setsid.c: Likewise.
40997         * sysdeps/unix/bsd/setuid.c: Likewise.
40998         * sysdeps/unix/bsd/sigaction.c: Likewise.
40999         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41000         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41001         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41002         * sysdeps/unix/bsd/telldir.c: Likewise.
41003         * sysdeps/unix/bsd/times.c: Likewise.
41004         * sysdeps/unix/bsd/usleep.c: Likewise.
41006         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41007         ($(objpfx)libbsd-compat.a): Remove rule.
41009         * include/features.h (__FAVOR_BSD): Do not define.
41010         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41011         features conflicting with POSIX.
41012         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41013         (_BSD_SOURCE): Remove description of not being a subset of other
41014         feature test macros.
41015         * manual/job.texi (getpgrp): Do not document BSD version.
41016         (getpgid): Do not document by reference to BSD getpgrp.
41017         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41018         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41019         * signal/signal.h [__FAVOR_BSD]: Likewise.
41020         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41021         instead of making contents conditional on [__FAVOR_BSD].
41022         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41024 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41028 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41030         [BZ #16314]
41031         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41032         values below 2**-450, not 2**-500.
41033         * math/auto-libm-test-in: Don't allow spurious underflow from
41034         hypot.
41035         * math/auto-libm-test-out: Regenerated.
41037         [BZ #16316]
41038         [BZ #16330]
41039         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41040         values of ha and hb and sort them after adjusting subnormal
41041         arguments.
41042         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41043         Likewise.
41044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41045         values of ea and eb and sort them after adjusting subnormal
41046         arguments.
41047         * math/auto-libm-test-in: Do not expect some hypot tests of
41048         subnormals to fail.  Add more hypot tests.
41049         * math/auto-libm-test-out: Regenerated.
41051 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41053         [BZ #13304]
41054         * sysdeps/sh/s_fma.c: New file.
41055         * sysdeps/sh/s_fmaf.c: New file.
41056         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41057         version.
41058         * sysdeps/sh/Implies: Add sh/soft-fp.
41060 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41062         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41063         level of indirection to members `objname', `errstring', `malloced'.
41064         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41065         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41066         it as the __longjmp argument (just pass 1 instead).
41067         (_dl_catch_error): Initialize C with argument pointers and address of
41068         volatile local ERRCODE rather than copying values out of C at return.
41070 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41072         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41073         * math/auto-libm-test-out: Regenerated.
41074         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41075         (hypot_test_data): Likewise.
41076         (pow_test_data): Likewise.
41077         (pow_tonearest_test_data): Likewise.
41078         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41079         mpfr_ff_f.
41080         (func_calc_desc): Add mpfr_ff_f union field.
41081         (FUNC_mpfr_ff_f): New macro.
41082         (test_functions): Add atan2, hypot and pow.
41083         (special_fill_min): New function.
41084         (special_fill_minus_min): Likewise.
41085         (special_fill_min_subnorm): Likewise.
41086         (special_fill_minus_min_subnorm): Likewise.
41087         (special_real_inputs): Add min, -min, min_subnorm and
41088         -min_subnorm.
41089         (calc_generic_results): Handle mpfr_ff_f.
41090         * sysdeps/i386/fpu/libm-test-ulps: Update.
41091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41093 2013-12-16  Will Newton  <will.newton@linaro.org>
41095         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41096         (Aligned Memory Blocks): Add documentation for aligned_alloc
41097         and suggest it as an alternative to posix_memalign.
41098         (Hooks for Malloc): Document __memalign_hook is also called
41099         for aligned_alloc.  (Summary of Malloc): Add summary for
41100         aligned alloc.  Document __memalign_hook is also called
41101         for aligned_alloc.
41103 2013-12-16  Will Newton  <will.newton@linaro.org>
41105         * manual/memory.texi (Malloc Examples): Clarify default
41106         alignment documentation.  Suggest posix_memalign rather
41107         than memalign or valloc.
41108         (Aligned Memory Blocks): Remove suggestion to use memalign
41109         or valloc.  Remove obsolete comment about BSD.
41110         Document memalign errno values and mark the function obsolete.
41111         Document posix_memalign returned error codes.  Mark valloc
41112         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41113         called for posix_memalign and valloc.
41114         (Summary of Malloc): Add posix_memalign to function summary.
41115         __memalign_hook is also called for posix_memalign and valloc.
41117 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41119         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41120         TAYLOR_SIN.
41121         (__sin): Adjust.
41122         (__cos): Likewise.
41123         (sloww): Use mynumber union.  Expand ternary operator into
41124         if-else statements.
41125         (cslow): use mynumber union.
41127 2013-12-16  Allan McRae  <allan@archlinux.org>
41129         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41130         * configure: Regenerated.
41132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41134         [BZ #14120]
41135         * configure.ac: Added --enable-maintainer-mode. Check for
41136         autoconf when enabled.
41137         * configure: Regenerated.
41139         * nscd/nscd.service: New file.
41140         * nscd/nscd.tmpfiles: New file.
41142 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41144         [BZ #12100]
41145         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41146         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41147         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41148         (strstr): Add __strstr_sse2_unaligned ifunc.
41149         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41150         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41151         (strcasestr): Remove __strcasestr_sse42 ifunc.
41152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41156 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41158         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41159         * sysdeps/sh/bits/fenv.h: ... here.
41160         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41162 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41164         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41167         hypotf multiarch implementations.
41168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41171         multiarch hypot for PPC64.
41172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41175         multiarch hypotf for PPC64.
41177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41178         modff multiarch implementations.
41179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41182         multiarch modf for PPC64.
41183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41186         multiarch modff for PPC64.
41188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41189         and logl multiarch implementations.
41190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41193         multiarch logb for PPC64.
41194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41197         multiarch logb for PPC64.
41198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41201         multiarch logb for PPC64.
41203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41204         isinff multiarch implementation.
41205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41206         file.
41207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41209         multiarch isinf for PPC64.
41210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41211         file.
41212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41213         multiarch isinff for PPC64.
41215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41216         finitef multiarch implementation.
41217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41218         file.
41219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41221         multiarch finite for PPC64.
41222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41223         file.
41224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41225         multiarch finitef for PPC64.
41227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41228         lrint multiarch implementation.
41229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41230         file.
41231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41233         multiarch llrint for PPC64.
41234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41235         multiarch lrint for PPC64.
41237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41238         copysignf multiarch implementation.
41239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41240         file.
41241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41242         file.
41243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41244         multiarch copysign for PPC64.
41245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41246         multiarch copysignf for PPC64.
41248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41249         multiarch implementation.
41250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41251         file.
41252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41253         file.
41254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41255         file.
41256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41257         file.
41258         multiarch llround for PPC64.
41259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41260         multiarch trunc for PPC64.
41261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41262         multiarch truncf for PPC64.
41264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41265         multiarch implementation.
41266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41267         file.
41268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41269         file.
41270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41271         file.
41272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41273         file.
41274         multiarch llround for PPC64.
41275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41276         multiarch round for PPC64.
41277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41278         multiarch roundf for PPC64.
41280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41281         multiarch implementation.
41282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41283         file.
41284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41285         file.
41286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41287         file.
41288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41289         file.
41290         multiarch llround for PPC64.
41291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41292         multiarch floor for PPC64.
41293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41294         multiarch floorf for PPC64.
41296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41297         multiarch implementation.
41298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41299         file.
41300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41301         file.
41302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41303         file.
41304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41305         file.
41306         multiarch llround for PPC64.
41307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41308         multiarch ceil for PPC64.
41309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41310         multiarch ceilf for PPC64.
41312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41313         multiarch implementation.
41314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41315         file.
41316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41317         file.
41318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41319         file.
41320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41321         multiarch llround for PPC64.
41322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41323         multiarch lround for PPC64.
41325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41326         multiarch implementation.
41327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41330         file.
41331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41334         multiarch isnan for PPC64.
41335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41336         multiarch isnanf for PPC64.
41338         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41339         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41340         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41341         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41342         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41345         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41346         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41347         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41351         multiarch implementations.
41352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41353         (__libc_ifunc_impl_list): Likewise.
41354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41357         multiarch stpcpy for PPC64.
41359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41360         multiarch implementations.
41361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41362         (__libc_ifunc_impl_list): Likewise.
41363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41365         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41366         multiarch strcpy for PPC64.
41368         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41369         redefine function name.
41370         (_wordcopy_fwd_dest_aligned): Likewise.
41371         (_wordcopy_bwd_aligned): Likewise.
41372         (_wordcopy_bwd_dest_aligned): Likewise.
41373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41374         multiarch implementations.
41375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41376         (__libc_ifunc_impl_list): Likewise.
41377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41381         multiarch wcscpy for PPC64.
41383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41384         multiarch implementations.
41385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41386         (__libc_ifunc_impl_list): Likewise.
41387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41389         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41391         multiarch wcscpy for PPC64.
41393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41394         multiarch implementations.
41395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41396         (__libc_ifunc_impl_list): Likewise.
41397         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41398         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41399         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41400         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41401         multiarch wcsrchr for PPC64.
41403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41404         multiarch implementations.
41405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41406         (__libc_ifunc_impl_list): Likewise.
41407         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41408         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41409         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41410         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41411         multiarch wcschr for PPC64.
41413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41414         multiarch implementations.
41415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41416         (__libc_ifunc_impl_list): Likewise.
41417         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41418         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41419         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41420         multiarch strchrnul for PPC64.
41422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41423         implementations.
41424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41425         (__libc_ifunc_impl_list): Likewise.
41426         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41427         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41428         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41429         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41430         strchr for PPC64.
41432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41433         implementations.
41434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41435         (__libc_ifunc_impl_list): Likewise.
41436         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41437         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41438         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41439         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41440         strncmp for PPC64.
41442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41443         multiarch implementations.
41444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41445         (__libc_ifunc_impl_list): Likewise.
41446         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41447         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41448         strncasecmp for PPC64.
41449         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41450         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41451         multiarch strncasecmp_l for PPC64.
41453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41454         multiarch implementations.
41455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41456         (__libc_ifunc_impl_list): Likewise.
41457         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41459         multiarch strcasecmp for PPC64.
41460         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41461         file.
41462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41463         multiarch strcasecmp_l for PPC64.
41465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41466         implementations.
41467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41468         (__libc_ifunc_impl_list): Likewise.
41469         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41470         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41471         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41472         strnlen for PPC64.
41474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41475         implementations.
41476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41477         (__libc_ifunc_impl_list): Likewise.
41478         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41479         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41480         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41481         strlen for PPC64.
41483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41484         implementations.
41485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41486         (__libc_ifunc_impl_list): Likewise.
41487         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41488         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41489         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41490         rawmemrchr for PPC64.
41492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41493         implementation.
41494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41495         (__libc_ifunc_impl_list): Likewise.
41496         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41497         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41498         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41499         memrchr for PPC64.
41501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41502         implementation.
41503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41504         (__libc_ifunc_impl_list): Likewise.
41505         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41506         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41507         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41508         memchr for PPC64.
41510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41511         implementation.
41512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41513         (__libc_ifunc_impl_list): Likewise.
41514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41515         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41516         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41517         mempcpy for PPC64.
41519         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41520         avoid cretion of __bzero symbol.
41521         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41522         Likewise.
41523         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41524         Likewise.
41525         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41526         Likewise.
41527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41528         multiarch implementations.
41529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41530         (__libc_ifunc_impl_list): Likewise.
41531         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41534         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41535         bzero for PPC32.
41536         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41537         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41538         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41539         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41540         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41541         memset for PPC64.
41542         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41544         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41546         implementations.
41547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41548         (__libc_ifunc_impl_list): Likewise.
41549         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41550         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41552         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41553         memcmp for PPC64.
41555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41556         multiarch for POWER/PPC64.
41557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41558         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41565         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41566         memcpy for PPC64.
41568         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41569         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41570         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41571         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41572         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41573         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41574         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41575         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41576         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41577         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41578         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41579         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41580         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41581         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41582         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41591 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41593         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41595 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41597         * benchtests/Makefile (bench): Add exp2 and log2.
41598         (LDLIBS-bench-exp2): Add -lm.
41599         (LDLIBS-bench-log2): Likewise.
41600         * benchtests/exp2-inputs: New inputs file.
41601         * benchtests/log2-inputs: New inputs file.
41602         * benchtests/log-inputs: Add new inputs.
41603         * benchtests/tan-inputs: Likewise.
41605 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41607         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41608         definition...
41609         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41610         (csloww2): ... from here.
41612         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41613         instead of structures.
41614         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41615         (POLYNOMIAL): Likewise.
41616         (TAYLOR_SLOW): Likewise.
41617         (__sin): Likewise.
41618         (__cos): Likewise.
41619         (slow1): Likewise.
41620         (slow2): Likewise.
41621         (sloww): Likewise.
41622         (sloww1); Likewise.
41623         (sloww2): Likewise.
41624         (bsloww1): Likewise.
41625         (bsloww2): Likewise.
41626         (cslow2): Likewise.
41627         (csloww): Likewise.
41628         (csloww1): Likewise.
41629         (csloww2): Likewise.
41631 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41633         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41634         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41635         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41636         * malloc/hooks.c (realloc_check): Likewise.
41638         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41639         * malloc/arena.c: Remove PER_THREAD conditional.
41640         [!PER_THREAD]: Remove code.
41641         (ptmalloc_unlock_all2): Likewise.
41642         (ptmalloc_init): Likewise.
41643         (_int_new_arena): Likewise.
41644         (arena_get2): Likewise.
41645         * malloc/hooks.c (__malloc_get_state): Likewise.
41646         (__malloc_set_state): Likewise.
41647         * malloc/malloc.c: Likewise.
41648         (struct malloc_state): Likewise.
41649         (struct malloc_par): Likewise.
41650         (__libc_realloc): Likewise.
41651         (__libc_mallopt): Likewise.
41653 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41655         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41657 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41659         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41660         macro to a function.  Check for zero perturb_byte.
41661         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41663         * malloc/malloc.c: (force_reg): Remove.
41664         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41665         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41666         force_reg by atomic_forced_read.
41667         * malloc/arena.c (ptmalloc_init): Likewise.
41668         * malloc/hooks.c (top_check): Likewise.
41670 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41674 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41678 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41680         * math/auto-libm-test-in: Add tests of lgamma.
41681         * math/auto-libm-test-out: Regenerated.
41682         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41683         (M_LOG_2_SQRT_PIl): Likewise.
41684         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41686         mpfr_f_f1.
41687         (func_calc_desc): Add mpfr_f_f1 union field.
41688         (ARGS1): New macro.
41689         (ARGS2): Likewise.
41690         (ARGS3): Likewise.
41691         (ARGS4): Likewise.
41692         (RET1): Likewise.
41693         (RET2): Likewise.
41694         (CALC): Likewise.
41695         (FUNC): Likewise.
41696         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41697         (test_functions): Add lgamma.
41698         (calc_generic_results): Handle mpfr_f_f1.
41699         * sysdeps/i386/fpu/libm-test-ulps: Update.
41700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41704         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41705         __mpn_add_n for PowerPC64/POWER7.
41706         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41707         __mpn_sub_n for PowerPC64/POWER7.
41709         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41710         __mpn_addmul_1 for PowerPC64.
41711         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41712         __mpn_submul_1 for PowerPC64.
41713         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41714         for PowerPC64.
41715         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41716         for PowerPC64.
41718 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41720         [BZ #15089]
41721         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41723 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41725         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41727         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41728         add multiarch folders.
41729         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41730         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41731         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41732         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41733         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41734         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41735         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41736         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41737         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41738         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41739         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41748         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41750         New file.
41751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41752         New file.
41753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41754         multiarch __ieee754_hypot for PowerPC32.
41755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41756         New file.
41757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41758         New file.
41759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41760         multiarch __ieee754_hypotf for PowerPC32.
41762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41763         long_double_symbol only if __logbl is defined.
41764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41765         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41767         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41769         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41770         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41771         path for implementation.
41772         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41775         logb, and logbl multiarch implementations for PowerPC32.
41776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41777         file.
41778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41779         file.
41780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41781         multiarch logb for PowerPC32.
41782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41783         file.
41784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41785         file.
41786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41787         multiarch logbf for PowerPC32.
41788         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41790         file.
41791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41792         multiarch logbl implementation for PowerPC32.
41794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41795         and modff multiarch implementations.
41796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41797         New file.
41798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41799         New file.
41800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41801         multiarch modf for PowerPC32.
41802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41803         New file.
41804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41805         New file.
41806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41807         multiarch modff for PowerPC32.
41809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41810         and lrintf multiarch implementations.
41811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41812         New file.
41813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41814         New file.
41815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41816         multiarch lrint for PowerPC32.
41817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41818         file: multiarch lrintf for PowerPC32.
41820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41821         and lroundf multiarch implementations.
41822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41823         New file.
41824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41825         New file.
41826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41827         New file.
41828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41829         multiarch lround for PowerPC32.
41830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41831         file: multiarch lroundf for PowerPC32.
41833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41834         copysign and copysignf multiarch implementations.
41835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41836         New file.
41837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41838         New file.
41839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41840         file: multiarch copysign for PowerPC32.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41842         file: multiarch copysignf for PowerPC32.
41844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41845         and truncf multiarch implementations.
41846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41847         New file.
41848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41849         file.
41850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41851         multiarch trunc for PowerPC32.
41852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41853         New file.
41854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41855         New file.
41856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41857         multiarch truncf for PowerPC32.
41859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41860         and roundf multiarch implementations.
41861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41862         New file.
41863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41864         file.
41865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41866         multiarch round for PowerPC32.
41867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41868         New file.
41869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41870         New file.
41871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41872         multiarch roundf for PowerPC32.
41874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41875         and floorf multiarch implementations.
41876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41877         New file.
41878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41879         file.
41880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41881         multiarch floor for PowerPC32.
41882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41883         New file.
41884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41885         New file.
41886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41887         multiarch floorf for PowerPC32.
41889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41890         and ceilf multiarch implementations.
41891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41892         New file.
41893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41894         file.
41895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41896         multiarch ceil for PowerPC32.
41897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41898         New file.
41899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41900         file.
41901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41902         multiarch ceilf for PowerPC32.
41904         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41905         is defined.
41906         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41907         FINITEF is defined.
41908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41909         and finitef multiarch implementations.
41910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41911         New file.
41912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41913         file.
41914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41915         multiarch finite for PowerPC32.
41916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41917         New file.
41918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41919         file: multiarch finitef for PowerPC32.
41921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41922         and isinff multiarch implementations.
41923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41924         file.
41925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41926         file.
41927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41928         multiarch isinf for PowerPC32.
41929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41930         New file.
41931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41932         multiarch isinff for PowerPC32.
41934         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41935         alias when __isnan is defined.
41936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41937         and isnanf multiarch implementations.
41938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41939         file.
41940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41941         file.
41942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41943         file.
41944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41945         file.
41946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41947         multiarch isnan for PowerPC32.
41948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41949         New file.
41950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41951         New file.
41952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41953         multiarch isnanf for PowerPC32.
41955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41956         and sqrtf multiarch implementations.
41957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41958         file.
41959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41960         file.
41961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41962         multiarch sqrt for PowerPC32.
41963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41964         file.
41965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41966         file.
41967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41968         multiarch sqrtf for PowerPC32.
41970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41971         and llroundf multiarch implementations.
41972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41973         New file.
41974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41975         New file.
41976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41977         New file.
41978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41979         file: multiarch llround for PowerPC32.
41980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41981         file: multiarch llroundf for PowerPC32.
41983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41984         multiarch PowerPC32 fpu implementations.
41985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41986         New file.
41987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41988         New file.
41989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41990         multiarch llrint for PowerPC32.
41991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41992         New file.
41993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41994         New file.
41995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41996         file.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42001         file.
42002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42003         file.
42004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42005         file.
42006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42007         multiarch wordcopy for PPC32.
42008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42009         wordcopy objects.
42010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42011         (__libc_ifunc_impl_list): Likewise.
42012         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42013         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42014         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42015         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42017         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42019         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42021         file.
42022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42023         file.
42024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42025         file.
42026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42027         multiarch wcscpy for PPC32.
42028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42029         multiarch objects.
42030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42031         (__libc_ifunc_impl_list): Likewise.
42032         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42033         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42034         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42035         sysdeps/powerpc/power6/wcscpy.c.
42037         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42039         file.
42040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42041         file.
42042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42043         file.
42044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42045         multiarch wcsrchr for PPC32.
42046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42047         multiarch objects.
42048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42049         (__libc_ifunc_impl_list): Likewise.
42050         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42051         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42052         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42053         sysdeps/powerpc/power6/wcsrchr.c.
42055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42056         file.
42057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42058         file.
42059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42061         multiarch wcschr for PPc32.
42062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42063         multiarch objects.
42064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42065         (__libc_ifunc_impl_list): Likewise.
42066         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42067         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42068         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42069         sysdeps/powerpc/power6/wcschr.c.
42071         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42073         file.
42074         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42075         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42076         file: multiarch strchr for PPC32.
42077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42078         multiarch objects.
42079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42080         (__libc_ifunc_impl_list): Likewise.
42082         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42083         name.
42084         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42085         file.
42086         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42087         file.
42088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42089         multiarch strchrnul for PPC32.
42090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42091         multiarch objects.
42092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42093         (__libc_ifunc_impl_list): Likewise.
42095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42096         file.
42097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42098         multiarch strncasecmp for PPC32.
42099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42100         file.
42101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42102         multiarch strncasecmp_l for PPC32.
42103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42104         strncasecmp multiarch objects.
42105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42106         (__libc_ifunc_impl_list): Likewise.
42108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42109         file.
42110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42111         multiarch strncasecmp for PPC32.
42112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42113         New file.
42114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42115         multiarch strcasecmp_l for PPC32.
42116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42117         multiarch objects.
42118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42119         (__libc_ifunc_impl_list): Likewise.
42121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42122         file.
42123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42124         file.
42125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42126         multiarch strncmp for PPC32.
42127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42128         multiarch objects.
42129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42130         (__libc_ifunc_impl_list): Likewise.
42132         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42133         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42134         file.
42135         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42136         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42138         multiarch objects.
42139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42140         (__libc_ifunc_impl_list): Likewise.
42142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42143         file.
42144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42145         file.
42146         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42148         multiarch objects.
42149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42150         (__libc_ifunc_impl_list): Likewise.
42152         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42153         file.
42154         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42155         file.
42156         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42157         multiarch rawmemchr for PPC32.
42158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42159         multiarch objects.
42160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42161         (__libc_ifunc_impl_list): Likewise.
42163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42164         file.
42165         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42166         file.
42167         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42168         file: memrchr multiarch for PPC32.
42169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42170         multiarch objects.
42171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42172         (__libc_ifunc_impl_list): Likewise.
42174         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42176         file.
42177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42178         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42179         multiarch memchr for PPC32.
42180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42181         multiarch objects.
42182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42183         (__libc_ifunc_impl_list): Likewise.
42185         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42186         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42187         file.
42188         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42189         file.
42190         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42191         file: multiarch mempcpy for PPC32.
42192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42193         multiarch objects.
42194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42195         (__libc_ifunc_impl_list): Likewise.
42197         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42199         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42200         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42201         multiarch bzero for PPC32.
42202         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42203         file.
42204         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42205         file.
42206         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42207         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42208         file: multiarch memset for PPC32.
42209         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42211         memset multiarch objects.
42212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42213         (__libc_ifunc_impl_list): Likewise.
42215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42216         file.
42217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42219         memcmp for PPC32.
42220         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42222         multiarch objects.
42223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42224         (__libc_ifunc_impl_list): Likewise.
42226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42229         file.
42230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42231         file.
42232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42233         file.
42234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42235         multiarch memcpy for PPC32.
42236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42237         multiarch objects.
42238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42239         (__libc_ifunc_impl_list): Likewise.
42241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42242         support multiarch for POWER/PPC32.
42243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42244         Likewise.
42245         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42247         Implies file to make multiarch folder appers before the fpu and
42248         default folder for power4 configuration.
42250 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42252         * scripts/bench.pl: Append volatile keyword to type.
42254 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42256         * sysdeps/sh/sotruss-lib.c: New file.
42257         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42259 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42263 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42265         [BZ #6810]
42266         * math/w_tgamma.c: Include <errno.h>.
42267         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42268         * math/w_tgammaf.c: Include <errno.h>.
42269         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42270         * math/w_tgammal.c: Include <errno.h>.
42271         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42272         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42273         underflow.  Add more tgamma tests.
42274         * math/auto-libm-test-out: Regenerated.
42275         * sysdeps/i386/fpu/libm-test-ulps: Update.
42276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42278         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42279         sin, sinh, tan, tanh, tgamma, y0 and y1.
42280         * math/auto-libm-test-out: Regenerated.
42281         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42282         (TEST_COND_x86): Likewise.
42283         (M_E2l): Remove macro.
42284         (M_E3l): Likewise.
42285         (M_2_SQRT_PIl): Likewise.
42286         (M_SQRT_PIl): Likewise.
42287         (M_1_DIV_El): Likewise.
42288         (log_test_data): Use AUTO_TESTS_f_f.
42289         (log10_test_data): Likewise.
42290         (log1p_test_data): Likewise.
42291         (log2_test_data): Likewise.
42292         (sin_test_data): Likewise.
42293         (sin_tonearest_test_data): Likewise.
42294         (sin_towardzero_test_data): Likewise.
42295         (sin_downward_test_data): Likewise.
42296         (sin_upward_test_data): Likewise.
42297         (sinh_test_data): Likewise.
42298         (sinh_tonearest_test_data): Likewise.
42299         (sinh_towardzero_test_data): Likewise.
42300         (sinh_downward_test_data): Likewise.
42301         (sinh_upward_test_data): Likewise.
42302         (tan_test_data): Likewise.
42303         (tan_tonearest_test_data): Likewise.
42304         (tan_towardzero_test_data): Likewise.
42305         (tan_downward_test_data): Likewise.
42306         (tan_upward_test_data): Likewise.
42307         (tanh_test_data): Likewise.
42308         (tgamma_test_data): Likewise.
42309         (y0_test_data): Likewise.
42310         (y1_test_data): Likewise.
42311         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42312         (special_real_inputs): Add pi/4.
42313         * sysdeps/i386/fpu/libm-test-ulps: Update.
42314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42316 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42318         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42319         "longjmp_target" static probes.
42320         (__longjmp): Rename to __longjmp_symbol.
42321         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42322         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42323         on which longjmp to generate.
42324         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42325         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42326         probe.
42327         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42328         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42329         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42330         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42331         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42332         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42334         __longjmp_symbol based on which __longjmp to generate.
42335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42336         probe.
42337         (setjmp): Rename to setjmp_symbol.
42338         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42339         (_setjmp): Rename to _setjmp_symbol.
42340         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42341         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42342         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42343         which setjmp to generate.
42344         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42345         "longjmp_target" static probes.
42347 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42349         * benchtests/README: Add note about output arguments.
42350         * benchtests/bench-sincos.c: Remove file.
42351         * benchtests/sincos-inputs: New file.
42352         * scripts/bench.pl: Identify output arguments and define
42353         static variables for them.
42355         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42357         [BZ #15941]
42358         * Makefile (INSTALL): Add install-plain.texi as the primary
42359         dependency.
42360         * manual/install-plain.texi: New file.
42361         * manual/install.texi: Include node directive only for
42362         non-plaintext output.
42364 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42366         * stdlib/longlong.h: Update from GCC.
42368         [BZ #6807]
42369         [BZ #15901]
42370         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42371         * math/w_j0f.c (y0f): Likewise.
42372         * math/w_j0l.c (__y0l): Likewise.
42373         * math/w_j1.c (y1): Likewise.
42374         * math/w_j1f.c (y1f): Likewise.
42375         * math/w_j1l.c (__y1l): Likewise.
42376         * math/w_jn.c (yn): Likewise.
42377         * math/w_jnf.c (ynf): Likewise.
42378         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42379         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42380         value for Bessel function domain errors outside _SVID_ mode.
42381         Adjust sign of return value for yn (negative integer, 0).
42382         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42383         by zero in return for negative x and set sign appropriately for
42384         negative n.
42385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42386         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42387         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42388         expectations in error cases.
42389         (y1_test_data): Likewise.
42390         (yn_test_data): Likewise.
42391         * sysdeps/i386/fpu/libm-test-ulps: Update.
42392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42394 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42396         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42397         "64" to "64-v1".  Add "64-v2".
42398         (abi-64-options): Rename to ...
42399         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42400         (abi-64-condition): Rename to ...
42401         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42402         (abi-64-ld-soname): Rename to ...
42403         (abi-64-v1-ld-soname): ... this.
42404         (abi-64-v2-options): Define.
42405         (abi-64-v2-condition): Likewise.
42406         (abi-64-v2-ld-soname): Likewise.
42407         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42408         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42413 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42414             Alan Modra  <amodra@gmail.com>
42416         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42417         New versions for use with the ELFv2 ABI.
42418         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42419         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42420         declaration.
42421         (struct La_ppc64v2_retval): Likewise.
42422         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42423         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42424         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42425         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42426         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42428         Do not save or restore CR.
42429         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42430         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42431         return values for ELFv2 ABI.  Fix location of FPR return registers.
42432         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42433         updated values for _CALL_ELF == 2.
42434         (La_regs, La_retval, int_retval): Likewise.
42436 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42438         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42439         (FRAME_MIN_SIZE_PARM): Likewise.
42440         (FRAME_BACKCHAIN): Likewise.
42441         (FRAME_CR_SAVE): Likewise.
42442         (FRAME_LR_SAVE): Likewise.
42443         (FRAME_TOC_SAVE): Likewise.
42444         (FRAME_PARM_SAVE): Likewise.
42445         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42446         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42447         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42448         (call_mcount_parm_offset): New macro.
42449         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42450         (PROF): Use symbolic stack frame offsets.
42451         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42452         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42453         Redefine in terms of FRAME_MIN_SIZE.
42454         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42455         (_dl_profile_resolve): Likewise.  Update comment.
42456         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42457         symbols stack frame offsets.
42458         (__sigsetjmp): Likewise.
42459         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42460         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42461         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42462         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42465         (FRAME_BACKCHAIN): Remove.
42466         (FRAME_CR_SAVE): Likewise.
42467         (FRAME_LR_SAVE): Likewise.
42468         (FRAME_COMPILER_DW): Likewise.
42469         (FRAME_LINKER_DW): Likewise.
42470         (FRAME_TOC_SAVE): Likewise.
42471         (FRAME_PARM_SAVE): Likewise.
42472         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42473         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42474         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42476         (CHECK_SP): Use symbolic stack frame offsets.
42477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42478         zone" instead of caller's parameter save area for temp storage.
42479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42480         Likewise.  Also, use symbolic stack frame offsets.
42481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42482         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42483         our own stack frame instead of the caller's.
42484         (__socket): Use symbolic stack frame offsets.
42486 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42487             Alan Modra  <amodra@gmail.com>
42489         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42490         Define.
42491         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42492         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42493         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42494         New function.
42495         (elf_machine_fixup_plt): Call it.
42496         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42497         reloc arguments.
42498         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42499         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42500         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42501         r2 before calling target.
42503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42504             Alan Modra  <amodra@gmail.com>
42506         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42507         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42508         versions of macros to support ELFv2 ABI.
42509         (LOCALENTRY): New macro.
42510         (ENTRY, EALIGN): Use it.
42511         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42512         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42513         fall through into ENTRY entry point.
42514         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42515         Only define if _CALL_ELF != 2.
42517         (elf_machine_matches_host): Verify ABI version matches.
42518         (RTLD_START): Use LOCALENTRY.
42519         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42520         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42521         (PLT_ENTRY_WORDS): New macro.
42522         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42523         (elf_machine_runtime_setup): Support ELFv2 ABI.
42524         (elf_machine_fixup_plt): Likewise.
42525         (elf_machine_plt_conflict): Likewise.
42526         (resolve_ifunc): Likewise.
42527         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42528         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42529         Likewise.
42530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42531         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42533         (makecontext): Support ELFv2 ABI.
42534         * elf/elf.h (EF_PPC64_ABI): Define.
42536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42538         * sysdeps/powerpc/powerpc64/sysdep.h
42539         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42540         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42541         (ENTRY) [ASSEMBLER]: ... but instead here ...
42542         (EALIGN) [ASSEMBLER]: ... and here.
42543         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42544         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42545         (ENTRY_2) [!ASSEMBLER]: Use it.
42546         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42547         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42548         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42549         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42550         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42552         Use PPC64_LOAD_FUNCPTR.
42554         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42556 2013-12-04  Alan Modra  <amodra@gmail.com>
42558         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42559         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42560         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42561         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42564         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42565         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42566         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42567         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42568         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42570 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42573         (__makecontext): Fix incorrect CFI when backtracing out of
42574         context created via makecontext.
42575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42576         (__setcontext): Fix incorrect CFI during switch to new context.
42577         (__novec_setcontext): Likewise.
42579 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42581         [BZ #4772]
42582         * time/strptime_l.c (__strptime_internal): Allow modifiers
42583         in strptime.
42584         * time/tst-strptime.c (day_tests): Add testcase.
42586 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42588         * scripts/bench.pl: Skip over blank lines.
42590 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42592         [BZ #926]
42593         * manual/time.texi (Calendar Time): Clarify what timezone functions
42594         use.
42596 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42600 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42602         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42603         implementation.
42604         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42605         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42606         * debug/memset_chk.c (__memset_chk): Likewise.
42607         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42608         * debug/strncpy_chk.c: Likewise.
42610 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42612         [BZ #15268]
42613         [BZ #15425]
42614         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42615         (__ieee754_exp): For possibly underflowing results, check size of
42616         result and force underflow exception if required.
42617         * math/auto-libm-test-in: Add more tests of exp.
42618         * math/auto-libm-test-out: Regenerated.
42619         * sysdeps/i386/fpu/libm-test-ulps: Update.
42620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42622         [BZ #16283]
42623         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42624         * math/w_exp2f.c (__exp2f): Likewise.
42625         * math/w_exp2l.c (__exp2l): Likewise.
42626         * math/auto-libm-test-in: Do not allow missing errno on exp2
42627         underflow.
42628         * math/auto-libm-test-out: Regenerated.
42630 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42632         [BZ #16274]
42633         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42634         handle filename validation.
42635         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42636         (do_open): Delete.
42638 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42640         [BZ #6786]
42641         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42642         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42643         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42644         <float.h>.
42645         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42646         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42647         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42649         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42650         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42651         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42652         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42653         Add more erfc tests.
42654         * math/auto-libm-test-out: Regenerated.
42655         * sysdeps/i386/fpu/libm-test-ulps: Update.
42656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42659         exp2, expm1, j0 and j1.
42660         * math/auto-libm-test-out: Regenerated.
42661         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42662         (erfc_test_data): Likewise.
42663         (exp_test_data): Likewise.
42664         (exp_tonearest_test_data): Likewise.
42665         (exp_towardzero_test_data): Likewise.
42666         (exp_downward_test_data): Likewise.
42667         (exp_upward_test_data): Likewise.
42668         (exp10_test_data): Likewise.
42669         (exp2_test_data): Likewise.
42670         (expm1_test_data): Likewise.
42671         (j0_test_data): Likewise.
42672         (j1_test_data): Likewise.
42673         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42674         (input_flag_type): Add flag_xfail_rounding.
42675         (input_flags): Add xfail-rounding.
42676         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42677         (output_for_one_input_case): Handle flag_xfail_rounding.
42678         * sysdeps/i386/fpu/libm-test-ulps: Update.
42679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42681 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42683         [BZ #16289]
42684         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42685         division by 0.
42687 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42689         [BZ #16195]
42690         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42691         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42692         (STAP_PROBE0): New macro.
42693         (STAP_PROBE1): Likewise.
42694         (STAP_PROBE2): Likewise.
42695         (STAP_PROBE3): Likewise.
42696         (STAP_PROBE4): Likewise.
42698 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42700         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42702 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42704         * benchtests/Makefile (bench): Add sqrt.
42705         (LDLIBS-bench-sqrt): New.
42706         * benchtests/sqrt-input: New.
42708 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42710         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42711         (GAIH_EAI): Likewise.
42712         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42713         (gaih_inet): Likewise.
42714         (getaddrinfo): Don't use GAIH_EAI.
42716         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42717         (struct gaih): Remove definition.
42719 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42721         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42722         Use HERRNOP directly.
42724 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42728 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42730         * math/gen-auto-libm-tests.c (test_functions): Add more
42731         single-argument functions.
42732         (special_fill_pi_2): New function.
42733         (special_fill_minus_pi_2): Likewise.
42734         (special_fill_pi_6): Likewise.
42735         (special_fill_minus_pi_6): Likewise.
42736         (special_fill_pi_3): Likewise.
42737         (special_fill_2pi_3): Likewise.
42738         (special_fill_e): Likewise.
42739         (special_fill_1_e): Likewise.
42740         (special_fill_e_minus_1): Likewise.
42741         (special_real_inputs): Add more special inputs.
42742         (output_for_one_input_case): Do not require ERANGE on underflow to
42743         zero if round-to-nearest result does not underflow to zero, unless
42744         exact results required.
42745         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42746         atan, atanh, cbrt, cos and cosh.
42747         * math/auto-libm-test-out: Regenerated.
42748         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42749         (acos_tonearest_test_data): Likewise.
42750         (acos_towardzero_test_data): Likewise.
42751         (acos_downward_test_data): Likewise.
42752         (acos_upward_test_data): Likewise.
42753         (acosh_test_data): Likewise.
42754         (asin_test_data): Likewise.
42755         (asin_tonearest_test_data): Likewise.
42756         (asin_towardzero_test_data): Likewise.
42757         (asin_upward_test_data): Likewise.
42758         (asinh_test_data): Likewise.
42759         (atan_test_data): Likewise.
42760         (atanh_test_data): Likewise.
42761         (cbrt_test_data): Likewise.
42762         (cos_test_data): Likewise.
42763         (cos_tonearest_test_data): Likewise.
42764         (cos_towardzero_test_data): Likewise.
42765         (cos_downward_test_data): Likewise.
42766         (cos_upward_test_data): Likewise.
42767         (cosh_test_data): Likewise.
42768         (cosh_tonearest_test_data): Likewise.
42769         (cosh_towardzero_test_data): Likewise.
42770         (cosh_downward_test_data): Likewise.
42771         (cosh_upward_test_data): Likewise.
42772         * sysdeps/i386/fpu/libm-test-ulps: Update.
42773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42775 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42777         [BZ #6787]
42778         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42779         * math/w_exp10f.c (__exp10f): Likewise.
42780         * math/w_exp10l.c (__exp10l): Likewise.
42781         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42782         errno settings in existing tests.
42784         [BZ #14032]
42785         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42786         precision control set to double precision.
42787         * sysdeps/i386/fpu/w_sqrt.c: New file.
42788         * math/auto-libm-test-in: Add more tests.
42789         * math/auto-libm-test-out: Update.
42791         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42792         (sqrt_test_tonearest): New function.
42793         (sqrt_towardzero_test_data): New variable.
42794         (sqrt_test_towardzero): New function.
42795         (sqrt_downward_test_data): New variable.
42796         (sqrt_test_downward): New function.
42797         (sqrt_upward_test_data): New variable.
42798         (sqrt_test_upward): New function.
42799         (main): Call the new functions.
42801         * math/gen-auto-libm-tests.c: New file.
42802         * math/auto-libm-test-in: Likewise.
42803         * math/auto-libm-test-out: New generated file.
42804         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42805         variables.
42806         (%beautify): Add generated representations of zero.
42807         (top level): Set $auto_input and call parse_auto_input.
42808         (beautify): Remove trailing "f" from hex float constants.
42809         (parse_args): Handle XFAIL_TEST.
42810         (convert_condition): New function.
42811         (or_value): Likewise.
42812         (or_cond_value): Likewise.
42813         (generate_testfile): Handle AUTO_TESTS_* lines.
42814         (parse_auto_input): New function.
42815         * math/libm-test.inc (XFAIL_TEST): New macro.
42816         (ERRNO_UNCHANGED): Update value.
42817         (ERRNO_EDOM): Likewise.
42818         (ERRNO_ERANGE): Likewise.
42819         (IGNORE_RESULT): Likewise.
42820         (TEST_COND_flt_32): New macro.
42821         (TEST_COND_dbl_64): Likewise.
42822         (TEST_COND_ldbl_96_intel): Likewise.
42823         (TEST_COND_ldbl_96_m68k): Likewise.
42824         (TEST_COND_ldbl_128): Likewise.
42825         (TEST_COND_ldbl_128ibm): Likewise.
42826         (TEST_COND_long32): Likewise.
42827         (TEST_COND_long64): Likewise.
42828         (TEST_COND_before_rounding): Likewise.
42829         (TEST_COND_after_rounding): Likewise.
42830         (enable_test): Handle XFAIL_TEST flag.
42831         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42832         with finite results.
42833         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42834         auto-libm-test-out.
42836 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42837             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42839         [BZ #16214]
42840         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42841         __tls_get_addr_internal instead of __tls_get_offset in order to
42842         avoid GOT pointer dependency.  Make rtld export
42843         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42844         __tls_get_addr since we are a __tls_get_offset platform.
42845         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42846         GOT pointer being set up before.
42847         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42849 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42851         * manual/math.texi (Errors in Math Functions): Document accuracy
42852         goals.
42854         [BZ #15004]
42855         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42856         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42857         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42858         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42859         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42860         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42861         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42862         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42863         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42864         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42865         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42866         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42867         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42868         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42870         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42872         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42873         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42874         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42875         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42876         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42877         Likewise.
42878         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42879         Likewise.
42880         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42881         Likewise.
42882         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42883         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42884         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42885         atomic-feupdateenv and flt-rounds.
42886         * sysdeps/powerpc/nofpu/Versions (libc): Add
42887         __atomic_feholdexcept, __atomic_feclearexcept,
42888         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42890         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42891         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42892         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42893         here.
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42895         Update.
42897         * manual/arith.texi (FP Exceptions): Document that exceptions may
42898         not be raised when matherr is used.
42899         (Math Error Reporting): Document overflow in directed rounding
42900         modes.  Document that errno may not be set when finite values are
42901         returned on overflow.  Document intent to set errno on underflow
42902         only for underflow to zero.
42904         [BZ #16271]
42905         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42906         round-to-nearest then adjust result for other rounding modes.
42907         * include/fenv.h (fegetround): Use libm_hidden_proto.
42908         * math/fegetround.c (fegetround): Use libm_hidden_def.
42909         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42910         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42911         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42913         Likewise.
42914         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42915         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42916         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42917         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42919 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42921         [BZ #16077]
42922         * nss/Versions (libnss_files): Add
42923         _nss_files_gethostbyname3_r.
42924         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42925         New function.
42926         (HOST_DB_LOOKUP): Remove macro.
42927         (_nss_files_gethostbyname_r): Implement function without the
42928         HOST_DB_LOOKUP macro.
42929         (_nss_files_gethostbyname2_r): Likewise.
42931 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42933         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42935 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42937         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42938         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42939         warning.
42941 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42943         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42944         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42945         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42946         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42947         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42948         __fe_nomask_env_priv and attribute_hidden.
42949         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42950         (libc_feupdateenv_test_ppc): Likewise.
42951         (libc_feresetround_ppc): Likewise.
42952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42953         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42954         compat_symbol macro.
42955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42956         (__fe_nomask_env): Likewise.
42957         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42959 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42961         * string/Makefile: Remove ifunc tests.
42962         * string/test-string.h: Define TEST_IFUNC.
42963         * string/test-bcopy-ifunc.c: Remove.
42964         * string/test-bzero-ifunc.c: Likewise.
42965         * string/test-memccpy-ifunc.c: Likewise.
42966         * string/test-memchr-ifunc.c: Likewise.
42967         * string/test-memcmp-ifunc.c: Likewise.
42968         * string/test-memcpy-ifunc.c: Likewise.
42969         * string/test-memmem-ifunc.c: Likewise.
42970         * string/test-memmove-ifunc.c: Likewise.
42971         * string/test-mempcpy-ifunc.c: Likewise.
42972         * string/test-memrchr-ifunc.c: Likewise.
42973         * string/test-memset-ifunc.c: Likewise.
42974         * string/test-rawmemchr-ifunc.c: Likewise.
42975         * string/test-stpcpy-ifunc.c: Likewise.
42976         * string/test-stpncpy-ifunc.c: Likewise.
42977         * string/test-strcasecmp-ifunc.c: Likewise.
42978         * string/test-strcasestr-ifunc.c: Likewise.
42979         * string/test-strcat-ifunc.c: Likewise.
42980         * string/test-strchr-ifunc.c: Likewise.
42981         * string/test-strchrnul-ifunc.c: Likewise.
42982         * string/test-strcmp-ifunc.c: Likewise.
42983         * string/test-strcpy-ifunc.c: Likewise.
42984         * string/test-strcspn-ifunc.c: Likewise.
42985         * string/test-strlen-ifunc.c: Likewise.
42986         * string/test-strncasecmp-ifunc.c: Likewise.
42987         * string/test-strncat-ifunc.c: Likewise.
42988         * string/test-strncmp-ifunc.c: Likewise.
42989         * string/test-strncpy-ifunc.c: Likewise.
42990         * string/test-strnlen-ifunc.c: Likewise.
42991         * string/test-strpbrk-ifunc.c: Likewise.
42992         * string/test-strrchr-ifunc.c: Likewise.
42993         * string/test-strspn-ifunc.c: Likewise.
42994         * string/test-strstr-ifunc.c: Likewise.
42996 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42998         * benchtests/Makefile: Remove ifunc tests.
42999         * benchtests/bench-string.h: Define TEST_IFUNC.
43000         * benchtests/bench-bcopy-ifunc.c: Remove.
43001         * benchtests/bench-bzero-ifunc.c: Likewise.
43002         * benchtests/bench-memccpy-ifunc.c: Likewise.
43003         * benchtests/bench-memchr-ifunc.c: Likewise.
43004         * benchtests/bench-memcmp-ifunc.c: Likewise.
43005         * benchtests/bench-memcpy-ifunc.c: Likewise.
43006         * benchtests/bench-memmem-ifunc.c: Likewise.
43007         * benchtests/bench-memmove-ifunc.c: Likewise.
43008         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43009         * benchtests/bench-memrchr-ifunc.c: Likewise.
43010         * benchtests/bench-memset-ifunc.c: Likewise.
43011         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43012         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43013         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43014         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43015         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43016         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43017         * benchtests/bench-strcat-ifunc.c: Likewise.
43018         * benchtests/bench-strchr-ifunc.c: Likewise.
43019         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43020         * benchtests/bench-strcmp-ifunc.c: Likewise.
43021         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43022         * benchtests/bench-strcpy-ifunc.c: Likewise.
43023         * benchtests/bench-strcspn-ifunc.c: Likewise.
43024         * benchtests/bench-strlen-ifunc.c: Likewise.
43025         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43026         * benchtests/bench-strncat-ifunc.c: Likewise.
43027         * benchtests/bench-strncmp-ifunc.c: Likewise.
43028         * benchtests/bench-strncpy-ifunc.c: Likewise.
43029         * benchtests/bench-strnlen-ifunc.c: Likewise.
43030         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43031         * benchtests/bench-strrchr-ifunc.c: Likewise.
43032         * benchtests/bench-strsep-ifunc.c: Likewise.
43033         * benchtests/bench-strspn-ifunc.c: Likewise.
43034         * benchtests/bench-strstr-ifunc.c: Likewise.
43036 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43038         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43040 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43042         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43043         * rt/aio.h: Likewise.
43044         * sysdeps/gnu/bits/utmp.h: Likewise.
43045         * sysdeps/gnu/bits/utmpx.h: Likewise.
43046         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43047         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43048         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43049         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43050         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43051         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43052         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43053         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43054         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43055         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43056         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43057         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43058         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43060         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43061         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43062         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43063         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43064         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43065         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43066         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43067         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43068         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43069         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43070         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43072         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43073         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43074         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43075         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43076         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43077         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43078         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43079         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43080         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43081         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43082         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43083         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43084         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43085         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43086         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43087         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43089 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43091         [BZ #16245]
43092         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43093         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43095 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43097         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43098         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43099         Likewise.
43101 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43104         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43105         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43106         (__fesetround): Remove define.
43107         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43108         rounding and exceptions handling.
43109         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43110         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43111         (__fe_nomask_env): Likewise.
43112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43113         __fegetround instead of fegetround.
43114         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43115         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43117 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43119         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43120         it's there.
43122         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43124 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43126         [BZ #11157]
43127         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43128         (encrypt_r): Likewise.
43129         * malloc/obstack.h (obstack_free): Likewise.
43130         * posix/unistd.h (encrypt): Likewise.
43132 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43134         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43135         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43136         DL_CALL_DT_FINI() that call the functions directly.
43137         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43138         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43139         * elf/dl-fini.c: Likewise.
43141 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43143         * malloc/hooks.c (memalign_check): Add alignment rounding.
43144         * malloc/malloc.c (_mid_memalign): New function.
43145         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43146         Implement by calling _mid_memalign.
43147         * manual/probes.texi (Memory Allocation Probes): Remove
43148         memory_valloc_retry and memory_pvalloc_retry.
43150 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43152         * locale/programs/locarchive.c (open_archive): Add const
43153         qualifier to ARCHIVEFNAME and copy default fname to
43154         DEFAULT_FNAME.
43156         [BZ #15601]
43157         * libio/tst-widetext.input: Rename Oriya to Odia.
43158         * locale/iso-639.def: Likewise.
43160         * manual/probes.texi (Mathematical Function Probes): Add
43161         documentation for sin, cos, asin and acos probes.
43162         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43163         (__sin32): Add slowasin probe.
43164         (__cos32): Add slowacos probe.
43165         (__mpsin): Add slowsin probe.
43166         (__mpcos): Add slowcos probe.
43168 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43170         [BZ #15483]
43171         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43172         thread-local __sim_exceptions_thread and global
43173         __sim_exceptions_global.
43174         (__sim_disabled_exceptions): Change to thread-local
43175         __sim_disabled_exceptions_thread and global
43176         __sim_disabled_exceptions_global.
43177         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43178         and global __sim_round_mode_global.
43179         (__simulate_exceptions): Use thread-local floating-point state and
43180         set global state from it as needed.
43181         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43182         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43183         __sim_round_mode_thread.
43184         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43185         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43186         and global __sim_exceptions_global.
43187         (__sim_disabled_exceptions): Change to thread-local
43188         __sim_disabled_exceptions_thread and global
43189         __sim_disabled_exceptions_global.
43190         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43191         and global __sim_round_mode_global.
43192         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43193         (SIM_SET_GLOBAL): Likewise.
43194         * sysdeps/powerpc/soft-fp/sfp-machine.h
43195         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43196         __sim_round_mode_thread.
43197         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43198         __sim_disabled_exceptions_thread.
43199         (__sim_exceptions): Change to __sim_exceptions_thread.
43200         (__sim_disabled_exceptions): Change to
43201         __sim_disabled_exceptions_thread.
43202         (__sim_round_mode): Change to __sim_round_mode_thread.
43203         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43204         thread-local floating-point state and set global state from it as
43205         needed.
43206         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43207         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43208         (__sim_disabled_exceptions): Remove extern declaration.
43209         (feenableexcept): Use thread-local floating-point state and set
43210         global state from it as needed.
43211         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43212         extern declaration.
43213         (__sim_disabled_exceptions): Likewise.
43214         (__sim_round_mode): Likewise.
43215         (__fegetenv): Use thread-local floating-point state.
43216         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43217         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43218         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43219         floating-point state and set global state from it as needed.
43220         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43221         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43222         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43223         Likewise.
43224         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43225         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43226         Likewise.
43227         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43228         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43229         Use __sim_round_mode_thread.
43230         * math/test-fenv-tls.c: New file.
43231         * math/Makefile (tests): Add test-fenv-tls.
43232         ($(objpfx)test-fenv-tls): Depend on
43233         $(common-objpfx)nptl/libpthread.so.
43235 2013-11-19  Andreas Schwab  <schwab@suse.de>
43237         * locale/programs/locale.c (show_info): Decode wordarray elements.
43238         * locale/categories.def (LC_MONETARY): Add element for
43239         _NL_MONETARY_CRNCYSTR.
43240         * locale/C-monetary.c (conversion_rate): New variable.
43241         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43242         element.
43244 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43246         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43247         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43249 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43251         * elf/Makefile (tst-auxv): New test.
43252         * elf/tst-auxv.c: New
43253         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43255 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43257         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43258         (hidden_proto): Caller changed.
43259         (hidden_tls_proto): New macro.
43260         (libc_hidden_tls_proto): Likewise.
43261         (rtld_hidden_tls_proto): Likewise.
43262         (libm_hidden_tls_proto): Likewise.
43263         (libresolv_hidden_tls_proto): Likewise.
43264         (librt_hidden_tls_proto): Likewise.
43265         (libdl_hidden_tls_proto): Likewise.
43266         (libnss_files_hidden_tls_proto): Likewise.
43267         (libnsl_hidden_tls_proto): Likewise.
43268         (libnss_nisplus_hidden_tls_proto): Likewise.
43269         (libutil_hidden_tls_proto): Likewise.
43271 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43273         [BZ #10253]
43274         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43275         (decompose_rpath): Defer expansion to fillin_rpath.
43276         (_dl_init_paths): Pass linkmap to fillin_rpath.
43278 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43280         * benchtests/Makefile: Add strsep.
43281         * benchtests/bench-strsep.c: New file: strsep benchtest.
43282         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43284 2013-11-18  Andreas Schwab  <schwab@suse.de>
43286         * locale/programs/locale.c (show_info) [case byte]: Check for
43287         '\377' instead of '\177'.
43288         * locale/C-monetary.c (not_available): Always use "\377".
43289         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43290         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43291         detect unavailable sign_posn locale elements.
43292         * locale/localeconv.c (__localeconv): For grouping and
43293         mon_grouping handle "\177" and "\377" like no grouping.
43294         (INT_ELEM): New macro.  Use it to set all numeric members.
43295         * locale/programs/ld-monetary.c (monetary_read)
43296         <tok_mon_grouping>: Normalize single -1 to the empty string.
43297         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43298         Likewise.
43300 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43302         [BZ #16055]
43303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43304         when we match (nil).
43305         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43307 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43309         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43310         (NO_TEST_INLINE): Update value.
43311         (ERRNO_UNCHANGED): Likewise.
43312         (ERRNO_EDOM): Likewise.
43313         (ERRNO_ERANGE): Likewise.
43314         (IGNORE_RESULT): Likewise.
43315         (check_float_internal): Check signs of NaN results if
43316         TEST_NAN_SIGN used.
43317         (check_complex): Pass TEST_NAN_SIGN flag through to second
43318         check_float_internal call.
43319         (copysign_test_data): Add tests with quiet NaNs as second
43320         argument.  Use TEST_NAN_SIGN.
43321         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43322         TEST_NAN_SIGN.
43323         (signbit_test_data): Add tests of quiet NaN argument.
43324         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43326         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43327         $ignore_result.
43328         (parse_args): Handle function results specified as IGNORE.
43329         * math/libm-test.inc (IGNORE_RESULT): New macro.
43330         (check_float_internal): Do not check numerical result if flag
43331         IGNORE_RESULT set.
43332         (check_complex): Pass through IGNORE_RESULT to second
43333         check_float_internal call.
43334         (check_int): Do not check numerical result if flag IGNORE_RESULT
43335         set.
43336         (check_long): Likewise.
43337         (check_bool): Likewise.
43338         (check_longlong): Likewise.
43339         (lrint_test_data): Add tests of infinite and NaN arguments.
43340         (lrint_tonearest_test_data): Likewise.
43341         (lrint_towardzero_test_data): Likewise.
43342         (lrint_downward_test_data): Likewise.
43343         (lrint_upward_test_data): Likewise.
43344         (llrint_test_data): Likewise.
43345         (llrint_tonearest_test_data): Likewise.
43346         (llrint_towardzero_test_data): Likewise.
43347         (llrint_downward_test_data): Likewise.
43348         (llrint_upward_test_data): Likewise.
43349         (lround_test_data): Likewise.
43350         (llround_test_data): Likewise.
43352         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43353         (ERRNO_UNCHANGED): Update value.
43354         (ERRNO_EDOM): Likewise.
43355         (ERRNO_ERANGE): Likewise.
43356         (NO_TEST_INLINE_FLOAT): New macro.
43357         (NO_TEST_INLINE_DOUBLE): Likewise.
43358         (enable_test): New function.
43359         (RUN_TEST_f_f): Check enable_test before running test.
43360         (RUN_TEST_2_f): Likewise.
43361         (RUN_TEST_fff_f): Likewise.
43362         (RUN_TEST_c_f): Likewise.
43363         (RUN_TEST_f_f1): Likewise.
43364         (RUN_TEST_fF_f1): Likewise.
43365         (RUN_TEST_fI_f1): Likewise.
43366         (RUN_TEST_ffI_f1): Likewise.
43367         (RUN_TEST_c_c): Likewise.
43368         (RUN_TEST_cc_c): Likewise.
43369         (RUN_TEST_f_i): Likewise.
43370         (RUN_TEST_f_i_tg): Likewise.
43371         (RUN_TEST_ff_i_tg): Likewise.
43372         (RUN_TEST_f_b): Likewise.
43373         (RUN_TEST_f_b_tg): Likewise.
43374         (RUN_TEST_f_l): Likewise.
43375         (RUN_TEST_f_L): Likewise.
43376         (RUN_TEST_fFF_11): Likewise.
43377         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43378         conditionals.
43379         (cosh_test_data): Likewise.
43380         (exp_test_data): Likewise.
43381         (expm1_test_data): Likewise.
43382         (hypot_test_data): Likewise.
43383         (pow_test_data): Likewise.
43384         (sinh_test_data): Likewise.
43385         (tanh_test_data): Likewise.
43386         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43387         flags argument.
43389         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43390         tests with quiet NaN input and output.
43391         (acosh_test_data): Likewise.
43392         (asin_test_data): Likewise.
43393         (asinh_test_data): Likewise.
43394         (atan_test_data): Likewise.
43395         (atanh_test_data): Likewise.
43396         (atan2_test_data): Likewise.
43397         (cbrt_test_data): Likewise.
43398         (cos_test_data): Likewise.
43399         (cosh_test_data): Likewise.
43400         (erf_test_data): Likewise.
43401         (erfc_test_data): Likewise.
43402         (exp_test_data): Likewise.
43403         (exp10_test_data): Likewise.
43404         (exp2_test_data): Likewise.
43405         (expm1_test_data): Likewise.
43406         (hypot_test_data): Likewise.
43407         (j0_test_data): Likewise.
43408         (j1_test_data): Likewise.
43409         (jn_test_data): Likewise.
43410         (lgamma_test_data): Likewise.
43411         (log_test_data): Likewise.
43412         (log10_test_data): Likewise.
43413         (log1p_test_data): Likewise.
43414         (log2_test_data): Likewise.
43415         (pow_test_data): Likewise.
43416         (scalb_test_data): Likewise.
43417         (sin_test_data): Likewise.
43418         (sincos_test_data): Likewise.
43419         (sinh_test_data): Likewise.
43420         (tan_test_data): Likewise.
43421         (tanh_test_data): Likewise.
43422         (tgamma_test_data): Likewise.
43423         (y0_test_data): Likewise.
43424         (y1_test_data): Likewise.
43425         (yn_test_data): Likewise.
43427         [BZ #16167]
43428         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43429         argument being NaN and avoid computations with second argument in
43430         that case.
43431         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43432         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43433         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43435 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43437         * locale/iso-639.def: Add Chitwani Tharu (the).
43439 2013-11-14  Andreas Schwab  <schwab@suse.de>
43441         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43442         word instead of empty string.
43444 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43447         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43449         (__fe_nomask_env): Likewise.
43451 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43453         * benchtests/bench-timing.h: Include time.h.
43455 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43457         [BZ #15997]
43458         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43459         to 3.4.0 for x32.
43460         * sysdeps/unix/sysv/linux/configure: Regenerated.
43462 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43464         [BZ #16151]
43465         * stdlib/strtod_l.c (round_and_return): Do not consider
43466         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43467         exponent one less than half the least subnormal exponent.
43468         * stdlib/test-strtod-round-data: Add more tests.
43469         * stdlib/tst-strtod-round.c (tests): Regenerated.
43471 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43473         [BZ #14143]
43474         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43475         (__fe_mask_env): Likewise.
43476         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43477         libm_hidden_proto and add function prototype.
43478         (__fe_mask_env): Add function prototype.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43480         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43482         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43484         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43486 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43488         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43489         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43491 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43493         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43494         of htab_find_slot().
43496 2013-11-11  David S. Miller  <davem@davemloft.net>
43498         [BZ #16150]
43499         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43500         symbol in the non-vis3 case in static builds.
43501         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43502         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43503         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43506 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43508         [BZ #387]
43509         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43510         it is empty.
43512 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43514         * benchtests/Makefile: Add bench-strtod.
43515         * benchtests/bench-strtod.c: New file: strtod benchtest
43517 2013-11-11  Andreas Schwab  <schwab@suse.de>
43519         [BZ #16153]
43520         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43521         terminating NUL in key length.
43523 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43525         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43526         Add artificial ODP entry for vDSO symbol for PPC64.
43527         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43528         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43530 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43532         [BZ #15374]
43533         * nss/getent.c (services_keys): Recognize services starting with digit.
43535 2013-11-06  David S. Miller  <davem@davemloft.net>
43537         [BZ #15985]
43538         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43539         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43541 2013-11-06  Will Newton  <will.newton@linaro.org>
43543         * manual/memory.texi (Malloc Examples): Remove register
43544         keyword from examples.
43546 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43548         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43550 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43552         [BZ #6981]
43553         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43554         depending on [__GCC_IEC_559 > 0].
43555         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43556         depending on [__GCC_IEC_559_COMPLEX > 0].
43558 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43560         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43561         to iso-639.def.
43563 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43565         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43567 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43569         [BZ #16112]
43570         * malloc/malloc (malloc_info): Do not handle first bin as
43571         special case.
43573 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43575         * locale/iso-639.def: Add Central Nahuatl (nhn).
43577 2013-11-01  Bruno Haible  <bruno@clisp.org>
43579         [BZ #7003]
43580         * manual/math.texi (BSD Random): Specify range upper bound as
43581         in POSIX.
43583 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43585         * locale/iso-639.def: Add Meadow Mari (mhr).
43587 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43589         [BZ #14752], [BZ #15763]
43590         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43591         Validate name.
43592         * rt/tst_shm.c: Add test for escaping directory.
43594 2013-10-31  Andreas Schwab  <schwab@suse.de>
43596         [BZ #15917]
43597         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43598         followed by 'x' as part of digit sequence.
43599         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43601 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43603         [BZ #16037]
43604         * configure.ac: allow GNU Make 4.0 and greater.
43605         * configure: Regenerated.
43607 2013-10-30  Will Newton  <will.newton@linaro.org>
43609         [BZ #16038]
43610         * malloc/hooks.c (memalign_check): Limit alignment to the
43611         maximum representable power of two.
43612         * malloc/malloc.c (__libc_memalign): Likewise.
43613         * malloc/tst-memalign.c (do_test): Add test for very
43614         large alignment values.
43615         * malloc/tst-posix_memalign.c (do_test): Likewise.
43617 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43619         [BZ #11087]
43620         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43621         (munmap_chunk): Likewise.
43622         (mremap_chunk): Likewise.
43624 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43626         [BZ #15799]
43627         * stdlib/div.c (div): Remove obsolete code.
43628         * stdlib/ldiv.c (ldiv): Likewise.
43629         * stdlib/lldiv.c (lldiv): Likewise.
43631 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43633         [BZ #16071]
43634         * nss/nss_files/files-XXX.c (get_contents_ret): New
43635         enumerator.
43636         (get_contents): New function.
43637         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43639 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43641         * configure.in: Moved to ...
43642         * configure.ac: ... here. Change reference to configure.in
43643         to configure.ac.
43644         * sysdeps/arm/preconfigure.ac: ... here.
43645         configure.in to configure.ac.
43646         * sysdeps/gnu/configure.in: Moved to ...
43647         * sysdeps/gnu/configure.ac: ... here.
43648         * sysdeps/i386/configure.in: Moved to ...
43649         * sysdeps/i386/configure.ac: ... here.
43650         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43651         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43652         * sysdeps/mach/configure.in: Moved to ...
43653         * sysdeps/mach/configure.ac: ... here.
43654         * sysdeps/mach/hurd/configure.in: Moved to ...
43655         * sysdeps/mach/hurd/configure.ac: ... here.
43656         * sysdeps/powerpc/configure.in: Moved to ...
43657         * sysdeps/powerpc/configure.ac: ... here.
43658         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43659         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43660         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43661         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43662         * sysdeps/s390/s390-32/configure.in: Moved to ...
43663         * sysdeps/s390/s390-32/configure.ac: ... here.
43664         * sysdeps/s390/s390-64/configure.in: Moved to ...
43665         * sysdeps/s390/s390-64/configure.ac: ... here.
43666         * sysdeps/sh/configure.in: Moved to ...
43667         * sysdeps/sh/configure.ac: ... here.
43668         * sysdeps/sparc/configure.in: Moved to ...
43669         * sysdeps/sparc/configure.ac: ... here.
43670         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43671         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43672         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43673         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43674         * sysdeps/x86_64/configure.in: Moved to ...
43675         * sysdeps/x86_64/configure.ac: ... here.
43676         * sysdeps/x86_64/preconfigure.in: Moved to ...
43677         * sysdeps/x86_64/preconfigure.ac: ... here.
43678         * aclocal.m4: Change reference to configure.in to configure.ac.
43679         * config.h.in: Likewise.
43680         * manual/install.texi: Likewise.
43681         * manual/maint.texi: Likewise.
43682         * Makefile: Likewise.
43683         * malloc/Makefile: Likewise.
43684         * nscd/Makefile: Likewise.
43685         * Makeconfig: Change reference to configure.in and
43686         preconfigure.in to configure.ac and preconfigure.ac
43687         respectively.
43688         * INSTALL: Regenerated.
43689         * configure: Likewise.
43690         * sysdeps/gnu/configure: Likewise.
43691         * sysdeps/i386/configure: Likewise.
43692         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43693         * sysdeps/mach/configure: Likewise.
43694         * sysdeps/mach/hurd/configure: Likewise.
43695         * sysdeps/powerpc/configure: Likewise.
43696         * sysdeps/powerpc/powerpc32/configure: Likewise.
43697         * sysdeps/powerpc/powerpc64/configure: Likewise.
43698         * sysdeps/s390/s390-32/configure: Likewise.
43699         * sysdeps/s390/s390-64/configure: Likewise.
43700         * sysdeps/sh/configure: Likewise.
43701         * sysdeps/sparc/configure: Likewise.
43702         * sysdeps/unix/sysv/linux/configure: Likewise.
43703         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43704         * sysdeps/x86_64/configure: Likewise.
43705         * sysdeps/x86_64/preconfigure: Likewise.
43707 2013-10-29  Andreas Schwab  <schwab@suse.de>
43709         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43711 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43713         * benchtests/pow-inputs: Add new inputs.
43715         * benchtests/exp-inputs: Add new inputs.
43717         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43718         conditional check for return value.
43719         (__cos32): Likewise.
43721 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43724         to provide a boost for large inputs with word alignment.
43725         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43726         implementation based on optimized PPC64 strcpy.
43727         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43728         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43729         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43730         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43732 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43734         [BZ #2801]
43735         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43737 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43739         [BZ #14876]
43740         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43741         * time/tst-strptime.c (day_tests): Add testcase.
43743 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43745         [BZ #14029]
43746         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43748 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43750         [BZ #16074]
43751         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43752         MAP_FAILED on error.
43754 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43756         [BZ #16072]
43757         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43758         heap for large requests.
43760 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43762         [BZ #9954]
43763         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43764         result if the result has no associated interface.
43765         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43766         interface for all 127.X.Y.Z addresses.
43768 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43770         * locale/iso-639.def: Add Ligurian (lij)
43772 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43774         [BZ #15825]
43775         * sunrpc/rpc_main.c: Document rpcgen -5.
43777 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43779         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43781 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43783         [BZ #10278]
43784         * posix/glob.c: Match only directories when trailing slash is present.
43785         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43786         (main): Add testcase.
43788 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43790         [BZ #15670]
43791         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43793 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43795         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43796         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43797         AUTH_DES and cindex for FIPS 140-2.
43798         (DES Encryption): Add cindex FIPS 46-3.
43800         * locale/locarchive.h (struct locarhandle): Add fname.
43801         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43802         if an optional argument was specified to --list-archive,
43803         otherwise NULL.
43804         * locale/programs/locarchive.c (show_archive_content): Take new
43805         argument fname and pass it via ah.fname to open_archive.
43806         * locale/programs/localedef.h: Update decl.
43807         (open_archive): If AH->fname is non-null, open that file
43808         rather than the default file name, and don't ignore ENOENT.
43809         (create_archive): Set AH.fname to NULL.
43810         (delete_locales_from_archive): Likewise.
43811         (add_locales_to_archive): Likewise.
43812         * locale/programs/locfile.c (write_all_categories): Likewise.
43814 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43815             Aldy Hernandez  <aldyh@redhat.com>
43817         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43818         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43819         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43820         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43821         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43822         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43825         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43826         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43827         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43830         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43831         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43832         Likewise.
43833         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43834         Likewise.
43835         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43836         Likewise.
43837         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43838         Likewise.
43839         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43840         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43841         Likewise.
43842         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43843         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43844         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43845         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43846         Likewise.
43847         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43848         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43849         * sysdeps/powerpc/preconfigure: Likewise.
43850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43851         Likewise.
43852         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43853         Replace contents of file by #include of <fenv_libc.h>.
43854         * sysdeps/powerpc/soft-fp/sfp-machine.h
43855         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43856         and <sys/prctl.h>.
43857         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43870         Allow copysignl PLT reference to be missing.
43872 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43873             Joseph Myers  <joseph@codesourcery.com
43875         [BZ #15948]
43876         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43877         single character.
43878         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43880 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43882         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43883         * elf/tst-tls1.c: Likewise.
43884         * elf/tst-tls10.h: Likewise.
43885         * elf/tst-tls14.c: Likewise.
43886         * elf/tst-tls2.c: Likewise.
43887         * elf/tst-tls3.c: Likewise.
43888         * elf/tst-tls4.c: Likewise.
43889         * elf/tst-tls5.c: Likewise.
43890         * elf/tst-tls6.c: Likewise.
43891         * elf/tst-tls7.c: Likewise.
43892         * elf/tst-tls8.c: Likewise.
43893         * elf/tst-tls9.c: Likewise.
43894         * elf/tst-tlsmod1.c: Likewise.
43895         * elf/tst-tlsmod13.c: Likewise.
43896         * elf/tst-tlsmod13a.c: Likewise.
43897         * elf/tst-tlsmod14a.c: Likewise.
43898         * elf/tst-tlsmod16a.c: Likewise.
43899         * elf/tst-tlsmod16b.c: Likewise.
43900         * elf/tst-tlsmod2.c: Likewise.
43901         * elf/tst-tlsmod3.c: Likewise.
43902         * elf/tst-tlsmod4.c: Likewise.
43903         * elf/tst-tlsmod5.c: Likewise.
43904         * elf/tst-tlsmod6.c: Likewise.
43906 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43908         [BZ #12486]
43909         * malloc/malloc.c: remove checks for statistics.
43911 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43913         [BZ #15277]
43914         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43915         * inet/tst-network.c: Add testcase.
43917 2013-10-17  Andreas Schwab  <schwab@suse.de>
43919         [BZ #15218]
43920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43921         to determine canonical name.
43923 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43925         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43926         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43928         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43930         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43931         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43932         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43933         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43934         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43935         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43936         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43937         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43938         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43939         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43940         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43943         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43944         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43947         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43948         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43949         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43950         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43951         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43952         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43954         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43955         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43959         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43960         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43961         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43962         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43963         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43965         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43966         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43974         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43975         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43976         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43977         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43979         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43980         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43982         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43984 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43986         [BZ #16041]
43987         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43988         make result into a quiet NaN.
43990 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43992         * soft-fp/adddf3.c: Fix horizontal whitespace.
43993         * soft-fp/addsf3.c: Likewise.
43994         * soft-fp/addtf3.c: Likewise.
43995         * soft-fp/divdf3.c: Likewise.
43996         * soft-fp/divsf3.c: Likewise.
43997         * soft-fp/divtf3.c: Likewise.
43998         * soft-fp/double.h: Likewise.
43999         * soft-fp/eqdf2.c: Likewise.
44000         * soft-fp/eqsf2.c: Likewise.
44001         * soft-fp/eqtf2.c: Likewise.
44002         * soft-fp/extenddftf2.c: Likewise.
44003         * soft-fp/extended.h: Likewise.
44004         * soft-fp/extendsfdf2.c: Likewise.
44005         * soft-fp/extendsftf2.c: Likewise.
44006         * soft-fp/extendxftf2.c: Likewise.
44007         * soft-fp/fixdfdi.c: Likewise.
44008         * soft-fp/fixdfsi.c: Likewise.
44009         * soft-fp/fixdfti.c: Likewise.
44010         * soft-fp/fixsfdi.c: Likewise.
44011         * soft-fp/fixsfsi.c: Likewise.
44012         * soft-fp/fixsfti.c: Likewise.
44013         * soft-fp/fixtfdi.c: Likewise.
44014         * soft-fp/fixtfsi.c: Likewise.
44015         * soft-fp/fixtfti.c: Likewise.
44016         * soft-fp/fixunsdfdi.c: Likewise.
44017         * soft-fp/fixunsdfsi.c: Likewise.
44018         * soft-fp/fixunsdfti.c: Likewise.
44019         * soft-fp/fixunssfdi.c: Likewise.
44020         * soft-fp/fixunssfsi.c: Likewise.
44021         * soft-fp/fixunssfti.c: Likewise.
44022         * soft-fp/fixunstfdi.c: Likewise.
44023         * soft-fp/fixunstfsi.c: Likewise.
44024         * soft-fp/fixunstfti.c: Likewise.
44025         * soft-fp/floatdidf.c: Likewise.
44026         * soft-fp/floatdisf.c: Likewise.
44027         * soft-fp/floatditf.c: Likewise.
44028         * soft-fp/floatsidf.c: Likewise.
44029         * soft-fp/floatsisf.c: Likewise.
44030         * soft-fp/floatsitf.c: Likewise.
44031         * soft-fp/floattidf.c: Likewise.
44032         * soft-fp/floattisf.c: Likewise.
44033         * soft-fp/floattitf.c: Likewise.
44034         * soft-fp/floatundidf.c: Likewise.
44035         * soft-fp/floatundisf.c: Likewise.
44036         * soft-fp/floatunditf.c: Likewise.
44037         * soft-fp/floatunsidf.c: Likewise.
44038         * soft-fp/floatunsisf.c: Likewise.
44039         * soft-fp/floatunsitf.c: Likewise.
44040         * soft-fp/floatuntidf.c: Likewise.
44041         * soft-fp/floatuntisf.c: Likewise.
44042         * soft-fp/floatuntitf.c: Likewise.
44043         * soft-fp/fmadf4.c: Likewise.
44044         * soft-fp/fmasf4.c: Likewise.
44045         * soft-fp/fmatf4.c: Likewise.
44046         * soft-fp/gedf2.c: Likewise.
44047         * soft-fp/gesf2.c: Likewise.
44048         * soft-fp/getf2.c: Likewise.
44049         * soft-fp/ledf2.c: Likewise.
44050         * soft-fp/lesf2.c: Likewise.
44051         * soft-fp/letf2.c: Likewise.
44052         * soft-fp/muldf3.c: Likewise.
44053         * soft-fp/mulsf3.c: Likewise.
44054         * soft-fp/multf3.c: Likewise.
44055         * soft-fp/negdf2.c: Likewise.
44056         * soft-fp/negsf2.c: Likewise.
44057         * soft-fp/negtf2.c: Likewise.
44058         * soft-fp/op-1.h: Likewise.
44059         * soft-fp/op-2.h: Likewise.
44060         * soft-fp/op-4.h: Likewise.
44061         * soft-fp/op-8.h: Likewise.
44062         * soft-fp/op-common.h: Likewise.
44063         * soft-fp/quad.h: Likewise.
44064         * soft-fp/single.h: Likewise.
44065         * soft-fp/soft-fp.h: Likewise.
44066         * soft-fp/sqrtdf2.c: Likewise.
44067         * soft-fp/sqrtsf2.c: Likewise.
44068         * soft-fp/sqrttf2.c: Likewise.
44069         * soft-fp/subdf3.c: Likewise.
44070         * soft-fp/subsf3.c: Likewise.
44071         * soft-fp/subtf3.c: Likewise.
44072         * soft-fp/truncdfsf2.c: Likewise.
44073         * soft-fp/trunctfdf2.c: Likewise.
44074         * soft-fp/trunctfsf2.c: Likewise.
44075         * soft-fp/trunctfxf2.c: Likewise.
44076         * soft-fp/unorddf2.c: Likewise.
44077         * soft-fp/unordsf2.c: Likewise.
44078         * soft-fp/unordtf2.c: Likewise.
44080 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44082         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44083         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44085 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44087         * elf/dl-libc.c: Clear initfini list after freeing.
44089 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44091         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44092         * soft-fp/addsf3.c: Likewise.
44093         * soft-fp/addtf3.c: Likewise.
44094         * soft-fp/divdf3.c: Likewise.
44095         * soft-fp/divsf3.c: Likewise.
44096         * soft-fp/divtf3.c: Likewise.
44097         * soft-fp/double.h: Likewise.
44098         * soft-fp/eqdf2.c: Likewise.
44099         * soft-fp/eqsf2.c: Likewise.
44100         * soft-fp/eqtf2.c: Likewise.
44101         * soft-fp/extenddftf2.c: Likewise.
44102         * soft-fp/extended.h: Likewise.
44103         * soft-fp/extendsfdf2.c: Likewise.
44104         * soft-fp/extendsftf2.c: Likewise.
44105         * soft-fp/extendxftf2.c: Likewise.
44106         * soft-fp/fixdfdi.c: Likewise.
44107         * soft-fp/fixdfsi.c: Likewise.
44108         * soft-fp/fixdfti.c: Likewise.
44109         * soft-fp/fixsfdi.c: Likewise.
44110         * soft-fp/fixsfsi.c: Likewise.
44111         * soft-fp/fixsfti.c: Likewise.
44112         * soft-fp/fixtfdi.c: Likewise.
44113         * soft-fp/fixtfsi.c: Likewise.
44114         * soft-fp/fixtfti.c: Likewise.
44115         * soft-fp/fixunsdfdi.c: Likewise.
44116         * soft-fp/fixunsdfsi.c: Likewise.
44117         * soft-fp/fixunsdfti.c: Likewise.
44118         * soft-fp/fixunssfdi.c: Likewise.
44119         * soft-fp/fixunssfsi.c: Likewise.
44120         * soft-fp/fixunssfti.c: Likewise.
44121         * soft-fp/fixunstfdi.c: Likewise.
44122         * soft-fp/fixunstfsi.c: Likewise.
44123         * soft-fp/fixunstfti.c: Likewise.
44124         * soft-fp/floatdidf.c: Likewise.
44125         * soft-fp/floatdisf.c: Likewise.
44126         * soft-fp/floatditf.c: Likewise.
44127         * soft-fp/floatsidf.c: Likewise.
44128         * soft-fp/floatsisf.c: Likewise.
44129         * soft-fp/floatsitf.c: Likewise.
44130         * soft-fp/floattidf.c: Likewise.
44131         * soft-fp/floattisf.c: Likewise.
44132         * soft-fp/floattitf.c: Likewise.
44133         * soft-fp/floatundidf.c: Likewise.
44134         * soft-fp/floatundisf.c: Likewise.
44135         * soft-fp/floatunsidf.c: Likewise.
44136         * soft-fp/floatunsisf.c: Likewise.
44137         * soft-fp/floatuntidf.c: Likewise.
44138         * soft-fp/floatuntisf.c: Likewise.
44139         * soft-fp/floatuntitf.c: Likewise.
44140         * soft-fp/fmadf4.c: Likewise.
44141         * soft-fp/fmasf4.c: Likewise.
44142         * soft-fp/fmatf4.c: Likewise.
44143         * soft-fp/gedf2.c: Likewise.
44144         * soft-fp/gesf2.c: Likewise.
44145         * soft-fp/getf2.c: Likewise.
44146         * soft-fp/ledf2.c: Likewise.
44147         * soft-fp/lesf2.c: Likewise.
44148         * soft-fp/letf2.c: Likewise.
44149         * soft-fp/muldf3.c: Likewise.
44150         * soft-fp/mulsf3.c: Likewise.
44151         * soft-fp/multf3.c: Likewise.
44152         * soft-fp/negdf2.c: Likewise.
44153         * soft-fp/negsf2.c: Likewise.
44154         * soft-fp/negtf2.c: Likewise.
44155         * soft-fp/op-1.h: Likewise.
44156         * soft-fp/op-2.h: Likewise.
44157         * soft-fp/op-4.h: Likewise.
44158         * soft-fp/op-8.h: Likewise.
44159         * soft-fp/op-common.h: Likewise.
44160         * soft-fp/quad.h: Likewise.
44161         * soft-fp/single.h: Likewise.
44162         * soft-fp/soft-fp.h: Likewise.
44163         * soft-fp/sqrtdf2.c: Likewise.
44164         * soft-fp/sqrtsf2.c: Likewise.
44165         * soft-fp/sqrttf2.c: Likewise.
44166         * soft-fp/subdf3.c: Likewise.
44167         * soft-fp/subsf3.c: Likewise.
44168         * soft-fp/subtf3.c: Likewise.
44169         * soft-fp/truncdfsf2.c: Likewise.
44170         * soft-fp/trunctfdf2.c: Likewise.
44171         * soft-fp/trunctfsf2.c: Likewise.
44172         * soft-fp/trunctfxf2.c: Likewise.
44173         * soft-fp/unorddf2.c: Likewise.
44174         * soft-fp/unordsf2.c: Likewise.
44175         * soft-fp/unordtf2.c: Likewise.
44177 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44179         [BZ #15672]
44180         * misc/error.c (error_tail): Fix possible buffer overflow.
44182 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44184         [BZ #13028]
44185         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44186         address.
44188 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44190         [BZ #832]
44191         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44192         testing pipefail option.
44194 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44196         * soft-fp/double.h: Indent preprocessor directives inside #if.
44197         * soft-fp/extended.h: Likewise.
44198         * soft-fp/op-2.h: Likewise.
44199         * soft-fp/op-4.h: Likewise.
44200         * soft-fp/op-common.h: Likewise.
44201         * soft-fp/quad.h: Likewise.
44202         * soft-fp/single.h: Likewise.
44203         * soft-fp/soft-fp.h: Likewise.
44205 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44207         * iconv/iconv_prog.c: Fix typos.
44208         * stdio-common/psiginfo-data.h: Likewise.
44210 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44212         [BZ #15764]
44213         * locale/setlocale.c: Fix typo.
44215 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44217         [BZ #16036]
44218         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44219         signaling NaN arguments.
44220         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44221         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44223         [BZ #14910]
44224         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44225         unordered operands.
44226         * soft-fp/gesf2.c (__gesf2): Likewise.
44227         * soft-fp/getf2.c (__getf2): Likewise.
44228         * soft-fp/ledf2.c (__ledf2): Likewise.
44229         * soft-fp/lesf2.c (__lesf2): Likewise.
44230         * soft-fp/letf2.c (__letf2): Likewise.
44232         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44233         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44234         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44235         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44236         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44237         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44238         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44239         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44240         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44241         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44242         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44243         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44244         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44245         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44246         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44247         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44248         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44249         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44250         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44251         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44252         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44253         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44254         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44255         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44256         * soft-fp/floattidf.c (__floattidf): Likewise.
44257         * soft-fp/floattisf.c (__floattisf): Likewise.
44258         * soft-fp/floattitf.c (__floattitf): Likewise.
44259         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44260         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44261         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44262         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44263         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44264         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44265         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44266         * soft-fp/gesf2.c (__gesf2): Likewise.
44267         * soft-fp/getf2.c (__getf2): Likewise.
44268         * soft-fp/ledf2.c (__ledf2): Likewise.
44269         * soft-fp/lesf2.c (__lesf2): Likewise.
44270         * soft-fp/letf2.c (__letf2): Likewise.
44272         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44273         Undefine and redefine.
44274         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44275         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44276         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44277         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44278         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44279         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44280         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44281         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44282         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44283         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44284         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44285         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44286         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44287         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44288         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44290         [BZ #16032]
44291         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44292         without decrementing exponent if mantissa >= that for the
44293         denominator, not >.
44294         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44295         denominator, not >.  Decrement exponent in < case instead of
44296         incrementing in >= case.
44297         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44298         without decrementing exponent if mantissa >= that for the
44299         denominator, not >.
44301         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44302         computing saturated result for unsigned overflow.
44304 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44305             Jeff Law  <law@redhat.com>
44307         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44308         (atan2Mp): Add systemtap probe marker.
44309         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44310         (__ieee754_log): Add systemtap probe marker.
44311         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44312         (atanMp): Add systemtap probe marker.
44313         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44314         (tanMp): Add systemtap probe marker.
44315         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44316         (__slowexp): Add systemtap probe marker.
44317         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44318         (__slowpow): Add systemtap probe marker.
44319         * manual/probes.texi: Document probes.
44321 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44323         [BZ #15362]
44324         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44325         written.
44326         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44327         written.
44328         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44329         written to buffer but not flushed.
44330         * libio/iofwrite_u.c:  Likewise.
44331         * libio/iopadn.c:  Return bytes returned even if EOF was
44332         encountered.
44333         * libio/iowpadn.c:  Likewise.
44334         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44335         if _IO_padn does not write the whole buffer.
44336         [!COMPILE_WPRINTF] (PAD): Likewise.
44338 2013-10-10  David S. Miller  <davem@davemloft.net>
44340         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44341         directory block.
44343 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44345         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44346         instead of FSF address.
44347         * soft-fp/fixdfti.c: Likewise.
44348         * soft-fp/fixsfti.c: Likewise.
44349         * soft-fp/fixtfti.c: Likewise.
44350         * soft-fp/fixunsdfti.c: Likewise.
44351         * soft-fp/fixunssfti.c: Likewise.
44352         * soft-fp/fixunstfti.c: Likewise.
44353         * soft-fp/floattidf.c: Likewise.
44354         * soft-fp/floattisf.c: Likewise.
44355         * soft-fp/floattitf.c: Likewise.
44356         * soft-fp/floatuntidf.c: Likewise.
44357         * soft-fp/floatuntisf.c: Likewise.
44358         * soft-fp/floatuntitf.c: Likewise.
44359         * soft-fp/trunctfxf2.c: Likewise.
44361         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44362         * soft-fp/fixdfti.c: Likewise.
44363         * soft-fp/fixsfti.c: Likewise.
44364         * soft-fp/fixtfti.c: Likewise.
44365         * soft-fp/fixunsdfti.c: Likewise.
44366         * soft-fp/fixunssfti.c: Likewise.
44367         * soft-fp/fixunstfti.c: Likewise.
44368         * soft-fp/floattidf.c: Likewise.
44369         * soft-fp/floattisf.c: Likewise.
44370         * soft-fp/floattitf.c: Likewise.
44371         * soft-fp/floatuntidf.c: Likewise.
44372         * soft-fp/floatuntisf.c: Likewise.
44373         * soft-fp/floatuntitf.c: Likewise.
44374         * soft-fp/trunctfxf2.c: Likewise.
44376 2013-10-10  David S. Miller  <davem@davemloft.net>
44378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44380 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44382         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44383         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44384         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44385         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44386         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44387         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44388         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44390         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44391         for NaNs before doing comparisons on argument.
44392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44393         Likewise.
44395 2013-10-10  Will Newton  <will.newton@linaro.org>
44397         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44398         passed to _int_memalign does not overflow.
44400 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44402         * scripts/bench.pl: Add include-sources directive.
44403         * benchtests/README: Update documentation.
44405 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44407         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44408         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44409         instead of FP_INIT_ROUNDMODE.
44410         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44411         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44413         [BZ #16034]
44414         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44415         copy class of input value.
44416         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44417         not handle exceptions.
44418         * soft-fp/negsf2.c (__negsf2): Likewise.
44419         * soft-fp/negtf2.c (__negtf2): Likewise.
44420         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44422 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44424         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44425         semicolon.  From Linux kernel.
44427 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44429         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44431 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44433         [BZ #156]
44434         * manual/socket.texi: Added statement about buffer
44435         for gethostbyname2_r.
44437 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44439         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44440         Use .p2align directive instead, throughout.
44441         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44442         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44443         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44444         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44445         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44446         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44447         * sysdeps/x86_64/strchr.S: Likewise.
44448         * sysdeps/x86_64/strrchr.S: Likewise.
44450 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44452         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44454         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44456         * sysdeps/generic/math_private.h (__mpsin1): Remove
44457         declaration.
44458         (__mpcos1): Likewise.
44459         (__mpsin): New argument __range_reduce.
44460         (__mpcos): Likewise.
44461         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44462         (slow): Use __mpsin and __mpcos.
44463         (slow1): Likewise.
44464         (slow2): Likewise.
44465         (sloww): Likewise.
44466         (sloww1): Likewise.
44467         (sloww2): Likewise.
44468         (bsloww): Likewise.
44469         (bsloww1): Likewise.
44470         (bsloww2): Likewise.
44471         (cslow2): Likewise.
44472         (csloww): Likewise.
44473         (csloww1): Likewise.
44474         (csloww2): Likewise.
44475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44476         range_reduce.  Merge in __mpsin1.
44477         (__mpcos): Likewise.
44478         (__mpsin1): Remove.
44479         (__mpcos1): Likewise.
44481 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44483         * locale/loadlocale.c (_nl_intern_locale_data): Use
44484         LOCFILE_ALIGNED_P.
44485         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44486         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44487         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44488         obstack data is appropriately aligned.
44489         (obstack_int32_grow_fast): Likewise.
44490         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44491         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44492         (add_locale_uint32_array): Likewise.
44494 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44496         * benchtests/Makefile: Remove ARGLIST and RET variables.
44497         ($(objpfx)bench-%.c): Pass only function name to the script.
44498         * benchtests/README: Update documentation.
44499         * benchtests/acos-inputs: Add new directives.
44500         * benchtests/acosh-inputs: Likewise.
44501         * benchtests/asin-inputs: Likewise.
44502         * benchtests/asinh-inputs: Likewise.
44503         * benchtests/atan-inputs: Likewise.
44504         * benchtests/atanh-inputs: Likewise.
44505         * benchtests/cos-inputs: Likewise.
44506         * benchtests/cosh-inputs: Likewise.
44507         * benchtests/exp-inputs: Likewise.
44508         * benchtests/log-inputs: Likewise.
44509         * benchtests/pow-inputs: Likewise.
44510         * benchtests/rint-inputs: Likewise.
44511         * benchtests/sin-inputs: Likewise.
44512         * benchtests/sinh-inputs: Likewise.
44513         * benchtests/tan-inputs: Likewise.
44514         * benchtests/tanh-inputs: Likewise.
44515         * scripts/bench.pl: Add support for new directives.
44517 2013-10-07  Alan Modra  <amodra@gmail.com>
44519         * README: Fix careless merge.
44521 2013-10-05  Alan Modra  <amodra@gmail.com>
44523         * NEWS: Mention powerpc64le support and bugs fixed.
44524         * README: Both big-endian and little-endian powerpc64 supported.
44526 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44528         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44529         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44530         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44531         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44533 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44535         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44536         match prototype.
44538 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44540         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44541         Move -mhard-float appending from
44542         ports/sysdeps/powerpc/powerpc32/Makefile.
44543         [$(with-fp) = yes] (ASFLAGS): Likewise.
44544         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44545         * sysdeps/powerpc/nofpu: Move directory from
44546         ports/sysdeps/powerpc/nofpu.
44547         * sysdeps/powerpc/soft-fp: Move directory from
44548         ports/sysdeps/powerpc/soft-fp.
44549         * sysdeps/powerpc/powerpc32/405: Move directory from
44550         ports/sysdeps/powerpc/powerpc32/405.
44551         * sysdeps/powerpc/powerpc32/440: Move directory from
44552         ports/sysdeps/powerpc/powerpc32/440.
44553         * sysdeps/powerpc/powerpc32/464: Move directory from
44554         ports/sysdeps/powerpc/powerpc32/464.
44555         * sysdeps/powerpc/powerpc32/476: Move directory from
44556         ports/sysdeps/powerpc/powerpc32/476.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44558         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44562         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44566         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44567         * README: Update for powerpc-*-linux-gnu software floating point
44568         support in libc.
44570         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44571         case to powerpc/powerpc32*.
44572         * sysdeps/unix/sysv/linux/configure: Regenerated.
44574         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44575         (_FPU_MASK_OM): Define as 0x04.
44576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44578         0x00c10080.
44579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44580         0x0000003c.
44581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44584         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44585         getcontext_e500.
44586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44587         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44588         setcontext_e500.
44589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44590         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44591         and setcontext_e500.
44593 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44595         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44597 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44599         * manual/threads.texi (Default Thread Attributes): Fix typo.
44601 2013-10-04  Will Newton  <will.newton@linaro.org>
44603         * malloc/Makefile: Add tst-memalign.
44604         * malloc/tst-memalign.c: New file.
44606         * malloc/tst-posix_memalign.c: Add comments.
44607         (do_test): Add comments and call free on all potentially
44608         allocated pointers. Add space after cast.
44610         * malloc/tst-pvalloc.c: Add comments.
44611         (do_test): Add comments and call free on all potentially
44612         allocated pointers. Remove duplicate check for NULL pointer.
44613         Add space after cast.
44615         * malloc/tst-valloc.c: Add comments.
44616         (do_test): Add comments and call free on all potentially
44617         allocated pointers. Remove duplicate check for NULL pointer.
44618         Add space after cast.
44620 2013-10-04  Alan Modra  <amodra@gmail.com>
44622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44623         Use stdint types in rather than __attribute__((mode())).
44624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44626 2013-10-04  Alan Modra  <amodra@gmail.com>
44628         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44629         Correct handling of unaligned relocs for little-endian.
44630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44632 2013-10-04  Alan Modra  <amodra@gmail.com>
44634         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44635         * configure: Regenerate.
44636         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44637         * shlib-versions: Likewise.
44639 2013-10-04  Alan Modra  <amodra@gmail.com>
44641         * string/tester.c (test_memrchr): Increment reported test cycle.
44643 2013-10-04  Alan Modra  <amodra@gmail.com>
44645         * string/test-memcpy.c (do_one_test): When reporting errors, print
44646         string address and don't overrun end of string.
44648 2013-10-04  Alan Modra  <amodra@gmail.com>
44650         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44651         insrdi.  Make better use of reg selection to speed exit slightly.
44652         Schedule entry path a little better.  Remove useless "are we done"
44653         checks on entry to main loop.  Handle wrapping around zero address.
44654         Correct main loop count.  Handle single left-over word from main
44655         loop inline rather than by using loop_small.  Remove extra word
44656         case in loop_small caused by wrong loop count.  Add little-endian
44657         support.
44658         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44660         cache hint.
44661         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44662         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44663         support.  Avoid rlwimi.
44664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44666 2013-10-04  Alan Modra  <amodra@gmail.com>
44668         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44669         insrdi.  Formatting.
44670         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44671         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44672         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44673         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44674         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44675         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44677 2013-10-04  Alan Modra  <amodra@gmail.com>
44679         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44681         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44682         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44683         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44684         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44685         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44686         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44687         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44688         use of regs.  Use power7 mtocrf.  Tidy function tails.
44690 2013-10-04  Alan Modra  <amodra@gmail.com>
44692         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44693         Formatting.  Consistently use rXXX register defines or rN defines.
44694         Use early exit labels that avoid restoring unused non-volatile regs.
44695         Make cr field use more consistent with rWORDn compares.  Rename
44696         regs used as shift registers for unaligned loop, using rN defines
44697         for short lifetime/multiple use regs.
44698         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44699         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44700         addi 1,1,64 to pop stack frame.  Simplify return value code.
44701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44703 2013-10-04  Alan Modra  <amodra@gmail.com>
44705         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44706         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44707         rather than rlwimi.
44708         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44709         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44710         little-endian support.  Correct typos.
44711         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44712         rather than rlwimi.
44713         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44714         in loop and entry code to keep "and." results.
44715         (strchr): Add little-endian support.  Comment.  Move cntlzd
44716         earlier in tail.
44717         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44719 2013-10-04  Alan Modra  <amodra@gmail.com>
44721         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44722         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44723         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44724         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44726 2013-10-04  Alan Modra  <amodra@gmail.com>
44728         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44729         (rTMP): Define as r11.
44730         (strcmp): Add little-endian support.  Optimise tail.
44731         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44732         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44733         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44734         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44735         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44736         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44737         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44739 2013-10-04  Alan Modra  <amodra@gmail.com>
44741         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44742         little-endian support.  Remove unnecessary "are we done" tests.
44743         Handle "s" wrapping around zero and extremely large "size".
44744         Correct main loop count.  Handle single left-over word from main
44745         loop inline rather than by using small_loop.  Correct comments.
44746         Delete "zero" tail, use "end_max" instead.
44747         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44749 2013-10-04  Alan Modra  <amodra@gmail.com>
44751         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44752         support.  Don't branch over align.
44753         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44754         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44755         support.  Rearrange tmp reg use to suit.  Comment.
44756         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44758 2013-10-04  Alan Modra  <amodra@gmail.com>
44760         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44762 2013-10-04  Alan Modra  <amodra@gmail.com>
44764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44765         conditional form of branch and link when obtaining pc.
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44768 2013-10-04  Alan Modra  <amodra@gmail.com>
44770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44771         HIWORD/LOWORD.
44772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44775 2013-10-04  Alan Modra  <amodra@gmail.com>
44777         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44778         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44779         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44780         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44781         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44783         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44784         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44785         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44786         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44788 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44789             Alistair Popple <alistair@ozlabs.au.ibm.com>
44790             Alan Modra <amodra@gmail.com>
44792         [BZ #15723]
44793         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44794         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44795         _dl_hwcap access for little-endian.
44796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44797         destroy vmx regs when saving unaligned.
44798         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44799         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44800         destroy vmx regs when saving unaligned.
44802 2013-10-04  Alan Modra  <amodra@gmail.com>
44804         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44805         Don't use a union to pack hi/low value.
44807 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44809         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44810         for little-endian.
44811         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44812         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44813         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44814         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44815         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44817 2013-10-04  Alan Modra  <amodra@gmail.com>
44819         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44820         constants to usual value for .cst8 section, and remove redundant
44821         high address load.
44822         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44823         constant for 0x1p52.  Load little-endian words of double from
44824         correct stack offsets.
44826 2013-10-04  Alan Modra  <amodra@gmail.com>
44828         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44829         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44830         words of double from correct stack offsets.
44831         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44832         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44833         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44834         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44835         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44836         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44837         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44838         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44839         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44840         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44841         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44842         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44843         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44844         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44845         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44846         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44847         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44849 2013-10-04  Alan Modra  <amodra@gmail.com>
44851         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44852         64-bit int/double union.
44853         (_FPU_SETCW): Likewise.
44854         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44855         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44857 2013-10-04  Alan Modra  <amodra@gmail.com>
44859         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44860         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44862 2013-10-04  Alan Modra  <amodra@gmail.com>
44864         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44865         use vector int constants.
44866         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44870         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44871         array with long long.
44872         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44873         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44874         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44875         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44876         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44877         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44878         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44879         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44880         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44881         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44882         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44883         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44884         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44886 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44888         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44889         (__signbit): Likewise.  Correct for little-endian.
44890         (__signbitl): Call __signbit.
44891         (lrint): Correct for little-endian.
44892         (lrintf): Call lrint.
44894 2013-10-04  Alan Modra  <amodra@gmail.com>
44896         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44897         union 32-bit int array member with 64-bit int array.
44898         (t515, tm256): Double rather than long double.
44899         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44901 2013-10-04  Alan Modra  <amodra@gmail.com>
44903         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44904         Delete.
44905         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44907         version of math_ldbl.h.
44909 2013-10-04  Alan Modra  <amodra@gmail.com>
44911         [BZ #15734], [BZ #15735]
44912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44913         all uses of ieee875 long double macros and unions.  Simplify test
44914         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44915         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44916         normalize after ldbl_extract_mantissa, and don't add hidden bit
44917         already handled.  Don't treat low word of ieee854 mantissa like
44918         low word of IBM long double and mask off bit when testing for
44919         zero.
44920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44921         all uses of ieee875 long double macros and unions.  Simplify tests
44922         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44923         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44924         two1022, instead use their values.  Recognise that tests for large
44925         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44926         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44927         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44928         test for 0.0L and nan.  Correct negation.
44929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44930         ieee875 long double macros and unions.  Correct output for large
44931         magnitude x.  Correct absolute value calculation.
44932         (__erfcl): Likewise.
44933         * math/libm-test.inc: Add tests for errors discovered in IBM long
44934         double versions of fmodl, remainderl, erfl and erfcl.
44936 2013-10-04  Alan Modra  <amodra@gmail.com>
44938         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44939         all uses of ieee854 long double macros and unions.  Simplify tests
44940         for long doubles that are fully specified by the high double.
44941         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44942         Likewise.
44943         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44944         Remove dead code too.
44945         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44946         (__ieee754_ynl): Likewise.
44947         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44950         Remove dead code too.
44951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44952         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44953         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44954         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44955         Simplify.
44956         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44957         Simplify.
44958         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44959         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44960         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44961         Comment on variable precision.
44962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44963         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44964         Likewise.
44965         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44969         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44971 2013-10-04  Alan Modra  <amodra@gmail.com>
44973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44975         all uses of ieee854 long double macros and unions.
44976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44980         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44982         Likewise.
44983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44984         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44985         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44986         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44988         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44989         Simplify sign and nan test too.
44990         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44991         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44993         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44994         Likewise.
44995         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44996         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44997         Likewise.
44998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44999         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45000         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45001         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45002         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45005 2013-10-04  Alan Modra  <amodra@gmail.com>
45007         * stdio-common/printf_size.c (__printf_size): Don't use
45008         union ieee854_long_double in fpnum union.
45009         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45010         signbit macro to retrieve sign from long double.
45011         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45012         retrieve sign from long double.
45013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45014         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45015         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45016         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45017         * math/test-misc.c (main): Don't use union ieee854_long_double.
45019 2013-10-04  Alan Modra  <amodra@gmail.com>
45021         [BZ #15680]
45022         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45023         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45024         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45025         calculation.  Remove unnecessary test for denormal exponent.
45026         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45027         Correct handling of denormals.  Avoid undefined shift behaviour.
45028         Correct normalisation of low mantissa when low double is denormal.
45029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45030         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45031         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45032         Correct normalisation of low mantissa.  Test for overflow of high
45033         mantissa and normalise.
45034         (ldbl_nearbyint): Use more readable constant for two52.
45035         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45036         (__mpn_construct_long_double): Fix test for overflow of high
45037         mantissa and correct normalisation.  Avoid undefined shift.
45039 2013-10-04  Alan Modra  <amodra@gmail.com>
45041         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45042         (union ibm_extended_long_double): Define as an array of ieee754_double.
45043         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45044         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45045         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45046         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45047         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45049         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45053         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45055 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45057         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45058         page size instead of calling getpagesize.
45060         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45061         (LOCFILE_ALIGN_MASK): Likewise.
45062         (LOCFILE_ALIGN_UP): Likewise.
45063         (LOCFILE_ALIGNED_P): Likewise.
45064         * locale/programs/ld-collate.c (collate_output): Use the new
45065         macros instead of __alignof__ (int32_t).
45066         * locale/weight.h (findidx): Likewise.
45068 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45070         [BZ #431]
45071         * manual/string.texi: Fix strncat and wcsncat.
45073 2013-10-03  Brooks Moses  <bmoses@google.com>
45075         [BZ #15915]
45076         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45077         * Makerules: ...here, and adjust associated comments.
45079 2013-10-02  Will Newton  <will.newton@linaro.org>
45081         * malloc/Makefile: Add tst-pvalloc.
45082         * malloc/tst-pvalloc.c: New file.
45084 2013-10-02  Will Newton  <will.newton@linaro.org>
45086         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45087         improve test coverage.
45089 2013-10-02  Will Newton  <will.newton@linaro.org>
45091         * malloc/Makefile: Add tst-posix_memalign.
45092         * malloc/tst-posix_memalign.c: New file.
45094 2013-10-01  Eric Blake  <eblake@redhat.com>
45096         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45097         Use __THROWNL rather than __THROW on static functions.
45099 2013-09-30  Petr Machata  <pmachata@redhat.com>
45101         * elf/elf.h (R_AARCH64_ABS16): New macro.
45102         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45103         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45104         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45105         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45106         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45107         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45108         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45109         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45110         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45111         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45112         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45113         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45114         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45115         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45116         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45117         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45118         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45119         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45120         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45121         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45122         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45123         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45124         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45125         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45126         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45127         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45128         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45129         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45130         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45131         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45132         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45133         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45134         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45135         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45136         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45137         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45138         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45139         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45140         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45141         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45142         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45143         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45144         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45145         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45146         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45147         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45148         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45149         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45150         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45151         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45152         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45153         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45154         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45155         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45156         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45157         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45158         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45159         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45160         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45161         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45162         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45163         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45164         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45165         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45166         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45167         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45168         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45169         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45170         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45171         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45172         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45173         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45174         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45175         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45176         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45177         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45178         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45179         (R_AARCH64_TLSDESC_LDR): Likewise.
45180         (R_AARCH64_TLSDESC_ADD): Likewise.
45181         (R_AARCH64_TLSDESC_CALL): Likewise.
45183 2013-09-30  Andreas Schwab  <schwab@suse.de>
45185         [BZ #15048]
45186         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45187         the nss database lookup.
45188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45191 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45193         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45195 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45197         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45198         ${Bash-specific parameter/pattern/string} parameter expansion.
45199         * sysdeps/unix/make-syscalls.sh: Likewise.
45201 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45203         * sysdeps/sh/stackguard-macros.h: New file.
45205 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45209         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45210         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45212         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45214 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45216         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45217         Fix thread ID register.
45219 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45221         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45222         [POSIX || UNIX98]: Require rather than permitting all symbols from
45223         <time.h>.
45224         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45225         element of struct sched_param.
45226         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45227         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45228         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45229         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45230         constant.
45232 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45234         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45235         argument calculation.
45237 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45239         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45240         Expect macro.
45241         [POSIX] (pthread_attr_t): Do not require type.
45242         [POSIX] (pthread_cond_t): Likewise.
45243         [POSIX] (pthread_condattr_t): Likewise.
45244         [POSIX] (pthread_key_t): Likewise.
45245         [POSIX] (pthread_mutex_t): Likewise.
45246         [POSIX] (pthread_mutexattr_t): Likewise.
45247         [POSIX] (pthread_once_t): Likewise.
45248         [POSIX] (pthread_t): Likewise.
45249         [POSIX-based standards] (pthread_atfork): Expect function.
45251 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45252             Richard Sandiford  <richard@codesourcery.com>
45254         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45255         (swap_endianness_p): New extern variable.
45256         (set_big_endian): New inline function.
45257         (maybe_swap_uint32): Likewise.
45258         (maybe_swap_uint32_array): Likewise.
45259         (maybe_swap_uint32_obstack): Likewise.
45260         * locale/programs/locfile.c: Include <stdbool.h>.
45261         (swap_endianness_p): New variable.
45262         (add_locale_uint32): Call maybe_swap_uint32.
45263         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45264         (write_locale_data): Call maybe_swap_uint32_array.
45265         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45266         maybe_swap_uint32.
45267         (obstack_int32_grow_fast): Likewise.
45268         (output_weightwc): Call maybe_swap_uint32_obstack.
45269         (collate_output): Likewise.
45270         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45271         (OPT_LITTLE_ENDIAN): Likewise.
45272         (options): Add --little-endian and --big-endian options.
45273         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45274         * locale/programs/locarchive.c: Include "locfile.h".
45275         (GET): New macro.
45276         (SET): Likewise.
45277         (INC): Likewise.
45278         (create_archive): Use the new macros to access fields of
45279         structures directly mapped from or written to locale archives.
45280         (oldlocrecentcmp): Likewise.
45281         (enlarge_archive): Likewise.
45282         (insert_name): Likewise.
45283         (add_alias): Likewise.
45284         (add_locale): Likewise.
45285         (delete_locales_from_archive): Likewise.
45286         (show_archive_content): Likewise.
45287         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45288         locale data.
45290 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45292         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45293         http://www.gnu.org/doc/freemanuals.texi.
45294         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45296 2013-09-24  Will Newton  <will.newton@linaro.org>
45298         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45299         macro.
45301 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45303         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45304         unsigned char.
45306 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45308         * manual/threads.texi (POSIX Threads): Fix a typo.
45310 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45312         [BZ #14547]
45313         * string/tst-strcoll-overflow.c: New test case.
45314         * string/Makefile (xtests): Add tst-strcoll-overflow.
45315         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45316         cache if string sizes may cause integer overflow.
45318         [BZ #14547]
45319         * string/strcoll_l.c (coll_seq): New members rule, idx,
45320         save_idx and back_us.
45321         (get_next_seq_nocache): New function.
45322         (do_compare_nocache): New function.
45323         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45324         when malloc fails.
45326 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45328         [BZ #15754]
45329         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45330         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45331         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45333         [BZ #15754]
45334         * elf/Makefile (tests): Add tst-ptrguard1.
45335         (tests-static): Add tst-ptrguard1-static.
45336         (tst-ptrguard1-ARGS): Define.
45337         (tst-ptrguard1-static-ARGS): Define.
45338         * elf/tst-ptrguard1.c: New file.
45339         * elf/tst-ptrguard1-static.c: New file.
45340         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45341         * sysdeps/i386/stackguard-macros.h: Likewise.
45342         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45343         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45344         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45345         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45346         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45347         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45349 2013-09-23  Hector Marco  <hecmargi@upv.es>
45350             Ismael Ripoll  <iripoll@disca.upv.es>
45351             Carlos O'Donell  <carlos@redhat.com>
45353         [BZ #15754]
45354         * sysdeps/generic/stackguard-macros.h: Define
45355         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45356         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45357         Define __pointer_chk_guard_local.
45358         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45359         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45361 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45363         [BZ #15859]
45364         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45366 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45368         * include/string.h (__ffs): Declare as hidden.
45369         * string/ffs.c (__ffs): Define as hidden.
45370         * sysdeps/i386/ffs.c (__ffs): Likewise.
45371         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45372         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45373         * sysdeps/s390/ffs.c (__ffs): Likewise.
45374         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45376 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45378         * NEWS: Mention malloc probes.
45380         * malloc/arena.c (new_heap): New memory_heap_new probe.
45381         (grow_heap): New memory_heap_more probe.
45382         (shrink_heap): New memory_heap_less probe.
45383         (heap_trim): New memory_heap_free probe.
45384         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45385         (systrim): New memory_sbrk_less probe.
45386         * manual/probes.texi: Document them.
45388         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45389         * manual/probes.texi: Document it.
45391         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45392         (__libc_realloc): Add memory_realloc_retry probe.
45393         (__libc_memalign): Add memory_memalign_retry probe.
45394         (__libc_valloc): Add memory_valloc_retry probe.
45395         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45396         (__libc_calloc): Add memory_calloc_retry probe.
45397         * manual/probes.texi: Document them.
45399         * malloc/arena.c (get_free_list): Add probe
45400         memory_arena_reuse_free_list.
45401         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45402         and memory_arena_reuse.
45403         (arena_get2) [!PER_THREAD]: Likewise.
45404         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45405         memory_arena_reuse_realloc.
45406         * manual/probes.texi: Document them.
45408         * malloc/malloc.c (__libc_free): Add
45409         memory_mallopt_free_dyn_thresholds probe.
45410         (__libc_mallopt): Add multiple memory_mallopt probes.
45411         * manual/probes.texi: Document them.
45413         * malloc/malloc.c: Include stap-probe.h.
45414         (__libc_mallopt): Add memory_mallopt probe.
45415         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45416         * manual/probes.texi: New.
45417         * manual/Makefile (chapters): Add probes.
45418         * manual/threads.texi: Set next node.
45420 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45422         [BZ #15963, #13985]
45423         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45424         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45425         Add `Chinese' to `nan' entry name.
45427 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45429         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45430         (POLYNOMIAL): Likewise.
45431         (TAYLOR_SINCOS): Likewise.
45432         (TAYLOR_SLOW): Likewise.
45433         (__sin): Use TAYLOR_SINCOS.
45434         (__cos): Likewise.
45435         (slow): Use TAYLOR_SLOW.
45436         (sloww): Likewise.
45437         (bsloww): Likewise.
45438         (csloww): Likewise.
45440 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45442         * stdlib/strtod_l.c: Fix buffer overrun.
45444 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45446         * benchtests/Makefile (bench): Add sincos.
45447         * benchtests/bench-sincos.c: New file.
45449         * math/libm-test.inc (cos_test_data): New test inputs.
45450         (sin_test_data): Likewise.
45452         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45453         macro.
45454         (__sin): Use it.
45455         (__cos): Likewise.
45456         (slow1): Likewise.
45457         (slow2): Likewise.
45458         (sloww1): Likewise.
45459         (sloww2): Likewise.
45460         (bsloww1): Likewise.
45461         (bsloww2): Likewise.
45462         (cslow2): Likewise.
45463         (csloww1): Likewise.
45464         (csloww2): Likewise.
45466         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45467         function.
45468         (__sin): Use it.
45469         (__cos): Likewise.
45471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45472         gotos.
45473         (__cos): Likewise.
45475 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45477         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45478         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45479         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45480         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45481         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45482         * elf/cache.c (print_entry): Handle the new cache flags.
45484 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45485             Aldy Hernandez  <aldyh@redhat.com>
45487         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45488         Change condition to [_SOFT_FLOAT].
45489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45501         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45504         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45505         declaration.
45507 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45509         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45510         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45511         (__longjmp): Use LOAD_GP to load saved GPRs.
45512         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45513         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45514         (__sigsetjmp): Use SAVE_GP to save GPRs.
45516         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45517         Do not append -msoft-float.
45518         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45520 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45522         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45524 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45526         [BZ #15966]
45527         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45528         (_FPU_GETCW): Use initial "__" on variable and field names but not
45529         on macro parameter name.
45530         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45531         parentheses around reference to macro parameter.
45533 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45535         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45536         prototype.
45537         (ctype_startup): Use uint32_t in cast and sizeof for
45538         ctype->charnames.
45540 2013-09-11  Jia Liu  <proljc@gmail.com>
45542         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45543         __daddr_t_defined.
45544         [__FreeBSD__]: Likewise.
45546 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45549         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45550         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45551         (strchr): Remove __strchr_sse42 ifunc selection.
45552         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45553         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45555 2013-09-11  Will Newton  <will.newton@linaro.org>
45557         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45558         parameter to RES. Remove hardcoded 1000 value.
45559         * benchtests/bench-skeleton.c (main): Pass RES parameter
45560         to TIMING_INIT and multiply result by 1000.
45562 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45566 2013-09-11  Andreas Schwab  <schwab@suse.de>
45568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45569         if not defined.
45570         (O_TMPFILE) [__USE_GNU]: Define.
45571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45572         Define.
45574 2013-09-11  Will Newton  <will.newton@linaro.org>
45576         [BZ #15857]
45577         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45578         does not overflow.
45580 2013-09-11  Will Newton  <will.newton@linaro.org>
45582         [BZ #15856]
45583         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45584         does not overflow.
45586 2013-09-11  Will Newton  <will.newton@linaro.org>
45588         [BZ #15855]
45589         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45590         does not overflow.
45592 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45594         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45595         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45596         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45597         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45600 2013-09-10  Allan McRae  <allan@archlinux.org>
45602         [BZ #15748]
45603         * manual/arith.texi (Parsing of Floats): Clarify
45604         cross-reference.
45606         [BZ #15849]
45607         * manual/install.texi (Running make install): Mention
45608         --enable-pt-chown.
45609         * INSTALL: Regenerated.
45611 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45613         * csu/init-first.c (_init): Remove the !SHARED condition around
45614         FPU control word initialization.
45615         * elf/dl-support.c (_dl_fpu_control): New variable.
45616         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45617         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45618         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45619         * math/test-fpucw-static.c: New file.
45620         * math/test-fpucw-ieee.c: New file.
45621         * math/test-fpucw-ieee-static.c: New file.
45622         * math/Makefile (tests): Add `test-fpucw-ieee' and
45623         `$(tests-static)'.
45624         (tests-static): New variable.
45625         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45626         dependency to...
45627         [($(build-shared),yes)]
45628         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45629         ... this.
45630         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45631         New dependency.
45633 2013-09-09  Allan McRae  <allan@archlinux.org>
45635         [BZ #15939]
45636         * manual/string.texi (Collation Functions): Fix typo in
45637         strcoll example.
45638         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45640         [BZ #15893]
45641         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45643         [BZ #15892]
45644         * libio/memstream.c (open_memstream): Fix memory leak.
45645         * libio/wmemstream.c (open_wmemstream): Likewise.
45647         [BZ #15895]
45648         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45650 2013-09-09  Will Newton  <will.newton@linaro.org>
45652         * malloc/Makefile: Add tst-realloc to tests.
45653         * malloc/tst-realloc.c: New file.
45655 2013-09-09  Allan McRae  <allan@archlinux.org>
45657         [BZ #15844]
45658         * COPYING: Update from GNU website to fix FSF address.
45659         * COPYING.LIB: Likewise.
45661 2013-09-06  David S. Miller  <davem@davemloft.net>
45663         * po/zh_TW.po: Update Chinese (traditional) translation from
45664         translation project.
45666 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45667             Joseph Myers  <joseph@codesourcery.com>
45669         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45670         "localeinfo.h".
45671         (obstack_chunk_alloc): New macro.
45672         (obstack_chunk_free): Likewise.
45673         (record_offset): New function.
45674         (init_locale_data): Likewise.
45675         (align_locale_data): Likewise.
45676         (add_locale_empty): Likewise.
45677         (add_locale_raw_data): Likewise.
45678         (add_locale_raw_obstack): Likewise.
45679         (add_locale_string): Likewise.
45680         (add_locale_wstring): Likewise.
45681         (add_locale_uint32): Likewise.
45682         (add_locale_uint32_array): Likewise.
45683         (add_locale_char): Likewise.
45684         (start_locale_structure): Likewise.
45685         (end_locale_structure): Likewise.
45686         (start_locale_prelude): Likewise.
45687         (end_locale_prelude): Likewise.
45688         (write_locale_data): Take locale_file structure rather than an
45689         iovec.
45690         * locale/programs/locfile.h: Include "obstack.h".
45691         (struct locale_file): Change to store locale file contents instead
45692         of header.
45693         (init_locale_data): New prototype.
45694         (align_locale_data): Likewise.
45695         (add_locale_empty): Likewise.
45696         (add_locale_raw_data): Likewise.
45697         (add_locale_raw_obstack): Likewise.
45698         (add_locale_string): Likewise.
45699         (add_locale_wstring): Likewise.
45700         (add_locale_uint32): Likewise.
45701         (add_locale_uint32_array): Likewise.
45702         (add_locale_char): Likewise.
45703         (start_locale_structure): Likewise.
45704         (end_locale_structure): Likewise.
45705         (start_locale_prelude): Likewise.
45706         (end_locale_prelude): Likewise.
45707         (write_locale_data): Update prototype.
45708         * locale/programs/3level.h (struct TABLE): Remove result field.
45709         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45710         Use new locale_file interface.
45711         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45712         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45713         * locale/programs/ld-address.c (address_output): Use new
45714         locale_file interface.
45715         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45716         NO_ADD_LOCALE.
45717         (collate_finish): Don't call collseq_table_finalize.
45718         (collate_output): Use new locale_file interface.
45719         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45720         in file.
45721         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45722         (TABLE): Move defines earlier in file.
45723         (ELEMENT): Likewise.
45724         (DEFAULT): Likewise.
45725         (wctrans_table_add): Move macro and inline function earlier in
45726         file.
45727         (struct wctype_table): Move type earlier in file.
45728         (add_locale_wctype_table): New static prototype.
45729         (struct locale_ctype_t): Use logical types instead of struct iovec
45730         pointers for members.
45731         (ctype_output): Use new locale_file interface.
45732         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45733         new locale_file interface.
45734         (allocate_arrays): Update for use of new locale_file interface.
45735         * locale/programs/ld-identification.c (identification_output): Use
45736         new locale_file interface.
45737         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45738         * locale/programs/ld-messages.c (messages_output): Likewise.
45739         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45740         * locale/programs/ld-name.c (name_output): Likewise.
45741         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45742         * locale/programs/ld-paper.c (paper_output): Likewise.
45743         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45744         * locale/programs/ld-time.c (time_output): Likewise.
45746 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45748         * benchtests/Makefile: Add memrchr benchmark.
45749         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45750         benchmark as memrchr.
45751         * benchtests/bench-memrchr-ifunc.c: New file.
45752         * benchtests/bench-memrchr.c: New file.
45754 2013-09-06   Will Newton  <will.newton@linaro.org>
45756         * benchtests/Makefile (string-bench): Add memcpy.
45758 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45759             Cong Wang  <amwang@redhat.com>
45761         [BZ #15850]
45762         * sysdeps/unix/sysv/linux/bits/in.h
45763         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45764         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45765         before __USE_KERNEL_IPV6_DEFS uses.
45766         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45767         IPPROTO_BEETPH.
45768         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45769         sockaddr_in6, or ipv6_mreq.
45771 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45773         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45774         memory access for final bytes in some large inputs.
45775         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45777 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45779         * string/test-memrchr.c: New file.
45780         * string/test-memrchr-ifunc.c: New file.
45781         * string/Makefile: Add new memrchr testcase.
45783 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45785         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45786         fanotify_init returns EPERM.
45788 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45790         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45791         errors.
45792         (top level): Treat second token from macro or constant entries for
45793         allowed headers as allowed.
45794         * include/complex.h: Condition internal declarations on
45795         [!_ISOMAC].
45796         * include/fenv.h: Condition include of <stdbool.h> and internal
45797         declarations on [!_ISOMAC].
45799 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45801         [BZ #15923]
45802         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45804 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45806         * configure.in (--enable-versioning): Remove configure option.
45807         (libc_cv_asm_symver_directive): Remove configure test.
45808         (libc_cv_ld_version_script_option): Likewise.
45809         (VERSIONING): Remove variable and AC_SUBST.
45810         (DO_VERSIONING): Remove AC_DEFINE.
45811         * configure: Regenerated.
45812         * config.h.in (DO_VERSIONING): Remove macro.
45813         * Makerules [$(versioning) = yes]: Change conditionals to
45814         [$(build-shared) = yes].
45815         * config.make.in (versioning): Remove variable.
45816         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45817         [$(build-shared) = yes].
45818         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45819         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45820         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45821         [$(build-shared) = yes].
45822         * extra-lib.mk [$(versioning) = yes]: Likewise.
45823         * hurd/Makefile [$(versioning) = yes]: Likewise.
45824         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45825         [SHARED].
45826         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45827         [SHARED].
45828         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45829         [SHARED && !NO_HIDDEN].
45830         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45831         [SHARED].
45832         [SHARED && DO_VERSIONING]: Likewise..
45833         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45834         [$(build-shared) = yes].
45835         * manual/install.texi (--disable-versioning): Remove
45836         documentation.
45837         * INSTALL: Regenerated.
45838         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45839         to [SHARED].
45840         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45841         [$(build-shared) = yes].
45842         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45843         * sysdeps/i386/i686/multiarch/strstr-c.c
45844         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45845         [SHARED && !NO_HIDDEN].
45846         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45847         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45848         * sysdeps/powerpc/powerpc32/dl-machine.c
45849         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45850         * sysdeps/powerpc/powerpc32/sysdep.h
45851         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45852         to [SHARED && PIC && !NO_HIDDEN].
45853         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45854         conditional to [SHARED].
45856 2013-09-04   Will Newton  <will.newton@linaro.org>
45858         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45859         * benchtests/bench-string.h: Include bench-timing.h instead
45860         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45861         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45862         call to HP_TIMING_DIFF_INIT.
45863         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45864         instead of hp-timing.h macros.
45865         * benchtests/bench-memchr.c: Likewise.
45866         * benchtests/bench-memcmp.c: Likewise.
45867         * benchtests/bench-memcpy.c: Likewise.
45868         * benchtests/bench-memmem.c: Likewise.
45869         * benchtests/bench-memmove.c: Likewise.
45870         * benchtests/bench-memset.c: Likewise.
45871         * benchtests/bench-rawmemchr.c: Likewise.
45872         * benchtests/bench-strcasecmp.c: Likewise.
45873         * benchtests/bench-strcasestr.c: Likewise.
45874         * benchtests/bench-strcat.c: Likewise.
45875         * benchtests/bench-strchr.c: Likewise.
45876         * benchtests/bench-strcmp.c: Likewise.
45877         * benchtests/bench-strcpy.c: Likewise.
45878         * benchtests/bench-strcpy_chk.c: Likewise.
45879         * benchtests/bench-strlen.c: Likewise.
45880         * benchtests/bench-strncasecmp.c: Likewise.
45881         * benchtests/bench-strncat.c: Likewise.
45882         * benchtests/bench-strncmp.c: Likewise.
45883         * benchtests/bench-strncpy.c: Likewise.
45884         * benchtests/bench-strnlen.c: Likewise.
45885         * benchtests/bench-strpbrk.c: Likewise.
45886         * benchtests/bench-strrchr.c: Likewise.
45887         * benchtests/bench-strspn.c: Likewise.
45888         * benchtests/bench-strstr.c: Likewise.
45890 2013-09-04  Will Newton  <will.newton@linaro.org>
45892         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45894 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45896         [BZ #15427]
45897         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45898         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45899         * math/libm-test.inc (lgamma_test_data): Add more tests.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update.
45901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45903 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45905         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45907         Add ifunc.
45908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45909         Add strcmp-sse2-unaligned
45910         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45912 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45914         * Versions.def (libc): Add GLIBC_2.19.
45916 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45918         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45919         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45921 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45923         [BZ #14155]
45924         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45925         intermediate calculations in recurrence.
45926         (__ieee754_ynf): Likewise.
45927         * math/libm-test.inc (jn_test_data): Do not allow spurious
45928         underflow exception.  Add more tests.
45929         (yn_test_data): Add more tests.
45930         * sysdeps/i386/fpu/libm-test-ulps: Update.
45931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45933 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45935         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45937 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45939         * csu/init-first.c: Fix then/than typos.
45940         * locale/programs/ld-collate.c: Likewise.
45941         * locale/programs/linereader.h: Likewise.
45942         * manual/charset.texi: Likewise.
45943         * manual/filesys.texi: Likewise.
45944         * manual/stdio.texi: Likewise.
45945         * manual/string.texi: Likewise.
45946         * stdlib/fmtmsg.c: Likewise.
45947         * sysdeps/i386/stpncpy.S: Likewise.
45948         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45949         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45951         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45953 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45955         * elf/dl-open.c: Fix typos.
45956         * iconvdata/gbbig5.c: Likewise.
45957         * iconvdata/iso-2022-jp.c: Likewise.
45958         * iconv/gconv_int.h: Likewise.
45959         * iconv/loop.c: Likewise.
45960         * nis/rpcsvc/nis.h: Likewise.
45961         * resolv/ns_name.c: Likewise.
45962         * stdio-common/vfscanf.c: Likewise.
45963         * streams/stropts.h: Likewise.
45964         * sunrpc/rpc_thread.c: Likewise.
45965         * sysdeps/i386/strpbrk.S: Likewise.
45966         * sysdeps/ieee754/k_standard.c: Likewise.
45967         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45969         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45970         * sysdeps/mach/hurd/profil.c: Likewise.
45971         * sysdeps/s390/dl-procinfo.h: Likewise.
45972         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45973         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45974         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45975         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45978 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45980         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45983 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45985         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45986         aix specific files.
45987         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45988         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45989         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45990         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45991         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45992         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45993         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45994         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45996 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45997             Roland McGrath  <roland@hack.frob.com>
45999         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46000         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46002 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46004         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46005         __executable_start symbol instead of _start.
46007 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46009         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46010         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46011         Move macros to...
46012         * sysdeps/gnu/ldsodefs.h: ... this new file.
46014         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46015         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46016         instead of ELFOSABI_LINUX.
46018         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46019         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46020         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46021         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46022         Likewise.
46023         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46024         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46025         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46026         Likewise.
46027         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46028         (ibm_extended_long_double): Add ieee_nan member.
46029         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46030         (do_test): New function.
46032         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46033         TEST_TRUNC.
46034         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46035         functions, renamed from truncdfsf_test, trunctfsf_test,
46036         trunctfdf_test.
46037         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46038         functions.
46039         (do_test): Run all these.
46041 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46043         * argp/argp-help.c: Fix typos.
46044         * argp/argp-parse.c: Likewise.
46045         * debug/backtracesyms.c: Likewise.
46046         * elf/elf.h: Likewise.
46047         * malloc/malloc.c: Likewise.
46048         * nis/nis_print.c: Likewise.
46049         * resolv/res_comp.c: Likewise.
46050         * stdlib/stdlib.h: Likewise.
46051         * sunrpc/clnt_tcp.c: Likewise.
46052         * sunrpc/clnt_udp.c: Likewise.
46053         * sunrpc/clnt_unix.c: Likewise.
46054         * sysdeps/unix/bsd/ptsname.c: Likewise.
46055         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46056         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46058         Likewise.
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46060         Likewise.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46062         Likewise.
46063         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46065 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46067         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46070 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46072         [BZ #15897]
46073         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46074         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46075         ($(objpfx)bug-dl-leaf): New rule.
46076         ($(objpfx)bug-dl-leaf.so): Likewise.
46077         ($(objpfx)bug-dl-leaf.out): Likewise.
46078         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46079         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46080         * dlfcn/bug-dl-leaf.c: New test.
46081         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46082         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46083         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46084         (dlclose): Likewise.
46085         (dlmopen): Likewise.
46087 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46089         * include/netdb.h [!_ISOMAC]:
46090         Don't include <tls.h>.
46091         (h_errno, __libc_h_errno): Move declaration and macros out of
46092         [_LIBC_REENTRANT].
46094         * include/resolv.h [_RESOLV_H_]:
46095         Don't include <tls.h>.
46096         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46097         * resolv/res_libc.c: Don't include <tls.h>.
46098         (_res): Use __attribute__ ((nocommon)) in place of
46099         __attribute__ ((section (".bss"))).
46101         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46102         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46104         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46106         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46107         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46109         * resolv/res_mkquery.c: Include <sys/time.h>.
46111         * inet/ifreq.c: Moved to ...
46112         * sysdeps/unix/ifreq.c: ... here.
46113         * inet/ifreq.c: New file, true stub version.
46115         * socket/sa_len.c: New file.
46116         * socket/Makefile (aux): Add it.
46117         * sysdeps/unix/sysv/linux/Makefile
46118         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46119         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46120         and #include <socket/sa_len.c>.
46121         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46122         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46124         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46125         * bits/socket.h: ... here.
46127         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46128         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46129         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46131 2013-08-27  Andreas Schwab  <schwab@suse.de>
46133         [BZ #15736]
46134         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46135         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46136         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46137         * string/test-strcasecmp.c (test_main): Run tests in several
46138         locales.
46139         * string/test-strncasecmp.c (test_main): Likewise.
46141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46142         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46143         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46145         (__strncasecmp_ssse3) [PIC]: Likewise.
46147 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46149         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46151         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46152         instead of explicitly declaring xdecrypt.
46153         * nis/nss_nis/nis-publickey.c: Likewise.
46155 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46157         [BZ #15890]
46158         * nscd/aicache.c: Include res_hconf.h.
46159         (addhstaiX): Initialize res_hconf.
46161 2013-08-26  Andreas Schwab  <schwab@suse.de>
46163         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46164         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46166 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46168         * nscd/aicache.c (addhstaiX): Fix indentation.
46170 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46172         * configure.ac: Quote $build_pt_chown test.
46173         * configure: Regenerated.
46175 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46177         [BZ #15532]
46178         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46179         * math/s_cexpf.c (__cexpf): Likewise.
46180         * math/s_cexpl.c (__cexpl): Likewise.
46181         * math/libm-test.inc (cexp_test_data): Correct expected return
46182         value for NaN + i0.  Add another test.
46184 2013-08-22  David S. Miller  <davem@davemloft.net>
46186         * po/ca.po: Update Catalan translation from translation project.
46187         * po/uk.po: Add Ukrainian translations from translation project.
46189 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46191         [BZ #15797]
46192         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46193         is infinite, not alongside NaN test.
46194         * math/s_fdimf.c (__fdimf): Likewise.
46195         * math/s_fdiml.c (__fdiml): Likewise.
46196         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46197         errno is unchanged.
46199 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46201         * argp/argp-help.c: Fix typos.
46202         * crypt/speeds.c: Likewise.
46203         * csu/check_fds.c: Likewise.
46204         * elf/dl-load.c: Likewise.
46205         * elf/dl-open.c: Likewise.
46206         * elf/reldep3.c: Likewise.
46207         * elf/reldep.c: Likewise.
46208         * elf/sprof.c: Likewise.
46209         * iconv/iconv_charmap.c: Likewise.
46210         * iconv/skeleton.c: Likewise.
46211         * iconv/strtab.c: Likewise.
46212         * io/lockf64.c: Likewise.
46213         * libio/libioP.h: Likewise.
46214         * resolv/gai_notify.c: Likewise.
46215         * resolv/ns_name.c: Likewise.
46216         * resolv/ns_samedomain.c: Likewise.
46217         * resolv/res_send.c: Likewise.
46218         * stdlib/random.c: Likewise.
46219         * sunrpc/rpc/xdr.h: Likewise.
46220         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46221         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46222         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46223         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46225         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46228         * sysdeps/mach/hurd/check_fds.c: Likewise.
46229         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46230         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46232         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46233         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46234         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46235         * sysdeps/pthread/aio_notify.c: Likewise.
46236         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46237         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46238         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46239         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46240         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46242 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46244         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46245         version if bit_Slow_SSE4_2 is set.
46246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46247         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46249 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46251         [BZ #15867]
46252         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46253         trampoline stack frame information.
46254         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46255         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46256         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46257         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46258         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46259         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46260         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46261         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46262         sa_flags value.
46263         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46264         interrupting a syscall and set with option SA_SIGINFO.
46266 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46268         [BZ #15531]
46269         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46270         argument is infinite.
46271         * math/s_cprojf.c (__cprojf): Likewise.
46272         * math/s_cprojl.c (__cprojl): Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46274         * math/libm-test.inc (cproj_test_data): Add more tests.
46276         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46279         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46280         size.  Use __ffs to determine corresponding shift.
46282 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46283             Roland McGrath  <roland@hack.frob.com>
46285         * Makefile (INSTALL): Remove trailing blank lines from output of
46286         makeinfo.
46288 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46290         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46291         Align 32 bit compat elf_greg to 8 bytes.
46293 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46295         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46297 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46299         * string/strcoll_l.c (coll_seq): New structure.
46300         (get_next_seq_cached): New function.
46301         (get_next_seq): New function.
46302         (do_compare): New function.
46303         (STRCOLL): Use GNU style definition.  Simplify implementation
46304         by using get_next_seq, get_next_seq_cached and do_compare.
46306 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46308         [BZ #14699]
46309         CVE-2013-4237
46310         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46311         member.
46312         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46313         member.
46314         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46315         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46316         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46317         conditional.
46318         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46319         GETDENTS_64BIT_ALIGNED.
46320         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46321         * manual/filesys.texi (Reading/Closing Directory): Document
46322         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46323         strongly.
46324         * manual/conf.texi (Limits for Files): Add portability note to
46325         NAME_MAX, PATH_MAX.
46326         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46328 2013-08-13  Andreas Schwab  <schwab@suse.de>
46330         [BZ #15749]
46331         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46332         of fabs.
46333         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46334         LDBL_MAX_EXP >= 16384]: Add tests for it.
46336 2013-08-12  David S. Miller  <davem@davemloft.net>
46338         * version.h (RELEASE): Set to "development".
46339         (VERSION): Set to "2.18.90".
46340         * NEWS: Add 2.19 section.
46342 2013-08-03  David S. Miller  <davem@davemloft.net>
46344         * po/ko.po: Update Korean translation from translation project.
46346 2013-08-01  David S. Miller  <davem@davemloft.net>
46348         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46349         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46350         Bilka.
46352 2013-07-30  David S. Miller  <davem@davemloft.net>
46354         * po/fr.po: Update French translation from translation project.
46356 2013-07-28  David S. Miller  <davem@davemloft.net>
46358         * po/cs.po: Update Czech translation from translation project.
46360         * po/sv.po: Update Swedish translation from translation project.
46362 2013-07-27  David S. Miller  <davem@davemloft.net>
46364         * po/eo.po: Update Esperanto translation from translation project.
46366         * po/vi.po: Update Vietnamese translation from translation project.
46368         * po/de.po: Update German translation from translation project.
46370 2013-07-26  David S. Miller  <davem@davemloft.net>
46372         * po/bg.po: Update Bulgarian translation from translation project.
46374         * po/nl.po: Update Dutch translation from translation project.
46375         * po/pl.po: Update Polish translation from translation project.
46376         * po/ru.po: Update Russian translation from translation project.
46378 2013-07-24  David S. Miller  <davem@davemloft.net>
46380         * po/libc.pot: Update.
46382 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46384         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46385         variable page size.
46386         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46387         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46388         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46390 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46392         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46394 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46395             Andreas Schwab  <schwab@suse.de>
46396             Roland McGrath  <roland@hack.frob.com>
46397             Joseph Myers  <joseph@codesourcery.com>
46398             Carlos O'Donell  <carlos@redhat.com>
46400         [BZ #15755]
46401         * config.h.in: Define HAVE_PT_CHOWN.
46402         * config.make.in (build-pt-chown): New variable.
46403         * configure.in (--enable-pt_chown): New configure option.
46404         * configure: Regenerate.
46405         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46406         build-pt-chown is enabled.
46407         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46408         pt_chown to fix pty ownership.
46409         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46410         CLOSE_ALL_FDS.
46411         * manual/install.texi (Configuring and compiling): Mention
46412         --enable-pt_chown. Add @findex for grantpt.
46413         * INSTALL: Regenerate.
46415 2013-07-20  David S. Miller  <davem@davemloft.net>
46417         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46418         difference between 32-bit and 64-bit.
46420 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46422         [BZ #15711]
46423         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46424         Avoid system header dependency with -ffreestanding.
46425         ($(objpfx)bits/syscall%d): Likewise.
46427 2013-07-13  David S. Miller  <davem@davemloft.net>
46429         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46430         underflows from atanl/atan2l due to bug 15319.
46431         (casinh_test_data): Likewise.
46433 2013-07-07  David S. Miller  <davem@davemloft.net>
46435         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46437 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46439         * sysdeps/i386/fpu/libm-test-ulps: Update.
46440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46442 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46444         * configure.in (--enable-lock-elision): Fix message text.
46445         * INSTALL: Regenerate.
46446         * configure: Regenerate.
46448 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46452 2013-07-03  Andreas Jaeger  <aj@suse.de>
46454         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46455         define.
46456         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46457         (ptrace_peeksiginfo_args): Add.
46458         (__ptrace_peeksiginfo_flags): Add.
46459         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46460         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46461         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46463 2013-07-03  Allan McRae  <allan@archlinux.org>
46465         * sysdeps/i386/fpu/libm-test-ulps: Update.
46467 2013-07-02  David S. Miller  <davem@davemloft.net>
46469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46471 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46475 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46477         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46480 2013-07-02  Andi Kleen <ak@linux.intel.com>
46482         * config.h.in (ENABLE_LOCK_ELISION): Add.
46483         * configure.in (--enable-lock-elision): Add option.
46484         * manual/install.texi: Document --enable lock elision.
46485         * configure: Regenerate
46486         * INSTALL: Regenerate.
46488 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46490         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46491         SSE4.2 strcasecmp for libc.a.
46492         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46494 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46496         [BZ #13304]
46497         * soft-fp/op-common.h (_FP_FMA): New macro.
46498         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46499         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46500         (_FP_MUL_MEAT_1_imm): ... here.
46501         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46502         (_FP_MUL_MEAT_1_wide): ... here.
46503         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46504         (_FP_MUL_MEAT_1_hard): ... here.
46505         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46506         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46507         (_FP_MUL_MEAT_2_wide): ... here.
46508         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46509         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46510         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46511         (_FP_MUL_MEAT_2_gmp): ... here.
46512         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46513         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46514         (_FP_MUL_MEAT_4_wide): ... here.
46515         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46516         (_FP_MUL_MEAT_4_gmp): ... here.
46517         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46518         (_FP_WFRACBITS_DW_S): Likewise.
46519         (_FP_WFRACXBITS_DW_S): Likewise.
46520         (_FP_HIGHBIT_DW_S): Likewise.
46521         (FP_FMA_S): Likewise.
46522         (_FP_FRAC_HIGH_DW_S): Likewise.
46523         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46524         (_FP_WFRACBITS_DW_D): Likewise.
46525         (_FP_WFRACXBITS_DW_D): Likewise.
46526         (_FP_HIGHBIT_DW_D): Likewise.
46527         (FP_FMA_D): Likewise.
46528         (_FP_FRAC_HIGH_DW_D): Likewise.
46529         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46530         (_FP_WFRACBITS_DW_E): Likewise.
46531         (_FP_WFRACXBITS_DW_E): Likewise.
46532         (_FP_HIGHBIT_DW_E): Likewise.
46533         (FP_FMA_E): Likewise.
46534         (_FP_FRAC_HIGH_DW_E): Likewise.
46535         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46536         (_FP_WFRACBITS_DW_Q): Likewise.
46537         (_FP_WFRACXBITS_DW_Q): Likewise.
46538         (_FP_HIGHBIT_DW_Q): Likewise.
46539         (FP_FMA_Q): Likewise.
46540         (_FP_FRAC_HIGH_DW_Q): Likewise.
46541         * soft-fp/fmasf4.c: New file.
46542         * soft-fp/fmadf4.c: Likewise.
46543         * soft-fp/fmatf4.c: Likewise.
46545 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46548         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46549         Silvermont.
46550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46551         macro.
46552         (index_Slow_SSE4_2): Likewise.
46553         (index_Prefer_PMINUB_for_stringop): Likewise.
46554         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46555         bit_Slow_SSE4_2 is set.
46556         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46557         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46559 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46561         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46562         rtld_global._dl_hwcap2.
46563         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46564         POWER8.
46565         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46566         POWER8 feature descriptions defined in _dl_hwcap2.
46567         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46568         string handling for POWER8 feature bits.
46569         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46570         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46571         _dl_powerpc_cap_flags.
46572         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46573         * sysdeps/powerpc/rtld-global-offsets.sym
46574         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46575         _dl_hwcap2 in the rtld_global_ro structure.
46577 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46579         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46580         hardware capabilities in support of AT_HWCAP2.
46581         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46582         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46583         GLRO(dl_hwcap2).
46584         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46585         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46586         explicitly the unknown a_type display mechanism is used.
46587         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46588         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46589         struct member.
46590         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46591         to macro prototype for AT_HWCAP2 support.
46592         * sysdeps/i386/dl-procinfo.h: Likewise.
46593         * sysdeps/s390/dl-procinfo.h: Likewise.
46594         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46595         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46596         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46597         return -1 for unknown a_type display fallback.
46598         * sysdeps/sparc/dl-procinfo.h: Likewise.
46599         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46600         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46602 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46604         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46605         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46607 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46609         [BZ #12492]
46610         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46611         mprotect making __stack_prot writable.
46613 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46614             Joseph Myers  <joseph@codesourcery.com>
46616         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46617         as being properly aligned.
46619 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46621         * dlfcn/modstatic5.c: New file.
46622         * dlfcn/tststatic5.c: New file.
46623         * dlfcn/Makefile (tests): Add tststatic5.
46624         (tests-static): Likewise.
46625         (modules-names): Add modstatic5.
46626         (tststatic5-ENV): New variable.
46627         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46629         [BZ #15022]
46630         * elf/dl-support.c (_dl_main_map): New variable.
46631         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46632         (_dl_nns, _dl_load_adds): Set to 1.
46633         (_dl_initial_searchlist): Refer to _dl_main_map.
46634         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46635         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46636         call to _dl_get_origin.
46637         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46638         around call_map.
46639         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46640         * dlfcn/modstatic3.c: New file.
46641         * dlfcn/tststatic3.c: New file.
46642         * dlfcn/tststatic4.c: New file.
46643         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46644         (tests-static): Likewise.
46645         (modules-names): Add modstatic3.
46646         (tststatic3-ENV, tststatic4-ENV): New variables.
46647         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46648         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46650 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46652         * configure.in (CC): Require GCC version 4.4 or later.
46653         * configure: Regenerated.
46654         * manual/install.texi (Tools for Compilation): Update GCC version
46655         requirement.
46656         * INSTALL: Regenerated.
46658 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46660         [BZ #15674]
46661         * string/test-memcmp.c (check2): New.
46662         (main): Call check2.
46664         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46666 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46668         [BZ #15022]
46669         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46670         over to...
46671         (dl_open_worker) [!SHARED]: ... here.
46673 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46675         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46677 2013-06-25  Richard Henderson  <rth@redhat.com>
46679         * locale/programs/locarchive.c: Include <libc-internal.h>
46681 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46683         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46684         trailing whitespace removed.
46686 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46688         [BZ #10283]
46689         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46690         * locale/programs/locarchive.c: Include libc-mmap.h.
46691         (prepare_address_space): Take two new outputs (the mmap base and len).
46692         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46693         values.
46694         (create_archive): Declare new mmap base and len values for
46695         prepare_address_space, and store the result in ah.
46696         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46697         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46698         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46699         Declare new mmap base and len values for
46700         prepare_address_space, and store the result in new_ah.
46701         (open_archive): Declare new mmap base and len values for
46702         prepare_address_space, and store the result in ah.
46703         (close_archive): If ah->mmap_base is not NULL, use that and
46704         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46705         * sysdeps/generic/libc-mmap.h: New file.
46707 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46709         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46710         (ALIGN_UP): Likewise.
46711         (PTR_ALIGN_DOWN): Likewise.
46712         (PTR_ALIGN_UP): Likewise.
46714 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46716         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46717         entry mapped to PPC_PLATFORM_POWER8.
46718         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46719         POWER8.
46720         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46721         (_dl_string_platform): Add case for exporting platform position for
46722         POWER8.
46723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46724         search path to sysdeps/powerpc/powerpc32/power8 directory.
46725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46726         search path to sysdeps/powerpc/powerpc64/power8 directory.
46727         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46728         power7 directories.
46729         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46730         power7 directories.
46732 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46734         * INSTALL: Regenerate.
46736         * nscd/connections.c (nscd_init): Fix comment.
46738 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46740         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46742         [BZ #15667]
46743         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46744         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46746 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46748         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46749         DL_DST_REQ_STATIC.
46750         (DL_DST_REQ_STATIC): Remove macro.
46752 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46754         [BZ #7006]
46755         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46756         with a shift of 0 bits.
46758 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46760         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46761         $(tststatic-ENV).
46763 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46765         [BZ #15655]
46766         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46768 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46770         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46771         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46772         accepts -fno-tree-loop-distribute-patterns.
46773         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46774         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46775         recursive call.
46776         * string/memset.c (memset): Likewise.
46777         * string/test-memmove.c (simple_memmove): Disable loop transformation
46778         to library calls.
46779         * string/test-memset.c (simple_memset): Likewise.
46780         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46781         * benchtests/bench-memset.c (simple_memset): Likewise.
46782         * configure: Regenerated.
46784 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46786         * math/test-misc.c (main): Ignore fesetround failure when failures
46787         of subsequent rounding tests would be ignored.
46789         [BZ #15654]
46790         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46791         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46792         * math/fegetenv.c (__fegetenv): Return 0.
46793         * math/fegetexcept.c (fegetexcept): Return 0.
46794         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46795         FE_TONEAREST.
46796         * math/feholdexcpt.c (feholdexcept): Return 0.
46797         * math/fesetenv.c (__fesetenv): Return 0.
46798         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46799         argument FE_TONEAREST.
46800         * math/feupdateenv.c (__feupdateenv): Return 0.
46801         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46803 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46805         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46806         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46807         ($(objpfx)rtld-%.os rules): Use them.
46809 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46811         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46812         fields.
46814 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46816         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46817         length of target pattern, then descending length of dependency pattern.
46818         * configure.in (AWK): Require gawk 3.1.2 or newer.
46819         * manual/install.texi (Tools for Compilation): Say that we do.
46820         * configure: Regenerated.
46822         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46823         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46824         * scripts/sysd-rules.awk: ... this new script.
46825         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46826         than a glob-style pattern.
46828 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46830         * math/test-misc.c (main): Do not treat incorrectly rounded
46831         conversions as failure unless ROUNDING_TESTS passes.
46833 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46835         [BZ #15631]
46836         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46837         restore exception state around main square root computation, then
46838         check for inexactness explicitly.
46840         * math/libm-test.inc (fma_test_data): Add another test.
46842 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46844         * manual/threads.texi (Non-POSIX Extensions): New document
46845         node.  Document pthread_getattr_default_np and
46846         pthread_setattr_default_np.
46848         * Versions.def (libpthread): Add GLIBC_2.18.
46849         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46851         Likewise.
46852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46853         Likewise.
46854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46855         Likewise.
46856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46857         Likewise.
46858         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46859         Likewise.
46860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46861         Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46863         Likewise.
46864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46865         Likewise.
46866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46867         Likewise.
46869 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46872         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46874 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46875             H.J. Lu  <hjl.tools@gmail.com>
46877         [BZ #15627]
46878         * sysdeps/x86_64/rtld-memset.c: Remove file.
46879         * sysdeps/x86_64/rtld-memset.S: New file.
46881 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46883         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46884         (test_in_one_mode): Take arguments for whether the rounding mode
46885         is supported for each floating-point type.
46886         (do_test): Pass new arguments to test_in_one_mode using
46887         ROUNDING_TESTS.
46889 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46891         * posix/tst-waitid.c (do_test): Distinguish different instances of
46892         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46893         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46894         before entering the kernel for waitpid.
46896 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46898         * NEWS: Fix note on clock function precision.  Text by Roland
46899         McGrath.
46901 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46903         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46904         it into place only when and if the sanity check passes.
46906 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46908         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46909         output for whether conversion result is exact.  Take argument
46910         indicating whether type is IBM long double.
46911         (round_for_all): Change need_exact field to ibm_ld.
46912         * stdlib/tst-strtod-round.c (struct exactness): New type.
46913         (struct test): Change bool ld_ok field to struct exactness exact.
46914         (TEST): Update all definitions for change to field.
46915         (tests): Regenerate array contents.
46916         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46917         field value.  Check for IBM long double here.
46918         (do_test): Update calls to test_in_one_mode.
46920 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46922         [BZ #12515]
46923         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46924         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46926 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46928         [BZ #15605]
46929         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46930         generated by the compiler on loop optimizations.
46931         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46932         general definitions.
46934 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46936         * math/bug-nextafter.c: Include <math-tests.h>.
46937         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46938         the relevant type.
46939         * math/bug-nexttoward.c: Include <math-tests.h>.
46940         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46941         the relevant type.
46942         * math/test-misc.c: Include <math-tests.h>.
46943         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46944         the relevant type.
46946 2013-06-12  Andreas Jaeger  <aj@suse.de>
46948         * po/ia.po: Update Interlingua translation from translation
46949         project.
46951 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46953         * include/fenv.h: Include stdbool.h.
46954         (struct rm_ctx): New structure.
46955         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46956         Define macro.
46957         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46958         (SET_RESTORE_ROUNDF): Likewise.
46959         (SET_RESTORE_ROUNDL): Likewise.
46960         (SET_RESTORE_ROUND_NOEX): Likewise.
46961         (SET_RESTORE_ROUND_NOEXF): Likewise.
46962         (SET_RESTORE_ROUND_NOEXL): Likewise.
46963         (SET_RESTORE_ROUND_53BIT): Likewise.
46964         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46965         (libc_feresetround_noexf_ctx): Likewise.
46966         (libc_feresetround_noexl_ctx): Likewise.
46967         (libc_feholdsetround_53bit_ctx): Likewise.
46968         (libc_feresetround_53bit_ctx): Likewise.
46969         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46970         (libc_feholdexcept_setround_sse_ctx): New function.
46971         (libc_fesetenv_sse_ctx): Likewise.
46972         (libc_feupdateenv_sse_ctx): Likewise.
46973         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46974         (libc_feholdexcept_setround_387_ctx): Likewise.
46975         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46976         (libc_feholdsetround_387_prec_ctx): Likewise.
46977         (libc_feholdsetround_387_ctx): Likewise.
46978         (libc_feholdsetround_387_53bit_ctx): Likewise.
46979         (libc_feholdsetround_sse_ctx): Likewise.
46980         (libc_feresetround_sse_ctx): Likewise.
46981         (libc_feresetround_387_ctx): Likewise.
46982         (libc_feupdateenv_387_ctx): Likewise.
46983         (libc_feholdexcept_setroundf_ctx): Define macro.
46984         (libc_fesetenvf_ctx): Likewise.
46985         (libc_feupdateenvf_ctx): Likewise.
46986         (libc_feholdsetroundf_ctx): Likewise.
46987         (libc_feresetroundf_ctx): Likewise.
46988         (libc_feholdexcept_setround_ctx): Likewise.
46989         (libc_fesetenv_ctx): Likewise.
46990         (libc_feupdateenv_ctx): Likewise.
46991         (libc_feholdsetround_ctx): Likewise.
46992         (libc_feresetround_ctx): Likewise.
46993         (libc_feholdexcept_setroundl_ctx): Likewise.
46994         (libc_feupdateenvl_ctx): Likewise.
46995         (libc_feholdsetroundl_ctx): Likewise.
46996         (libc_feresetroundl_ctx): Likewise.
46997         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46998         (libc_feresetround_53bit_ctx): Likewise.
47000 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47002         * locale/iso-639.def: Convert to UTF-8.
47004 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47006         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47007         (EXCEPTION_TESTS_double): Likewise.
47008         (EXCEPTION_TESTS_long_double): Likewise.
47009         (EXCEPTION_TESTS): Likewise.
47010         * math/libm-test.inc (test_exceptions): Only test exceptions if
47011         EXCEPTION_TESTS (FLOAT).
47013 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47015         * benchtests/Makefile (string-bench): Add strcpy_chk and
47016         stpcpy_chk.
47017         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47018         * benchtests/bench-stpcpy_chk.c: New file.
47019         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47020         * benchtests/bench-strcpy_chk.c: New file.
47021         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47022         code.
47023         (do_test): Likewise.
47025 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47027         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47028         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47029         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47030         with tabs where appropriate.
47031         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47032         dl-procinfo.h.
47033         [PPC_PLATFORM_PPC440]: Likewise.
47034         [PPC_PLATFORM_PPC464]: Likewise.
47035         [PPC_PLATFORM_PPC476]: Likewise.
47036         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47037         ppc464, and ppc476 platform strings merging from ports/
47038         dl-procinfo.h.
47040 2013-06-11  Andreas Schwab  <schwab@suse.de>
47042         [BZ #14991]
47043         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47044         (from_ucs4_idx): Regenerate.
47045         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47046         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47047         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47048         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47049         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47050         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47051         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47052         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47053         from FROM_LOOP and TO_LOOP specific macros.
47054         (BODY): Handle combining characters.
47055         * iconvdata/BIG5HKSCS.irreversible: Update.
47056         * iconvdata/BIG5HKSCS.precomposed: New file.
47057         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47058         characters.
47059         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47061 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47063         * include/sys/time.h: Fix indentation and add copyright header.
47065         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47066         (do_test): Likewise.
47067         * string/test-memchr.c (do_one_test): Likewise.
47068         (do_test): Likewise.
47069         * string/test-memcmp.c (do_one_test): Likewise.
47070         (do_test): Likewise.
47071         * string/test-memcpy.c (do_one_test): Likewise.
47072         (do_test): Likewise.
47073         * string/test-memmem.c (do_one_test): Likewise.
47074         (do_test): Likewise.
47075         (do_random_tests): Likewise.
47076         * string/test-memmove.c (do_one_test): Likewise.
47077         (do_test): Likewise.
47078         * string/test-memset.c (do_one_test): Likewise.
47079         (do_test): Likewise.
47080         * string/test-rawmemchr.c (do_one_test): Likewise.
47081         (do_test): Likewise.
47082         * string/test-strcasecmp.c (do_one_test): Likewise.
47083         (do_test): Likewise.
47084         * string/test-strcasestr.c (do_one_test): Likewise.
47085         (do_test): Likewise.
47086         * string/test-strcat.c (do_one_test): Likewise.
47087         (do_test): Likewise.
47088         * string/test-strchr.c (do_one_test): Likewise.
47089         (do_test): Likewise.
47090         * string/test-strcmp.c (do_one_test): Likewise.
47091         (do_test): Likewise.
47092         * string/test-strcpy.c (do_one_test): Likewise.
47093         (do_test): Likewise.
47094         * string/test-string.h: Likewise.
47095         (test_init): Likewise.
47096         * string/test-strlen.c (do_one_test): Likewise.
47097         (do_test): Likewise.
47098         * string/test-strncasecmp.c (do_one_test): Likewise.
47099         (do_test): Likewise.
47100         * string/test-strncat.c (do_one_test): Likewise.
47101         (do_test): Likewise.
47102         * string/test-strncmp.c (do_one_test): Likewise.
47103         (do_test_limit): Likewise.
47104         (do_test): Likewise.
47105         * string/test-strncpy.c (do_one_test): Likewise.
47106         (do_test): Likewise.
47107         * string/test-strnlen.c (do_one_test): Likewise.
47108         (do_test): Likewise.
47109         * string/test-strpbrk.c (do_one_test): Likewise.
47110         (do_test): Likewise.
47111         * string/test-strrchr.c (do_one_test): Likewise.
47112         (do_test): Likewise.
47113         * string/test-strspn.c (do_one_test): Likewise.
47114         (do_test): Likewise.
47115         * string/test-strstr.c (do_one_test): Likewise.
47116         (do_test): Likewise.
47118         * benchtests/Makefile (string-bench): Add string benchmarks.
47119         * benchtests/bench-bcopy-ifunc.c: New file.
47120         * benchtests/bench-bcopy.c: New file.
47121         * benchtests/bench-bzero-ifunc.c: New file.
47122         * benchtests/bench-bzero.c: New file.
47123         * benchtests/bench-memccpy-ifunc.c: New file.
47124         * benchtests/bench-memccpy.c: New file.
47125         * benchtests/bench-memchr-ifunc.c: New file.
47126         * benchtests/bench-memchr.c: New file.
47127         * benchtests/bench-memcmp-ifunc.c: New file.
47128         * benchtests/bench-memcmp.c: New file.
47129         * benchtests/bench-memmem-ifunc.c: New file.
47130         * benchtests/bench-memmem.c: New file.
47131         * benchtests/bench-memmove-ifunc.c: New file.
47132         * benchtests/bench-memmove.c: New file.
47133         * benchtests/bench-mempcpy-ifunc.c: New file.
47134         * benchtests/bench-mempcpy.c: New file.
47135         * benchtests/bench-memset-ifunc.c: New file.
47136         * benchtests/bench-memset.c: New file.
47137         * benchtests/bench-rawmemchr-ifunc.c: New file.
47138         * benchtests/bench-rawmemchr.c: New file.
47139         * benchtests/bench-stpcpy-ifunc.c: New file.
47140         * benchtests/bench-stpcpy.c: New file.
47141         * benchtests/bench-stpncpy-ifunc.c: New file.
47142         * benchtests/bench-stpncpy.c: New file.
47143         * benchtests/bench-strcasecmp-ifunc.c: New file.
47144         * benchtests/bench-strcasecmp.c: New file.
47145         * benchtests/bench-strcasestr-ifunc.c: New file.
47146         * benchtests/bench-strcasestr.c: New file.
47147         * benchtests/bench-strcat-ifunc.c: New file.
47148         * benchtests/bench-strcat.c: New file.
47149         * benchtests/bench-strchr-ifunc.c: New file.
47150         * benchtests/bench-strchr.c: New file.
47151         * benchtests/bench-strchrnul-ifunc.c: New file.
47152         * benchtests/bench-strchrnul.c: New file.
47153         * benchtests/bench-strcmp-ifunc.c: New file.
47154         * benchtests/bench-strcmp.c: New file.
47155         * benchtests/bench-strcpy-ifunc.c: New file.
47156         * benchtests/bench-strcpy.c: New file.
47157         * benchtests/bench-strcspn-ifunc.c: New file.
47158         * benchtests/bench-strcspn.c: New file.
47159         * benchtests/bench-strlen-ifunc.c: New file.
47160         * benchtests/bench-strlen.c: New file.
47161         * benchtests/bench-strncasecmp-ifunc.c: New file.
47162         * benchtests/bench-strncasecmp.c: New file.
47163         * benchtests/bench-strncat-ifunc.c: New file.
47164         * benchtests/bench-strncat.c: New file.
47165         * benchtests/bench-strncmp-ifunc.c: New file.
47166         * benchtests/bench-strncmp.c: New file.
47167         * benchtests/bench-strncpy-ifunc.c: New file.
47168         * benchtests/bench-strncpy.c: New file.
47169         * benchtests/bench-strnlen-ifunc.c: New file.
47170         * benchtests/bench-strnlen.c: New file.
47171         * benchtests/bench-strpbrk-ifunc.c: New file.
47172         * benchtests/bench-strpbrk.c: New file.
47173         * benchtests/bench-strrchr-ifunc.c: New file.
47174         * benchtests/bench-strrchr.c: New file.
47175         * benchtests/bench-strspn-ifunc.c: New file.
47176         * benchtests/bench-strspn.c: New file.
47177         * benchtests/bench-strstr-ifunc.c: New file.
47178         * benchtests/bench-strstr.c: New file.
47180         * benchtests/Makefile: Disable parallel execution of targets.
47181         (string-bench): Add memcpy.
47182         (benchset): New variable to store a list of benchmark sets.
47183         (bench-func): Renamed from bench.
47184         (bench-set): New target.
47185         (bench): Depend on bench-func and bench-set.
47186         * benchtests/README: Add section on benchmark sets.
47187         * benchtests/bench-memcpy-ifunc.c: New file.
47188         * benchtests/bench-memcpy.c: New file.
47189         * benchtests/bench-string.h: New file.
47191 2013-06-11  Andreas Schwab  <schwab@suse.de>
47193         [BZ #15577]
47194         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47195         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47196         values in the triple.
47197         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47198         terminator in the group key.
47200 2013-06-11  Andreas Jaeger  <aj@suse.de>
47202         * po/zh_TW.po: Update Chinese (traditional) translation from
47203         translation project.
47205 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47207         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47208         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47209         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47210         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47211         (clock_getcpuclockid): Likewise.
47212         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47213         Add weak_alias and libc_hidden_def.
47214         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47215         * rt/clock_gettime.c (clock_gettime): Rename to
47216         __clock_gettime.  Add weak_alias and libc_hidden_def.
47217         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47218         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47219         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47220         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47221         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47222         Likewise.
47223         * rt/clock_settime.c (clock_settime): Rename to
47224         __clock_settime.  Add weak_alias and libc_hidden_def.
47225         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47227 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47229         * mach/err_boot.sub: Remove trailing whitespace.
47230         * mach/err_ipc.sub: Likewise.
47231         * mach/err_mach.sub: Likewise.
47233         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47234         (ROUNDING_TESTS_double): Likewise.
47235         (ROUNDING_TESTS_long_double): Likewise.
47236         (ROUNDING_TESTS): Likewise.
47237         * math/libm-test.inc: Include <math-tests.h>.
47238         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47239         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47240         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47241         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47243 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47246         of assigning.
47248 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47250         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47251         otherwise empty TRANS lines.
47252         * sysdeps/gnu/errlist.c: Regenerated.
47254         * catgets/gencat.c (error_print): Use (void) in function
47255         definition.
47256         * crypt/crypt_util.c (__init_des): Likewise.
47257         * crypt/speeds.c (Stop): Likewise.
47258         (main): Likewise.
47259         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47260         * inet/ruserpass.c (token): Likewise.
47261         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47262         * intl/localealias.c (extend_alias_table): Likewise.
47263         * intl/plural-exp.c (init_germanic_plural): Likewise.
47264         * libio/fcloseall.c (__fcloseall): Likewise.
47265         * libio/genops.c (_IO_flush_all): Likewise.
47266         (_IO_flush_all_linebuffered): Likewise.
47267         (_IO_cleanup): Likewise.
47268         (_IO_iter_begin): Likewise.
47269         (_IO_iter_end): Likewise.
47270         (_IO_list_lock): Likewise.
47271         (_IO_list_unlock): Likewise.
47272         (_IO_list_resetlock): Likewise.
47273         * libio/getchar.c (getchar): Likewise.
47274         * libio/getchar_u.c (getchar_unlocked): Likewise.
47275         * libio/getwchar.c (getwchar): Likewise.
47276         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47277         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47278         * login/getpt.c (__getpt): Likewise.
47279         * login/tst-utmp.c (main): Likewise.
47280         * malloc/hooks.c (__malloc_check_init): Likewise.
47281         * malloc/malloc.c (__malloc_stats): Likewise.
47282         * malloc/mtrace.c (tr_break): Likewise.
47283         (mtrace): Likewise.
47284         (muntrace): Likewise.
47285         * misc/fstab.c (endfsent): Likewise.
47286         * misc/getclktck.c (__getclktck): Likewise.
47287         * misc/getdtsz.c (__getdtablesize): Likewise.
47288         * misc/gethostid.c (gethostid): Likewise.
47289         * misc/getpagesize.c (__getpagesize): Likewise.
47290         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47291         (__get_nprocs): Likewise.
47292         (__get_phys_pages): Likewise.
47293         (__get_avphys_pages): Likewise.
47294         * misc/getttyent.c (getttyent): Likewise.
47295         (setttyent): Likewise.
47296         (endttyent): Likewise.
47297         * misc/getusershell.c (getusershell): Likewise.
47298         (endusershell): Likewise.
47299         (setusershell): Likewise.
47300         (initshells): Likewise.
47301         * misc/hsearch.c (__hdestroy): Likewise.
47302         * misc/sync.c (sync): Likewise.
47303         * misc/syslog.c (closelog_internal): Likewise.
47304         (closelog): Likewise.
47305         * misc/ttyslot.c (ttyslot): Likewise.
47306         * misc/vhangup.c (vhangup): Likewise.
47307         * posix/fork.c (__fork): Likewise.
47308         * posix/getegid.c (__getegid): Likewise.
47309         * posix/geteuid.c (__geteuid): Likewise.
47310         * posix/getgid.c (__getgid): Likewise.
47311         * posix/getpid.c (__getpid): Likewise.
47312         * posix/getppid.c (__getppid): Likewise.
47313         * posix/getuid.c (__getuid): Likewise.
47314         * posix/pause.c (pause): Likewise.
47315         * posix/setpgrp.c (setpgrp): Likewise.
47316         * posix/setsid.c (__setsid): Likewise.
47317         * posix/test-vfork.c (noop): Likewise.
47318         * resolv/gethnamaddr.c (_endhtent): Likewise.
47319         (_gethtent): Likewise.
47320         (ht_endhostent): Likewise.
47321         (gethostent): Likewise.
47322         (dns_service): Likewise.
47323         * stdlib/drand48.c (drand48): Likewise.
47324         * stdlib/lrand48.c (lrand48): Likewise.
47325         * stdlib/mrand48.c (mrand48): Likewise.
47326         * stdlib/rand.c (rand): Likewise.
47327         * stdlib/random.c (__random): Likewise.
47328         * stdlib/setenv.c (clearenv): Likewise.
47329         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47330         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47331         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47332         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47333         (__get_nprocs): Likewise.
47334         (__get_phys_pages): Likewise.
47335         (__get_avphys_pages): Likewise.
47336         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47337         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47338         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47339         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47340         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47341         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47342         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47343         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47344         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47345         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47346         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47347         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47348         * sysdeps/posix/clock.c (clock): Likewise.
47349         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47350         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47351         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47352         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47353         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47354         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47355         (__get_nprocs_conf): Likewise.
47356         (__get_phys_pages): Likewise.
47357         (__get_avphys_pages): Likewise.
47358         * time/clock.c (clock): Likewise.
47359         * time/tzset.c (__tzname_max): Likewise.
47361 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47363         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47364         (__bswap_32): Do not use "register".
47365         * crypt/crypt.c (_ufc_doit_r): Likewise.
47366         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47367         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47368         * gmon/gmon.c (__monstartup): Likewise.
47369         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47370         * hurd/hurdmalloc.c (more_memory): Likewise.
47371         (malloc): Likewise.
47372         (free): Likewise.
47373         (realloc): Likewise.
47374         (malloc_fork_prepare): Likewise.
47375         (malloc_fork_parent): Likewise.
47376         (malloc_fork_child): Likewise.
47377         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47378         (_svcauth_des): Likewise.
47379         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47380         * inet/inet_net.c (inet_network): Likewise.
47381         * inet/inet_netof.c (inet_netof): Likewise.
47382         * inet/rcmd.c (__validuser2_sa): Likewise.
47383         * io/fts.c (fts_open): Likewise.
47384         (fts_load): Likewise.
47385         (fts_close): Likewise.
47386         (fts_read): Likewise.
47387         (fts_children): Likewise.
47388         (fts_build): Likewise.
47389         (fts_stat): Likewise.
47390         (fts_sort): Likewise.
47391         (fts_alloc): Likewise.
47392         (fts_lfree): Likewise.
47393         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47394         (_IO_file_xsgetn): Likewise.
47395         (_IO_file_xsgetn_mmap): Likewise.
47396         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47397         (_IO_cookie_write): Likewise.
47398         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47399         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47400         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47401         * malloc/obstack.c (_obstack_begin): Likewise.
47402         (_obstack_begin_1): Likewise.
47403         (_obstack_newchunk): Likewise.
47404         (_obstack_allocated_p): Likewise.
47405         (obstack_free): Likewise.
47406         (_obstack_memory_used): Likewise.
47407         * misc/getttyent.c (getttynam): Likewise.
47408         (getttyent): Likewise.
47409         (skip): Likewise.
47410         (value): Likewise.
47411         * misc/getusershell.c (initshells): Likewise.
47412         * misc/syslog.c (__vsyslog_chk): Likewise.
47413         * misc/ttyslot.c (ttyslot): Likewise.
47414         * nis/nis_hash.c (__nis_hash): Likewise.
47415         * posix/fnmatch_loop.c (FCT): Likewise.
47416         * posix/getconf.c (print_all): Likewise.
47417         (main): Likewise.
47418         * posix/getopt.c (exchange): Likewise.
47419         * posix/glob.c (globfree): Likewise.
47420         (prefix_array): Likewise.
47421         (__glob_pattern_type): Likewise.
47422         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47423         (NS_GET32): Likewise.
47424         (NS_PUT16): Likewise.
47425         (NS_PUT32): Likewise.
47426         * resolv/gethnamaddr.c (getanswer): Likewise.
47427         (gethostbyname2): Likewise.
47428         (gethostbyaddr): Likewise.
47429         (_gethtent): Likewise.
47430         (_gethtbyname2): Likewise.
47431         (_gethtbyaddr): Likewise.
47432         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47433         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47434         * resolv/res_init.c (__res_vinit): Likewise.
47435         (net_mask): Likewise.
47436         * resolv/res_mkquery.c (outchar): Likewise.
47437         (PRINT): Likewise.
47438         * stdio-common/printf_fp.c (outchar): Likewise.
47439         (PRINT): Likewise.
47440         * stdio-common/printf_fphex.c (outchar): Likewise.
47441         (PRINT): Likewise.
47442         * stdio-common/printf_size.c (outchar): Likewise.
47443         (PRINT): Likewise.
47444         * stdio-common/test_rdwr.c (main): Likewise.
47445         * stdio-common/tfformat.c (matches): Likewise.
47446         * stdio-common/vfprintf.c (outchar): Likewise.
47447         (printf_unknown): Likewise.
47448         (buffered_vfprintf): Likewise.
47449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47450         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47451         (ReadFile): Likewise.
47452         * stdlib/qsort.c (SWAP): Likewise.
47453         (_quicksort): Likewise.
47454         * stdlib/setenv.c (__add_to_environ): Likewise.
47455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47456         * stdlib/strtol_l.c (__strtol_l): Likewise.
47457         * stdlib/tst-strtod.c (main): Likewise.
47458         * stdlib/tst-strtol.c (main): Likewise.
47459         * stdlib/tst-strtoll.c (main): Likewise.
47460         * string/bits/string2.h (__strcmp_cc): Likewise.
47461         (__strcmp_cg): Likewise.
47462         (__strcspn_c1): Likewise.
47463         (__strcspn_c2): Likewise.
47464         (__strcspn_c3): Likewise.
47465         (__strspn_c1): Likewise.
47466         (__strspn_c2): Likewise.
47467         (__strspn_c3): Likewise.
47468         (__strsep_1c): Likewise.
47469         (__strsep_2c): Likewise.
47470         (__strsep_3c): Likewise.
47471         * string/memccpy.c (__memccpy): Likewise.
47472         * string/stpcpy.c (__stpcpy): Likewise.
47473         * string/strcmp.c (strcmp): Likewise.
47474         * string/strrchr.c (strrchr): Likewise.
47475         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47476         Likewise.
47477         * sysdeps/mach/hurd/getcwd.c
47478         (_hurd_canonicalize_directory_name_internal): Likewise.
47479         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47480         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47481         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47482         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47483         Likewise, in both definitions.
47484         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47485         definitions.
47486         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47487         64] (__bswap_64): Likewise.
47488         * time/test_time.c (main): Likewise.
47489         * time/tzfile.c (__tzfile_read): Likewise.
47490         (__tzfile_compute): Likewise.
47491         * time/tzset.c (__tzset_parse_tz): Likewise.
47492         (tzset_internal): Likewise.
47493         (compute_change): Likewise.
47494         * wcsmbs/wcscat.c (__wcscat): Likewise.
47495         * wcsmbs/wcschr.c (wcschr): Likewise.
47496         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47497         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47498         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47499         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47500         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47501         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47502         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47503         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47504         * wcsmbs/wmemset.c (wmemset): Likewise.
47506 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47508         * scripts/config.guess: Update to version 2013-05-16.
47509         * scripts/config.sub: Update to version 2013-04-24.
47510         * scripts/install-sh: Update to version 2011-11-20.07.
47511         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47512         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47514 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47516         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47517         * elf/sln.c: Likewise.
47518         * hurd/hurd/ioctl.h: Likewise.
47519         * hurd/hurdmalloc.c: Likewise.
47520         * hurd/xattr.c: Likewise.
47521         * include/shlib-compat.h: Likewise.
47522         * inet/ruserpass.c: Likewise.
47523         * libio/iofgets_u.c: Likewise.
47524         * libio/iofgetws_u.c: Likewise.
47525         * locale/programs/ld-identification.c: Likewise.
47526         * locale/programs/ld-time.c: Likewise.
47527         * mach/msg-destroy.c: Likewise.
47528         * nss/nss_files/files-netgrp.c: Likewise.
47529         * resolv/res_data.c: Likewise.
47530         * soft-fp/op-1.h: Likewise.
47531         * soft-fp/op-2.h: Likewise.
47532         * soft-fp/op-4.h: Likewise.
47533         * soft-fp/op-common.h: Likewise.
47534         * stdio-common/printf_fphex.c: Likewise.
47535         * stdlib/strtod_l.c: Likewise.
47536         * sunrpc/rpc/clnt.h: Likewise.
47537         * sysdeps/generic/framestate.c: Likewise.
47538         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47539         * sysdeps/i386/bsd-setjmp.S: Likewise.
47540         * sysdeps/i386/__longjmp.S: Likewise.
47541         * sysdeps/i386/setjmp.S: Likewise.
47542         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47543         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47545         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47546         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47547         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47549         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47550         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47551         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47552         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47553         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47554         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47555         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47556         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47557         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47558         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47559         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47560         * sysdeps/ieee754/support.c: Likewise.
47561         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47562         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47563         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47564         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47565         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47566         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47567         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47568         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47569         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47570         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47571         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47572         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47573         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47574         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47575         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47576         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47577         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47580 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47582         * posix/transbug.c: Remove executable mode.
47584 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47586         * crypt/speeds.c: Remove trailing whitespace.
47587         * dlfcn/default.c: Likewise.
47588         * elf/ifuncdep2.c: Likewise.
47589         * elf/ifuncmain1.c: Likewise.
47590         * elf/ifuncmain1vis.c: Likewise.
47591         * elf/testobj.h: Likewise.
47592         * elf/tst-stackguard1.c: Likewise.
47593         * gmon/sys/gmon.h: Likewise.
47594         * hurd/hurdmsg.c: Likewise.
47595         * hurd/new-fd.c: Likewise.
47596         * hurd/ports-get.c: Likewise.
47597         * iconvdata/ibm1008_420.c: Likewise.
47598         * inet/tst-getni1.c: Likewise.
47599         * inet/tst-getni2.c: Likewise.
47600         * libio/ioungetc.c: Likewise.
47601         * libio/wfiledoalloc.c: Likewise.
47602         * manual/libm-err-tab.pl: Likewise.
47603         * math/w_dremf.c: Likewise.
47604         * misc/ftruncate.c: Likewise.
47605         * posix/bug-glob2.c: Likewise.
47606         * posix/tst-pcre.c: Likewise.
47607         * posix/wait4.c: Likewise.
47608         * resolv/README: Likewise.
47609         * resolv/res_debug.h: Likewise.
47610         * resolv/tst-inet_ntop.c: Likewise.
47611         * setjmp/bug269-setjmp.c: Likewise.
47612         * soft-fp/extended.h: Likewise.
47613         * soft-fp/op-1.h: Likewise.
47614         * soft-fp/op-2.h: Likewise.
47615         * soft-fp/op-4.h: Likewise.
47616         * soft-fp/op-8.h: Likewise.
47617         * soft-fp/testit.c: Likewise.
47618         * stdio-common/bug16.c: Likewise.
47619         * stdlib/random.c: Likewise.
47620         * sunrpc/rpcsvc/rquota.x: Likewise.
47621         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47622         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47623         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47624         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47625         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47626         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47627         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47628         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47629         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47630         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47631         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47632         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47633         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47634         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47637         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47639         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47642         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47643         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47644         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47645         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47646         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47647         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47649         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47650         * sysdeps/ieee754/s_lib_version.c: Likewise.
47651         * sysdeps/mach/hurd/check_fds.c: Likewise.
47652         * sysdeps/mach/hurd/getsockname.c: Likewise.
47653         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47654         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47655         * sysdeps/powerpc/bits/link.h: Likewise.
47656         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47657         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47658         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47659         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47660         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47661         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47662         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47663         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47664         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47665         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47666         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47667         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47668         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47669         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47670         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47671         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47672         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47674         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47675         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47676         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47677         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47678         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47679         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47680         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47681         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47682         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47684         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47688         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47689         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47690         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47691         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47692         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47693         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47694         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47695         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47696         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47697         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47698         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47699         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47700         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47701         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47702         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47703         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47704         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47705         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47708         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47709         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47710         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47711         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47712         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47714         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47715         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47716         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47717         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47718         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47719         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47720         * sysdeps/powerpc/sysdep.h: Likewise.
47721         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47722         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47723         * sysdeps/sh/dl-trampoline.S: Likewise.
47724         * sysdeps/sh/memset.S: Likewise.
47725         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47726         * sysdeps/sh/strlen.S: Likewise.
47727         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47728         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47729         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47730         * sysdeps/sparc/sparc32/rem.S: Likewise.
47731         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47732         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47733         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47734         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47735         * sysdeps/sparc/sparc32/urem.S: Likewise.
47736         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47737         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47738         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47739         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47741         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47742         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47743         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47744         * sysdeps/unix/bsd/times.c: Likewise.
47745         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47746         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47750         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47751         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47752         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47753         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47754         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47755         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47756         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47757         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47758         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47760         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47761         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47762         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47763         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47764         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47765         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47766         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47767         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47768         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47769         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47770         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47771         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47772         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47773         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47774         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47775         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47776         * sysdeps/x86_64/strcspn.S: Likewise.
47778 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47780         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47781         generated file.  Regenerate properly from gen-translit.pl.
47782         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47783         locale/C-translit.h.
47785 2013-06-05  Andreas Schwab  <schwab@suse.de>
47787         [BZ #15100]
47788         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47789         week as 6 instead of -1.
47790         * time/tst-strptime.c (day_tests): Add test case.
47792 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47794         * sysdeps/generic/math_private.h
47795         (libc_feholdexcept_setround_53bit): Replace with
47796         libc_feholdsetround_53bit.
47797         (libc_feupdateenv_53bit): Replace with
47798         libc_feresetround_53bit.
47799         (SET_RESTORE_ROUND_53BIT): Adjust.
47801 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47803         * string/test-strchrnul.c: Add copyright header.
47805         * posix/tst-getaddrinfo4.c: Increase test timeout.
47807 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47809         [BZ #15536]
47810         * math/libm-test.inc (MAX_EXP): Remove
47811         (MIN_EXP): Define.
47812         (ulp): Use MIN_EXP - MANT_DIG.
47813         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47815 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47817         * po/be.po: Revert last change.
47818         * po/zh_CN.po: Likewise.
47819         * po/header.pot: Likewise.
47821 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47823         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47824         link-libc-deps to empty as target-specific variable.
47825         * Makerules (link-libc-args): New variable.
47826         (libc-for-link): Likewise.
47827         (link-libc-deps): Likewise.
47828         (lib%.so): Depend on $(link-libc-deps).  Link with
47829         $(link-libc-args).
47830         (build-module): Link with $(link-libc-args).
47831         (build-module-asneeded): Likewise.
47832         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47833         list of objects.
47834         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47835         target-specific variable.
47836         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47837         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47838         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47839         libc.
47840         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47841         libc and ld.so.
47842         ($(objpfx)libpcprofile.so): Likewise.
47843         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47844         libc_nonshared.a.
47845         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47846         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47847         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47848         $(link-libc-deps).
47849         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47850         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47851         * login/Makefile ($(objpfx)libutil.so): Likewise.
47852         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47853         * math/Makefile ($(objpfx)libm.so): Likewise.
47854         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47855         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47856         variable instead of depending directly on libc.
47857         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47858         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47859         $(link-libc-deps).
47860         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47861         libc.
47862         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47863         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47864         ($(objpfx)libanl.so): Likewise.
47865         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47866         ld.so.
47867         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47868         $(link-libc-deps).
47869         * sysdeps/i386/fpu/Makefile: Remove file.
47870         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47871         ($(objpfx)libm.so): Remove dependency on ld.so.
47873 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47875         [BZ # 15553]
47876         * nis/yp_xdr.c (XDRMAXNAME): Define.
47877         (XDRMAXRECORD): Define.
47878         (xdr_domainname): Use XDRMAXNAME.
47879         (xdr_mapname): Likewise.
47880         (xdr_peername): Likewise.
47881         (xdr_keydat): Use XDRMAXRECORD.
47882         (xdr_valdat): Likewise.
47884 2013-05-30  Jeff Law  <law@redhat.com>
47886         [BZ #14256]
47887         * manual/errno.texi (ESTALE): Update to account for more than
47888         just NFS file systems.
47889         * sysdeps/gnu/errlist.c: Regenerated.
47891 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47893         [BZ #15465]
47894         * elf/Makefile (tests): Add tst-null-argv.
47895         (modules-names):  Add tst-null-argv-lib.
47896         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47897         (tst-null-argv-ENV): Set environment for tst-null-argv.
47898         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47899         (RTLD_PROGNAME): New macro.
47900         * elf/tst-null-argv.c: New test case.
47901         * elf/tst-null-argv-lib.c: Library for test case.
47902         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47903         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47904         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47905         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47906         * elf/dl-init.c (call_init): Likewise.
47907         (_dl_init): Likewise.
47908         * elf/dl-load.c (print_search_path): Likewise.
47909         (_dl_map_object): Likewise.
47910         * elf/dl-lookup.c (do_lookup_x): Likewise.
47911         (add_dependency): Likewise.
47912         (_dl_lookup_symbol_x): Likewise.
47913         (_dl_debug_bindings): Likewise.
47914         * elf/dl-open.c (_dl_show_scope): Likewise.
47915         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47916         * elf/dl-version.c (match_symbol): Likewise.
47917         (_dl_check_map_versions): Likewise.
47918         * elf/rtld.c (dl_main): Likewise.
47919         (print_unresolved): Use RTLD_PROGNAME.
47920         (print_missing_version): Likewise.
47921         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47922         (elf_machine_rela): Likewise.
47923         * sysdeps/powerpc/powerpc32/dl-machine.c
47924         (__process_machine_rela): Likewise.
47925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47926         Likewise.
47927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47928         Likewise.
47929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47930         Likewise.
47931         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47933         Likewise.
47934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47935         Likewise.
47936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47938 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47940         * po/be.po: Add descriptive title.
47941         * po/zh_CN.po: Likewise.
47942         * po/header.pot: Likewise.
47944 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47946         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47947         error message.
47948         (enlarge_archive): Likewise.
47950 2013-05-28  Ben North  <ben@redfrontdoor.org>
47952         * manual/arith.texi (frexp): It is the magnitude of the return
47953         value which lies in [0.5, 1), not the return value itself.
47955 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47959 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47961         * stdio-common/bug26.c (main): Correct fscanf template.
47963         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47964         declare _dl_skip_args.
47966         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47967         Don't declare.
47969         * manual/platform.texi: Add missing @end deftypefun.
47971 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47973         [BZ #15529]
47974         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47975         bit of mantissa of 2^16382.
47976         * math/libm-test.inc (hypot_test_data): Add more tests.
47978         * math/libm-test.inc: Add drem and pow10 to list of tested
47979         functions.
47980         (pow10_test): New function.
47981         (drem_test): Likewise.
47982         (drem_test_tonearest): Likewise.
47983         (drem_test_towardzero): Likewise.
47984         (drem_test_downward): Likewise.
47985         (drem_test_upward): Likewise.
47986         (main): Call the new functions.
47988         * math/libm-test.inc (finite_test_data): Remove.
47989         (finite_test): Run tests from isfinite_test_data.
47990         (gamma_test_data): Remove.
47991         (gamma_test): Run tests from lgamma_test_data.
47992         * sysdeps/i386/fpu/libm-test-ulps: Update.
47993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47995 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47997         * manual/platform.texi: Add PowerPC PPR function set documentation.
47998         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47999         implementation.
48001 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48003         * math/libm-test.inc (MAX_EXP): Define.
48004         (ULPDIFF): Define.
48005         (ulp): New function.
48006         (check_float_internal): Use ULPDIFF.
48007         (cpow_test): Disable failing test.
48008         (check_ulp): Test ulp() implemetnation.
48009         (main): Call check_ulp before starting tests.
48011 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48013         * math/gen-libm-test.pl (generate_testfile): Do not handle
48014         START_DATA and END_DATA.
48015         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48016         END_DATA.
48017         (acos_tonearest_test_data): Likewise.
48018         (acos_towardzero_test_data): Likewise.
48019         (acos_downward_test_data): Likewise.
48020         (acos_upward_test_data): Likewise.
48021         (acosh_test_data): Likewise.
48022         (asin_test_data): Likewise.
48023         (asin_tonearest_test_data): Likewise.
48024         (asin_towardzero_test_data): Likewise.
48025         (asin_downward_test_data): Likewise.
48026         (asin_upward_test_data): Likewise.
48027         (asinh_test_data): Likewise.
48028         (atan_test_data): Likewise.
48029         (atanh_test_data): Likewise.
48030         (atan2_test_data): Likewise.
48031         (cabs_test_data): Likewise.
48032         (cacos_test_data): Likewise.
48033         (cacosh_test_data): Likewise.
48034         (carg_test_data): Likewise.
48035         (casin_test_data): Likewise.
48036         (casinh_test_data): Likewise.
48037         (catan_test_data): Likewise.
48038         (catanh_test_data): Likewise.
48039         (cbrt_test_data): Likewise.
48040         (ccos_test_data): Likewise.
48041         (ccosh_test_data): Likewise.
48042         (ceil_test_data): Likewise.
48043         (cexp_test_data): Likewise.
48044         (cimag_test_data): Likewise.
48045         (clog_test_data): Likewise.
48046         (clog10_test_data): Likewise.
48047         (conj_test_data): Likewise.
48048         (copysign_test_data): Likewise.
48049         (cos_test_data): Likewise.
48050         (cos_tonearest_test_data): Likewise.
48051         (cos_towardzero_test_data): Likewise.
48052         (cos_downward_test_data): Likewise.
48053         (cos_upward_test_data): Likewise.
48054         (cosh_test_data): Likewise.
48055         (cosh_tonearest_test_data): Likewise.
48056         (cosh_towardzero_test_data): Likewise.
48057         (cosh_downward_test_data): Likewise.
48058         (cosh_upward_test_data): Likewise.
48059         (cpow_test_data): Likewise.
48060         (cproj_test_data): Likewise.
48061         (creal_test_data): Likewise.
48062         (csin_test_data): Likewise.
48063         (csinh_test_data): Likewise.
48064         (csqrt_test_data): Likewise.
48065         (ctan_test_data): Likewise.
48066         (ctan_tonearest_test_data): Likewise.
48067         (ctan_towardzero_test_data): Likewise.
48068         (ctan_downward_test_data): Likewise.
48069         (ctan_upward_test_data): Likewise.
48070         (ctanh_test_data): Likewise.
48071         (ctanh_tonearest_test_data): Likewise.
48072         (ctanh_towardzero_test_data): Likewise.
48073         (ctanh_downward_test_data): Likewise.
48074         (ctanh_upward_test_data): Likewise.
48075         (erf_test_data): Likewise.
48076         (erfc_test_data): Likewise.
48077         (exp_test_data): Likewise.
48078         (exp_tonearest_test_data): Likewise.
48079         (exp_towardzero_test_data): Likewise.
48080         (exp_downward_test_data): Likewise.
48081         (exp_upward_test_data): Likewise.
48082         (exp10_test_data): Likewise.
48083         (exp2_test_data): Likewise.
48084         (expm1_test_data): Likewise.
48085         (fabs_test_data): Likewise.
48086         (fdim_test_data): Likewise.
48087         (finite_test_data): Likewise.
48088         (floor_test_data): Likewise.
48089         (fma_test_data): Likewise.
48090         (fma_towardzero_test_data): Likewise.
48091         (fma_downward_test_data): Likewise.
48092         (fma_upward_test_data): Likewise.
48093         (fmax_test_data): Likewise.
48094         (fmin_test_data): Likewise.
48095         (fmod_test_data): Likewise.
48096         (fpclassify_test_data): Likewise.
48097         (frexp_test_data): Likewise.
48098         (gamma_test_data): Likewise.
48099         (hypot_test_data): Likewise.
48100         (ilogb_test_data): Likewise.
48101         (isfinite_test_data): Likewise.
48102         (isgreater_test_data): Likewise.
48103         (isgreaterequal_test_data): Likewise.
48104         (isinf_test_data): Likewise.
48105         (isless_test_data): Likewise.
48106         (islessequal_test_data): Likewise.
48107         (islessgreater_test_data): Likewise.
48108         (isnan_test_data): Likewise.
48109         (isnormal_test_data): Likewise.
48110         (issignaling_test_data): Likewise.
48111         (isunordered_test_data): Likewise.
48112         (j0_test_data): Likewise.
48113         (j1_test_data): Likewise.
48114         (jn_test_data): Likewise.
48115         (ldexp_test_data): Likewise.
48116         (lgamma_test_data): Likewise.
48117         (lrint_test_data): Likewise.
48118         (lrint_tonearest_test_data): Likewise.
48119         (lrint_towardzero_test_data): Likewise.
48120         (lrint_downward_test_data): Likewise.
48121         (lrint_upward_test_data): Likewise.
48122         (llrint_test_data): Likewise.
48123         (llrint_tonearest_test_data): Likewise.
48124         (llrint_towardzero_test_data): Likewise.
48125         (llrint_downward_test_data): Likewise.
48126         (llrint_upward_test_data): Likewise.
48127         (log_test_data): Likewise.
48128         (log10_test_data): Likewise.
48129         (log1p_test_data): Likewise.
48130         (log2_test_data): Likewise.
48131         (logb_test_data): Likewise.
48132         (logb_downward_test_data): Likewise.
48133         (lround_test_data): Likewise.
48134         (llround_test_data): Likewise.
48135         (modf_test_data): Likewise.
48136         (nearbyint_test_data): Likewise.
48137         (nextafter_test_data): Likewise.
48138         (nexttoward_test_data): Likewise.
48139         (pow_test_data): Likewise.
48140         (pow_tonearest_test_data): Likewise.
48141         (pow_towardzero_test_data): Likewise.
48142         (pow_downward_test_data): Likewise.
48143         (pow_upward_test_data): Likewise.
48144         (remainder_test_data): Likewise.
48145         (remainder_tonearest_test_data): Likewise.
48146         (remainder_towardzero_test_data): Likewise.
48147         (remainder_downward_test_data): Likewise.
48148         (remainder_upward_test_data): Likewise.
48149         (remquo_test_data): Likewise.
48150         (rint_test_data): Likewise.
48151         (rint_tonearest_test_data): Likewise.
48152         (rint_towardzero_test_data): Likewise.
48153         (rint_downward_test_data): Likewise.
48154         (rint_upward_test_data): Likewise.
48155         (round_test_data): Likewise.
48156         (scalb_test_data): Likewise.
48157         (scalbn_test_data): Likewise.
48158         (scalbln_test_data): Likewise.
48159         (signbit_test_data): Likewise.
48160         (sin_test_data): Likewise.
48161         (sin_tonearest_test_data): Likewise.
48162         (sin_towardzero_test_data): Likewise.
48163         (sin_downward_test_data): Likewise.
48164         (sin_upward_test_data): Likewise.
48165         (sincos_test_data): Likewise.
48166         (sinh_test_data): Likewise.
48167         (sinh_tonearest_test_data): Likewise.
48168         (sinh_towardzero_test_data): Likewise.
48169         (sinh_downward_test_data): Likewise.
48170         (sinh_upward_test_data): Likewise.
48171         (sqrt_test_data): Likewise.
48172         (tan_test_data): Likewise.
48173         (tan_tonearest_test_data): Likewise.
48174         (tan_towardzero_test_data): Likewise.
48175         (tan_downward_test_data): Likewise.
48176         (tan_upward_test_data): Likewise.
48177         (tanh_test_data): Likewise.
48178         (tgamma_test_data): Likewise.
48179         (trunc_test_data): Likewise.
48180         (y0_test_data): Likewise.
48181         (y1_test_data): Likewise.
48182         (yn_test_data): Likewise.
48183         (significand_test_data): Likewise.
48185         * math/gen-libm-test.pl (@functions): Remove variable.
48186         (generate_testfile): Don't handle START and END lines.
48187         * math/libm-test.inc (START): New macro.
48188         (END): Likewise.
48189         (END_COMPLEX): Likewise.
48190         (acos_test): Use END macro without arguments.
48191         (acos_test_tonearest): Likewise.
48192         (acos_test_towardzero): Likewise.
48193         (acos_test_downward): Likewise.
48194         (acos_test_upward): Likewise.
48195         (acosh_test): Likewise.
48196         (asin_test): Likewise.
48197         (asin_test_tonearest): Likewise.
48198         (asin_test_towardzero): Likewise.
48199         (asin_test_downward): Likewise.
48200         (asin_test_upward): Likewise.
48201         (asinh_test): Likewise.
48202         (atan_test): Likewise.
48203         (atanh_test): Likewise.
48204         (atan2_test): Likewise.
48205         (cabs_test): Likewise.
48206         (cacos_test): Use END_COMPLEX macro without arguments.
48207         (cacosh_test): Likewise.
48208         (carg_test): Use END macro without arguments.
48209         (casin_test): Use END_COMPLEX macro without arguments.
48210         (casinh_test): Likewise.
48211         (catan_test): Likewise.
48212         (catanh_test): Likewise.
48213         (cbrt_test): Use END macro without arguments.
48214         (ccos_test): Use END_COMPLEX macro without arguments.
48215         (ccosh_test): Likewise.
48216         (ceil_test): Use END macro without arguments.
48217         (cexp_test): Use END_COMPLEX macro without arguments.
48218         (cimag_test): Use END macro without arguments.
48219         (clog_test): Use END_COMPLEX macro without arguments.
48220         (clog10_test): Likewise.
48221         (conj_test): Likewise.
48222         (copysign_test): Use END macro without arguments.
48223         (cos_test): Likewise.
48224         (cos_test_tonearest): Likewise.
48225         (cos_test_towardzero): Likewise.
48226         (cos_test_downward): Likewise.
48227         (cos_test_upward): Likewise.
48228         (cosh_test): Likewise.
48229         (cosh_test_tonearest): Likewise.
48230         (cosh_test_towardzero): Likewise.
48231         (cosh_test_downward): Likewise.
48232         (cosh_test_upward): Likewise.
48233         (cpow_test): Use END_COMPLEX macro without arguments.
48234         (cproj_test): Likewise.
48235         (creal_test): Use END macro without arguments.
48236         (csin_test): Use END_COMPLEX macro without arguments.
48237         (csinh_test): Likewise.
48238         (csqrt_test): Likewise.
48239         (ctan_test): Likewise.
48240         (ctan_test_tonearest): Likewise.
48241         (ctan_test_towardzero): Likewise.
48242         (ctan_test_downward): Likewise.
48243         (ctan_test_upward): Likewise.
48244         (ctanh_test): Likewise.
48245         (ctanh_test_tonearest): Likewise.
48246         (ctanh_test_towardzero): Likewise.
48247         (ctanh_test_downward): Likewise.
48248         (ctanh_test_upward): Likewise.
48249         (erf_test): Use END macro without arguments.
48250         (erfc_test): Likewise.
48251         (exp_test): Likewise.
48252         (exp_test_tonearest): Likewise.
48253         (exp_test_towardzero): Likewise.
48254         (exp_test_downward): Likewise.
48255         (exp_test_upward): Likewise.
48256         (exp10_test): Likewise.
48257         (exp2_test): Likewise.
48258         (expm1_test): Likewise.
48259         (fabs_test): Likewise.
48260         (fdim_test): Likewise.
48261         (finite_test): Likewise.
48262         (floor_test): Likewise.
48263         (fma_test): Likewise.
48264         (fma_test_towardzero): Likewise.
48265         (fma_test_downward): Likewise.
48266         (fma_test_upward): Likewise.
48267         (fmax_test): Likewise.
48268         (fmin_test): Likewise.
48269         (fmod_test): Likewise.
48270         (fpclassify_test): Likewise.
48271         (frexp_test): Likewise.
48272         (gamma_test): Likewise.
48273         (hypot_test): Likewise.
48274         (ilogb_test): Likewise.
48275         (isfinite_test): Likewise.
48276         (isgreater_test): Likewise.
48277         (isgreaterequal_test): Likewise.
48278         (isinf_test): Likewise.
48279         (isless_test): Likewise.
48280         (islessequal_test): Likewise.
48281         (islessgreater_test): Likewise.
48282         (isnan_test): Likewise.
48283         (isnormal_test): Likewise.
48284         (issignaling_test): Likewise.
48285         (isunordered_test): Likewise.
48286         (j0_test): Likewise.
48287         (j1_test): Likewise.
48288         (jn_test): Likewise.
48289         (ldexp_test): Likewise.
48290         (lgamma_test): Likewise.
48291         (lrint_test): Likewise.
48292         (lrint_test_tonearest): Likewise.
48293         (lrint_test_towardzero): Likewise.
48294         (lrint_test_downward): Likewise.
48295         (lrint_test_upward): Likewise.
48296         (llrint_test): Likewise.
48297         (llrint_test_tonearest): Likewise.
48298         (llrint_test_towardzero): Likewise.
48299         (llrint_test_downward): Likewise.
48300         (llrint_test_upward): Likewise.
48301         (log_test): Likewise.
48302         (log10_test): Likewise.
48303         (log1p_test): Likewise.
48304         (log2_test): Likewise.
48305         (logb_test): Likewise.
48306         (logb_test_downward): Likewise.
48307         (lround_test): Likewise.
48308         (llround_test): Likewise.
48309         (modf_test): Likewise.
48310         (nearbyint_test): Likewise.
48311         (nextafter_test): Likewise.
48312         (nexttoward_test): Likewise.
48313         (pow_test): Likewise.
48314         (pow_test_tonearest): Likewise.
48315         (pow_test_towardzero): Likewise.
48316         (pow_test_downward): Likewise.
48317         (pow_test_upward): Likewise.
48318         (remainder_test): Likewise.
48319         (remainder_test_tonearest): Likewise.
48320         (remainder_test_towardzero): Likewise.
48321         (remainder_test_downward): Likewise.
48322         (remainder_test_upward): Likewise.
48323         (remquo_test): Likewise.
48324         (rint_test): Likewise.
48325         (rint_test_tonearest): Likewise.
48326         (rint_test_towardzero): Likewise.
48327         (rint_test_downward): Likewise.
48328         (rint_test_upward): Likewise.
48329         (round_test): Likewise.
48330         (scalb_test): Likewise.
48331         (scalbn_test): Likewise.
48332         (scalbln_test): Likewise.
48333         (signbit_test): Likewise.
48334         (sin_test): Likewise.
48335         (sin_test_tonearest): Likewise.
48336         (sin_test_towardzero): Likewise.
48337         (sin_test_downward): Likewise.
48338         (sin_test_upward): Likewise.
48339         (sincos_test): Likewise.
48340         (sinh_test): Likewise.
48341         (sinh_test_tonearest): Likewise.
48342         (sinh_test_towardzero): Likewise.
48343         (sinh_test_downward): Likewise.
48344         (sinh_test_upward): Likewise.
48345         (sqrt_test): Likewise.
48346         (tan_test): Likewise.
48347         (tan_test_tonearest): Likewise.
48348         (tan_test_towardzero): Likewise.
48349         (tan_test_downward): Likewise.
48350         (tan_test_upward): Likewise.
48351         (tanh_test): Likewise.
48352         (tgamma_test): Likewise.
48353         (trunc_test): Likewise.
48354         (y0_test): Likewise.
48355         (y1_test): Likewise.
48356         (yn_test): Likewise.
48357         (significand_test): Likewise.
48359 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48361         [BZ #15381]
48362         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48364 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48366         [BZ #14894]
48367         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48368         __ppc_mdoio and __ppc_mdoom.
48369         * manual/platform.texi: Document new functions __ppc_yield,
48370         __ppc_mdoio and __ppc_mdoom.
48372 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48374         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48375         (main): Mention "tls" pseudo-hwcap is legacy.
48376         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48378 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48380         * math/gen-libm-test.pl (parse_args): Output only string of
48381         arguments as text for test name, not full call or descriptions of
48382         tests for extra outputs.
48383         (generate_testfile): Do not pass function name to parse_args.
48384         Generate this_func variable from START.
48385         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48386         field to arg_str.
48387         (struct test_ff_f_data): Likewise.
48388         (test_ff_f_data_nexttoward): Likewise.
48389         (struct test_fi_f_data): Likewise.
48390         (struct test_fl_f_data): Likewise.
48391         (struct test_if_f_data): Likewise.
48392         (struct test_fff_f_data): Likewise.
48393         (struct test_c_f_data): Likewise.
48394         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48395         (struct test_fF_f1_data): Likewise.
48396         (struct test_ffI_f1_data): Likewise.
48397         (struct test_c_c_data): Rename test_name field to arg_str.
48398         (struct test_cc_c_data): Likewise.
48399         (struct test_f_i_data): Likewise.
48400         (struct test_ff_i_data): Likewise.
48401         (struct test_f_l_data): Likewise.
48402         (struct test_f_L_data): Likewise.
48403         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48404         and extra2_name.
48405         (COMMON_TEST_SETUP): New macro.
48406         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48407         (COMMON_TEST_CLEANUP): Likewise.
48408         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48409         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48410         macros.
48411         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48412         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48413         macros.
48414         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48415         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48416         cleanup macros.
48417         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48418         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48419         macros.
48420         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48421         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48422         macros.
48423         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48424         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48425         cleanup macros.
48426         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48427         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48428         cleanup macros.
48429         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48430         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48431         cleanup macros.
48432         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48433         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48434         macros.
48435         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48436         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48437         macros.
48438         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48439         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48440         macros.
48441         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48442         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48443         cleanup macros.
48444         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48445         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48446         cleanup macros.
48447         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48448         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48449         macros.
48450         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48451         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48452         cleanup macros.
48453         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48454         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48455         macros.
48456         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48457         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48458         macros.
48459         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48460         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48461         cleanup macros.
48462         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48464 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48466         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48467         to _sifields.sigfault.
48468         (si_addr_lsb): Define new macro.
48469         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48471         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48473 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48475         [BZ #15441]
48476         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48477         returns -1.
48478         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48479         null return -1.
48480         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48481         loading the domain.
48483 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48485         * math/gen-libm-test.pl (parse_args): Do not include expected
48486         result in test name.
48487         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48489         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48490         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48491         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48494 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48496         * benchtests/Makefile: Sort function entries.
48498         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48499         tanh, asinh, acosh, atanh.
48500         * benchtests/acos-inputs: New file.
48501         * benchtests/acosh-inputs: New file.
48502         * benchtests/asin-inputs: New file.
48503         * benchtests/asinh-inputs: New file.
48504         * benchtests/atanh-inputs: New file.
48505         * benchtests/cosh-inputs: New file.
48506         * benchtests/log-inputs: New file.
48507         * benchtests/sinh-inputs: New file.
48508         * benchtests/tanh-inputs: New file.
48510 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48512         [BZ #15339]
48513         * posix/tst-getaddrinfo4.c: New test.
48514         * posix/Makefile (tests): Add it.
48516 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48518         [BZ #15339]
48519         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48520         when no services were used.
48521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48522         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48524 2013-05-21  Andreas Schwab  <schwab@suse.de>
48526         [BZ #15014]
48527         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48528         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48529         successful.
48530         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48531         redundant variable declarations and reallocation of buffer when
48532         parsing as IPv6 address.  Always set NSS status when called from
48533         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48534         buffer too small.  Correct computation of needed size.
48535         * nss/Makefile (tests): Add test-digits-dots.
48536         * nss/test-digits-dots.c: New test.
48538 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48540         * benchtests/Makefile: Remove instructions for adding
48541         benchmark tests.
48542         * benchtests/README: New file to explain how to execute and
48543         enhance the benchmark tests.
48545 2013-05-21  Andreas Schwab  <schwab@suse.de>
48547         [BZ #15493]
48548         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48549         * setjmp/tst-sigsetjmp.c: New test.
48551 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48553         * sysdeps/x86_64/memset.S (memset): New implementation.
48554         (__bzero): Likewise.
48555         (__memset_tail): New function.
48557 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48559         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48560         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48561         __memcpy_sse2_unaligned ifunc selection.
48562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48563         Add memcpy-sse2-unaligned.S.
48564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48565         Add: __memcpy_sse2_unaligned.
48567 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48569         [BZ #15490]
48570         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48571         math_force_eval before restoring floating-point envrionment.
48572         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48573         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48574         Likewise.
48575         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48576         <math_private.h>.
48577         (__nearbyintl): Use math_force_eval before restoring
48578         floating-point environment.
48579         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48581         * math/gen-libm-test.pl (special_functions): Remove.
48582         (parse_args): Don't handle TEST_extra.  Handle functions with no
48583         return value.
48584         * math/libm-test.inc (struct test_sincos_data): Replace with
48585         struct test_fFF_11_data.
48586         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48587         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48588         (sincos_test_data): Change element type to struct
48589         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48590         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48591         RUN_TEST_LOOP_sincos.
48592         * math/README.libm-test: Don't mention special handling of
48593         individual functions.
48594         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48595         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48596         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48597         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48598         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48601         * math/gen-libm-test.pl (get_variable): Remove function.
48602         (parse_args): Don't show pointer parameters to call in test
48603         names.  Use "extra output N" in test names for extra outputs
48604         rather than naming variables.
48606 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48608         [BZ #15488]
48609         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48610         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48611         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48612         double tests.
48613         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48614         disable.
48615         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48616         check_long_double.
48618         * math/gen-libm-test.pl (@tests): Remove variable.
48619         ($count): Likewise.
48620         (new_test): Remove function.
48621         (show_exceptions): New function.
48622         (special_functions): Use show_exceptions instead of new_test.
48623         (parse_args): Likewise.
48624         (generate_testfile): Pass only function name in generated call to
48625         print_max_error or print_complex_max_error.
48626         (get_ulps): Do not handle complex tests specially.
48627         (output_test): Rename to ...
48628         (get_all_ulps_for_test): ... this.  Return a string rather than
48629         printing to a file.  Require ulps to be present.
48630         (output_ulps): Generate arrays rather than #defines.
48631         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48632         (struct ulp_data): New type.
48633         (BUILD_COMPLEX_ULP): Remove macro.
48634         (compare_ulp_data): New function.
48635         (find_ulps): Likewise.
48636         (find_test_ulps): Likewise.
48637         (find_function_ulps): Likewise.
48638         (find_complex_function_ulps): Likewise.
48639         (print_max_error): Determine allowed ulps using
48640         find_function_ulps.
48641         (print_complex_max_error): Determine allowed ulps using
48642         find_complex_function_ulps.
48643         (check_float_internal): Determine max ulps using find_test_ulps.
48644         (check_float): Do not take max_ulp parameter.  Update call to
48645         check_float_internal.
48646         (check_complex): Likewise.
48647         (check_int): Do not take max_ulp parameter.
48648         (check_long): Likewise.
48649         (check_bool): Likewise.
48650         (check_longlong): Likewise.
48651         (struct test_f_f_data): Remove max_ulp field.
48652         (struct test_ff_f_data): Likewise.
48653         (struct test_ff_f_data_nexttoward): Likewise.
48654         (struct test_fi_f_data): Likewise.
48655         (struct test_fl_f_data): Likewise.
48656         (struct test_if_f_data): Likewise.
48657         (struct test_fff_f_data): Likewise.
48658         (struct test_c_f_data): Likewise.
48659         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48660         (struct test_fF_f1_data): Likewise.
48661         (struct test_ffI_f1_data): Likewise.
48662         (struct test_c_c_data): Remove max_ulp field.
48663         (struct test_cc_c_data): Likewise.
48664         (struct test_f_i_data): Likewise.
48665         (struct test_ff_i_data): Likewise.
48666         (struct test_f_l_data): Likewise.
48667         (struct test_f_L_data): Likewise.
48668         (struct test_sincos_data): Likewise.
48669         (RUN_TEST_f_f): Do not handle ulps.
48670         (RUN_TEST_LOOP_f_f): Likewise.
48671         (RUN_TEST_2_f): Likewise.
48672         (RUN_TEST_LOOP_2_f): Likewise.
48673         (RUN_TEST_fff_f): Likewise.
48674         (RUN_TEST_LOOP_fff_f): Likewise.
48675         (RUN_TEST_c_f): Likewise.
48676         (RUN_TEST_LOOP_c_f): Likewise.
48677         (RUN_TEST_f_f1): Likewise.
48678         (RUN_TEST_LOOP_f_f1): Likewise.
48679         (RUN_TEST_fF_f1): Likewise.
48680         (RUN_TEST_LOOP_fF_f1): Likewise.
48681         (RUN_TEST_fI_f1): Likewise.
48682         (RUN_TEST_LOOP_fI_f1): Likewise.
48683         (RUN_TEST_ffI_f1): Likewise.
48684         (RUN_TEST_LOOP_ffI_f1): Likewise.
48685         (RUN_TEST_c_c): Likewise.
48686         (RUN_TEST_LOOP_c_c): Likewise.
48687         (RUN_TEST_cc_c): Likewise.
48688         (RUN_TEST_LOOP_cc_c): Likewise.
48689         (RUN_TEST_f_i): Likewise.
48690         (RUN_TEST_LOOP_f_i): Likewise.
48691         (RUN_TEST_f_i_tg): Likewise.
48692         (RUN_TEST_LOOP_f_i_tg): Likewise.
48693         (RUN_TEST_ff_i_tg): Likewise.
48694         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48695         (RUN_TEST_f_b): Likewise.
48696         (RUN_TEST_LOOP_f_b): Likewise.
48697         (RUN_TEST_f_b_tg): Likewise.
48698         (RUN_TEST_LOOP_f_b_tg): Likewise.
48699         (RUN_TEST_f_l): Likewise.
48700         (RUN_TEST_LOOP_f_l): Likewise.
48701         (RUN_TEST_f_L): Likewise.
48702         (RUN_TEST_LOOP_f_L): Likewise.
48703         (RUN_TEST_sincos): Likewise.
48704         (RUN_TEST_LOOP_sincos): Likewise.
48706 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48708         [BZ #15480]
48709         [BZ #15485]
48710         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48711         main case of finite arguments, set rounding mode to FE_TONEAREST
48712         and discard exceptions.
48713         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48714         exceptions.
48715         (remainder_tonearest_test_data): New variable.
48716         (remainder_test_tonearest): New function.
48717         (remainder_towardzero_test_data): New variable.
48718         (remainder_test_towardzero): New function.
48719         (remainder_downward_test_data): New variable.
48720         (remainder_test_downward): New function.
48721         (remainder_upward_test_data): New variable.
48722         (remainder_test_upward): New function.
48723         (main): Call the new test functions.
48725         * math/libm-test.inc (struct test_f_f1_data): Remove field
48726         extra_init.
48727         (struct test_fF_f1_data): Likewise.
48728         (struct test_ffI_f1_data): Likewise.
48729         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48730         based on value of EXTRA_EXPECTED.
48731         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48732         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48733         EXTRA_VAR based on value of EXTRA_EXPECTED.
48734         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48735         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48736         EXTRA_VAR based on value of EXTRA_EXPECTED.
48737         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48738         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48739         EXTRA_VAR based on value of EXTRA_EXPECTED.
48740         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48741         * math/gen-libm-test.pl (parse_args): Don't output initializers
48742         for extra output values.
48744         * math/libm-test.inc (check_int): Expect result to be exactly
48745         equal to expected value and do not handle ulps.
48746         (check_long): Likewise.
48747         (check_longlong): Likewise.
48749         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48750         exceptions.
48751         (cimag_test_data): Likewise.
48752         (conj_test_data): Likewise.
48753         (copysign_test_data): Likewise.
48754         (cproj_test_data): Likewise.
48755         (creal_test_data): Likewise.
48756         (fabs_test_data): Likewise.
48757         (fdim_test_data): Likewise.
48758         (finite_test_data): Likewise.
48759         (floor_test_data): Likewise.
48760         (fmax_test_data): Likewise.
48761         (fmin_test_data): Likewise.
48762         (fmod_test_data): Likewise.
48763         (fpclassify_test_data): Likewise.
48764         (frexp_test_data): Likewise.
48765         (ilogb_test_data): Likewise.
48766         (isfinite_test_data): Likewise.
48767         (isgreater_test_data): Likewise.
48768         (isgreaterequal_test_data): Likewise.
48769         (isinf_test_data): Likewise.
48770         (isless_test_data): Likewise.
48771         (islessequal_test_data): Likewise.
48772         (islessgreater_test_data): Likewise.
48773         (isnan_test_data): Likewise.
48774         (isnormal_test_data): Likewise.
48775         (issignaling_test_data): Likewise.
48776         (isunordered_test_data): Likewise.
48777         (ldexp_test_data): Likewise.
48778         (lrint_test_data): Likewise.
48779         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48780         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48781         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48782         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48783         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48784         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48785         test input.
48786         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48787         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48788         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48789         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48790         that test input.
48791         (lrint_downward_test_data): Test for "inexact" exceptions.
48792         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48793         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48794         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48795         test input.
48796         (lrint_upward_test_data): Test for "inexact" exceptions.
48797         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48798         test input.
48799         (llrint_test_data): Test for "inexact" exceptions.
48800         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48801         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48802         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48803         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48804         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48805         (llrint_downward_test_data): Test for "inexact" exceptions.
48806         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48807         (llrint_upward_test_data): Test for "inexact" exceptions.
48808         (logb_test_data): Likewise.
48809         (logb_downward_test_data): Likewise.
48810         (nextafter_test_data): Likewise.
48811         (nexttoward_test_data): Likewise.
48812         (remainder_test_data): Likewise.
48813         (remquo_test_data): Likewise.
48814         (scalbn_test_data): Likewise.
48815         (scalbln_test_data): Likewise.
48816         (signbit_test_data): Likewise.
48817         (sqrt_test_data): Likewise.
48818         (significand_test_data): Likewise.
48820 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48822         [BZ #15424]
48823         * benchtests/bench-modf.c (struct args): Mark arg0 as
48824         volatile.
48825         * scripts/bench.pl: Mark members of struct args as volatile.
48827 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48829         [BZ # 15497]
48830         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48831         negative infinity on POWER6 or lower.
48832         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48834 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48836         [BZ #15442]
48837         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48838         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48839         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48840         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48841         (_FP_SETQNAN): New macro.
48842         (_FP_SETQNAN_SEMIRAW): Likewise.
48843         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48844         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48845         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48846         (FP_EXTEND): Use _FP_FRAC_SNANP.
48847         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48848         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48849         into account.
48850         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48851         New macro.
48852         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48853         Likewise.
48855 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48857         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48858         with DIVIDE_BY_ZERO_EXCEPTION.
48859         (gamma_test_data): Likewise.
48860         (lgamma_test_data): Likewise.
48861         (log_test_data): Likewise.
48862         (log10_test_data): Likewise.
48863         (log2_test_data): Likewise.
48864         (tgamma_test_data): Likewise.
48866         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48867         (acos_test_tonearest): Likewise.
48868         (acos_test_towardzero): Likewise.
48869         (acos_test_downward): Likewise.
48870         (acos_test_upward): Likewise.
48871         (acosh_test): Likewise.
48872         (asin_test): Likewise.
48873         (asin_test_tonearest): Likewise.
48874         (asin_test_towardzero): Likewise.
48875         (asin_test_downward): Likewise.
48876         (asin_test_upward): Likewise.
48877         (asinh_test): Likewise.
48878         (atan_test): Likewise.
48879         (atanh_test): Likewise.
48880         (atan2_test): Likewise.
48881         (cabs_test): Likewise.
48882         (cacos_test): Likewise.
48883         (cacosh_test): Likewise.
48884         (casin_test): Likewise.
48885         (casinh_test): Likewise.
48886         (catan_test): Likewise.
48887         (catanh_test): Likewise.
48888         (cbrt_test): Likewise.
48889         (ccos_test): Likewise.
48890         (ccosh_test): Likewise.
48891         (cexp_test): Likewise.
48892         (clog_test): Likewise.
48893         (clog10_test): Likewise.
48894         (cos_test): Likewise.
48895         (cos_test_tonearest): Likewise.
48896         (cos_test_towardzero): Likewise.
48897         (cos_test_downward): Likewise.
48898         (cos_test_upward): Likewise.
48899         (cosh_test): Likewise.
48900         (cosh_test_tonearest): Likewise.
48901         (cosh_test_towardzero): Likewise.
48902         (cosh_test_downward): Likewise.
48903         (cosh_test_upward): Likewise.
48904         (cpow_test): Likewise.
48905         (csin_test): Likewise.
48906         (csinh_test): Likewise.
48907         (csqrt_test): Likewise.
48908         (ctan_test): Likewise.
48909         (ctan_test_tonearest): Likewise.
48910         (ctan_test_towardzero): Likewise.
48911         (ctan_test_downward): Likewise.
48912         (ctan_test_upward): Likewise.
48913         (ctanh_test): Likewise.
48914         (ctanh_test_tonearest): Likewise.
48915         (ctanh_test_towardzero): Likewise.
48916         (ctanh_test_downward): Likewise.
48917         (ctanh_test_upward): Likewise.
48918         (erf_test): Likewise.
48919         (erfc_test): Likewise.
48920         (exp_test): Likewise.
48921         (exp_test_tonearest): Likewise.
48922         (exp_test_towardzero): Likewise.
48923         (exp_test_downward): Likewise.
48924         (exp_test_upward): Likewise.
48925         (exp10_test): Likewise.
48926         (exp2_test): Likewise.
48927         (expm1_test): Likewise.
48928         (fmod_test): Likewise.
48929         (gamma_test): Likewise.
48930         (hypot_test): Likewise.
48931         (j0_test): Likewise.
48932         (j1_test): Likewise.
48933         (jn_test): Likewise.
48934         (lgamma_test): Likewise.
48935         (log_test): Likewise.
48936         (log10_test): Likewise.
48937         (log1p_test): Likewise.
48938         (log2_test): Likewise.
48939         (logb_test_downward): Likewise.
48940         (pow_test): Likewise.
48941         (pow_test_tonearest): Likewise.
48942         (pow_test_towardzero): Likewise.
48943         (pow_test_downward): Likewise.
48944         (pow_test_upward): Likewise.
48945         (remainder_test): Likewise.
48946         (remquo_test): Likewise.
48947         (sin_test): Likewise.
48948         (sin_test_tonearest): Likewise.
48949         (sin_test_towardzero): Likewise.
48950         (sin_test_downward): Likewise.
48951         (sin_test_upward): Likewise.
48952         (sincos_test): Likewise.
48953         (sinh_test): Likewise.
48954         (sinh_test_tonearest): Likewise.
48955         (sinh_test_towardzero): Likewise.
48956         (sinh_test_downward): Likewise.
48957         (sinh_test_upward): Likewise.
48958         (sqrt_test): Likewise.
48959         (tan_test): Likewise.
48960         (tan_test_tonearest): Likewise.
48961         (tan_test_towardzero): Likewise.
48962         (tan_test_downward): Likewise.
48963         (tan_test_upward): Likewise.
48964         (tanh_test): Likewise.
48965         (tgamma_test): Likewise.
48966         (y0_test): Likewise.
48967         (y1_test): Likewise.
48968         (yn_test): Likewise.
48970         * math/gen-libm-test.pl (adjust_arg): Remove function.
48971         (special_function): Remove argument $in_func.  Only handle
48972         generating output for tables of tests, not inside functions.
48973         (parse_args): Likewise.
48974         (generate_testfile): Remove variable $in_func.  Update call to
48975         parse_args.
48976         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48977         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48978         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48979         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48980         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48981         (MAX_VALUE_INIT): Rename macro to max_value.
48982         (MIN_VALUE_INIT): Rename macro to min_value.
48983         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48984         (plus_zero): Remove variable.
48985         (minus_zero): Likewise.
48986         (plus_infty): Likewise.
48987         (minus_infty): Likewise.
48988         (qnan_value): Likewise.
48989         (max_value): Likewise.
48990         (min_value): Likewise.
48991         (min_subnorm_value): Likewise.
48993 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48995         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48996         uint64_t or uint32_t usage.
48997         * crypt/sha256-block.c: Likewise.
48998         * crypt/sha256-crypt.c: Likewise.
48999         * crypt/sha256.c: Likewise.
49000         * crypt/sha512-block.c: Likewise.
49001         * crypt/sha512-crypt.c: Likewise.
49002         * crypt/sha512.c: Likewise.
49003         * debug/backtrace-tst.c: Likewise.
49004         * debug/pcprofiledump.c: Likewise.
49005         * elf/cache.c: Likewise.
49006         * elf/dl-cache.c: Likewise.
49007         * elf/dl-misc.c: Likewise.
49008         * elf/dl-profile.c: Likewise.
49009         * elf/dl-support.c: Likewise.
49010         * elf/ldconfig.c: Likewise.
49011         * elf/sprof.c: Likewise.
49012         * iconv/dummy-repertoire.c: Likewise.
49013         * iconv/iconv_charmap.c: Likewise.
49014         * iconv/skeleton.c: Likewise.
49015         * iconvdata/8bit-generic.c: Likewise.
49016         * iconvdata/cp737.h: Likewise.
49017         * iconvdata/cp775.h: Likewise.
49018         * iconvdata/ibm1008.h: Likewise.
49019         * iconvdata/ibm1025.h: Likewise.
49020         * iconvdata/ibm1046.h: Likewise.
49021         * iconvdata/ibm1097.h: Likewise.
49022         * iconvdata/ibm1112.h: Likewise.
49023         * iconvdata/ibm1122.h: Likewise.
49024         * iconvdata/ibm1123.h: Likewise.
49025         * iconvdata/ibm1124.h: Likewise.
49026         * iconvdata/ibm1129.h: Likewise.
49027         * iconvdata/ibm1130.h: Likewise.
49028         * iconvdata/ibm1132.h: Likewise.
49029         * iconvdata/ibm1133.h: Likewise.
49030         * iconvdata/ibm1137.h: Likewise.
49031         * iconvdata/ibm1140.h: Likewise.
49032         * iconvdata/ibm1141.h: Likewise.
49033         * iconvdata/ibm1142.h: Likewise.
49034         * iconvdata/ibm1143.h: Likewise.
49035         * iconvdata/ibm1144.h: Likewise.
49036         * iconvdata/ibm1145.h: Likewise.
49037         * iconvdata/ibm1146.h: Likewise.
49038         * iconvdata/ibm1147.h: Likewise.
49039         * iconvdata/ibm1148.h: Likewise.
49040         * iconvdata/ibm1149.h: Likewise.
49041         * iconvdata/ibm1153.h: Likewise.
49042         * iconvdata/ibm1154.h: Likewise.
49043         * iconvdata/ibm1155.h: Likewise.
49044         * iconvdata/ibm1156.h: Likewise.
49045         * iconvdata/ibm1157.h: Likewise.
49046         * iconvdata/ibm1158.h: Likewise.
49047         * iconvdata/ibm1160.h: Likewise.
49048         * iconvdata/ibm1161.h: Likewise.
49049         * iconvdata/ibm1162.h: Likewise.
49050         * iconvdata/ibm1163.h: Likewise.
49051         * iconvdata/ibm1164.h: Likewise.
49052         * iconvdata/ibm1166.h: Likewise.
49053         * iconvdata/ibm1167.h: Likewise.
49054         * iconvdata/ibm12712.h: Likewise.
49055         * iconvdata/ibm1390.h: Likewise.
49056         * iconvdata/ibm1399.h: Likewise.
49057         * iconvdata/ibm16804.h: Likewise.
49058         * iconvdata/ibm4517.h: Likewise.
49059         * iconvdata/ibm4899.h: Likewise.
49060         * iconvdata/ibm4909.h: Likewise.
49061         * iconvdata/ibm4971.h: Likewise.
49062         * iconvdata/ibm5347.h: Likewise.
49063         * iconvdata/ibm803.h: Likewise.
49064         * iconvdata/ibm856.h: Likewise.
49065         * iconvdata/ibm901.h: Likewise.
49066         * iconvdata/ibm902.h: Likewise.
49067         * iconvdata/ibm9030.h: Likewise.
49068         * iconvdata/ibm9066.h: Likewise.
49069         * iconvdata/ibm921.h: Likewise.
49070         * iconvdata/ibm922.h: Likewise.
49071         * iconvdata/ibm9448.h: Likewise.
49072         * iconvdata/isiri-3342.h: Likewise.
49073         * iconvdata/jis0201.h: Likewise.
49074         * include/link.h: Likewise.
49075         * include/netdb.h: Likewise.
49076         * inet/check_native.c: Likewise.
49077         * inet/check_pf.c: Likewise.
49078         * inet/getipv4sourcefilter.c: Likewise.
49079         * inet/getnameinfo.c: Likewise.
49080         * inet/getsourcefilter.c: Likewise.
49081         * inet/htonl.c: Likewise.
49082         * inet/setipv4sourcefilter.c: Likewise.
49083         * inet/setsourcefilter.c: Likewise.
49084         * inet/test-inet6_opt.c: Likewise.
49085         * inet/tst-network.c: Likewise.
49086         * locale/C-collate.c: Likewise.
49087         * locale/C-ctype.c: Likewise.
49088         * locale/C-time.c: Likewise.
49089         * locale/C-translit.h: Likewise.
49090         * locale/loadarchive.c: Likewise.
49091         * locale/programs/3level.h: Likewise.
49092         * locale/programs/charmap.c: Likewise.
49093         * locale/programs/charmap.h: Likewise.
49094         * locale/programs/ld-address.c: Likewise.
49095         * locale/programs/ld-collate.c: Likewise.
49096         * locale/programs/ld-ctype.c: Likewise.
49097         * locale/programs/ld-identification.c: Likewise.
49098         * locale/programs/ld-measurement.c: Likewise.
49099         * locale/programs/ld-messages.c: Likewise.
49100         * locale/programs/ld-monetary.c: Likewise.
49101         * locale/programs/ld-name.c: Likewise.
49102         * locale/programs/ld-numeric.c: Likewise.
49103         * locale/programs/ld-paper.c: Likewise.
49104         * locale/programs/ld-telephone.c: Likewise.
49105         * locale/programs/ld-time.c: Likewise.
49106         * locale/programs/linereader.c: Likewise.
49107         * locale/programs/locale.c: Likewise.
49108         * locale/programs/locarchive.c: Likewise.
49109         * locale/programs/locfile.h: Likewise.
49110         * locale/programs/repertoire.c: Likewise.
49111         * locale/programs/simple-hash.c: Likewise.
49112         * locale/programs/simple-hash.h: Likewise.
49113         * malloc/memusage.c: Likewise.
49114         * malloc/memusagestat.c: Likewise.
49115         * nis/nis_defaults.c: Likewise.
49116         * nis/nis_hash.c: Likewise.
49117         * nis/nis_print.c: Likewise.
49118         * nis/nis_xdr.c: Likewise.
49119         * nscd/connections.c: Likewise.
49120         * nscd/hstcache.c: Likewise.
49121         * nscd/nscd_gethst_r.c: Likewise.
49122         * nscd/nscd_getserv_r.c: Likewise.
49123         * nscd/nscd_helper.c: Likewise.
49124         * nscd/servicescache.c: Likewise.
49125         * nss/makedb.c: Likewise.
49126         * nss/nss_db/db-XXX.c: Likewise.
49127         * nss/nss_db/db-initgroups.c: Likewise.
49128         * nss/nss_db/db-netgrp.c: Likewise.
49129         * nss/nss_files/files-network.c: Likewise.
49130         * nss/nss_files/files-parse.c: Likewise.
49131         * posix/bug-regex5.c: Likewise.
49132         * posix/fnmatch_loop.c: Likewise.
49133         * posix/regcomp.c: Likewise.
49134         * posix/regexec.c: Likewise.
49135         * posix/tst-rfc3484-2.c: Likewise.
49136         * posix/tst-rfc3484-3.c: Likewise.
49137         * posix/tst-rfc3484.c: Likewise.
49138         * resolv/nss_dns/dns-canon.c: Likewise.
49139         * resolv/nss_dns/dns-network.c: Likewise.
49140         * resolv/res_init.c: Likewise.
49141         * resolv/res_mkquery.c: Likewise.
49142         * resolv/tst-aton.c: Likewise.
49143         * stdlib/cxa_atexit.c: Likewise.
49144         * stdlib/cxa_finalize.c: Likewise.
49145         * stdlib/gen-fpioconst.c: Likewise.
49146         * stdlib/strtol_l.c: Likewise.
49147         * string/tst-endian.c: Likewise.
49148         * sunrpc/auth_des.c: Likewise.
49149         * sunrpc/clnt_udp.c: Likewise.
49150         * sunrpc/rtime.c: Likewise.
49151         * sunrpc/svcauth_des.c: Likewise.
49152         * sunrpc/xdr.c: Likewise.
49153         * sunrpc/xdr_intXX_t.c: Likewise.
49154         * sunrpc/xdr_rec.c: Likewise.
49155         * sysdeps/generic/ldconfig.h: Likewise.
49156         * sysdeps/generic/ldsodefs.h: Likewise.
49157         * sysdeps/generic/memusage.h: Likewise.
49158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49160         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49161         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49162         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49163         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49164         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49165         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49166         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49167         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49168         * sysdeps/posix/getaddrinfo.c: Likewise.
49169         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49170         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49171         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49172         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49173         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49174         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49175         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49176         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49177         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49178         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49179         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49180         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49181         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49182         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49183         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49184         * sysdeps/x86_64/dl-tls.h: Likewise.
49185         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49186         * time/alt_digit.c: Likewise.
49187         * time/era.c: Likewise.
49188         * wcsmbs/tst-c16c32-1.c: Likewise.
49190 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49192         * math/libm-test.inc (struct test_sincos_data): New type.
49193         (RUN_TEST_LOOP_sincos): New macro.
49194         (sincos_test_data): New variable.
49195         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49197 2013-05-16  Richard Henderson  <rth@redhat.com>
49199         * math/atest-exp2.c (LIMB64): New macro.
49200         (CONSTSZ): New macro.
49201         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49202         (hexdig): Move ...
49203         (print_mpn_fp): ... to function scope.
49204         (read_mpn_hex): Remove.
49205         (get_log2): Remove.
49206         (exp2_mpn): Use mp_log2.
49207         (main): Use mp_exp1.
49209 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49211         * math/libm-test.inc: Remove comment about not testing "inexact"
49212         exceptions.
49213         (INEXACT_EXCEPTION): New macro.
49214         (NO_INEXACT_EXCEPTION): Likewise.
49215         (INVALID_EXCEPTION_OK): Update value.
49216         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49217         (OVERFLOW_EXCEPTION_OK): Likewise.
49218         (UNDERFLOW_EXCEPTION_OK): Likewise.
49219         (IGNORE_ZERO_INF_SIGN): Likewise.
49220         (ERRNO_UNCHANGED): Likewise.
49221         (ERRNO_EDOM): Likewise.
49222         (ERRNO_ERANGE): Likewise.
49223         (test_exceptions): Handle testing "inexact" exceptions.
49224         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49225         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49226         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49227         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49228         INEXACT_EXCEPTION.
49229         (rint_towardzero_test_data): Likewise.
49230         (rint_downward_test_data): Likewise.
49231         (rint_upward_test_data): Likewise.
49233         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49234         with OVERFLOW_EXCEPTION.
49235         (exp10_test_data): Likewise.
49236         (exp2_test_data): Likewise.
49237         (expm1_test_data): Likewise.
49238         (lgamma_test_data): Likewise.
49239         (pow_test_data): Likewise.
49240         (tgamma_test_data): Likewise.
49241         (yn_test_data): Remove duplicate test of overflow.
49243         * math/libm-test.inc (struct test_cc_c_data): New type.
49244         (RUN_TEST_LOOP_cc_c): New macro.
49245         (cpow_test_data): New variable.
49246         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49248         * math/libm-test.inc (struct test_f_L_data): New type.
49249         (RUN_TEST_LOOP_f_L): New macro.
49250         (llrint_test_data): New variable.
49251         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49252         (llrint_tonearest_test_data): New variable.
49253         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49254         (llrint_towardzero_test_data): New variable.
49255         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49256         (llrint_downward_test_data): New variable.
49257         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49258         (llrint_upward_test_data): New variable.
49259         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49260         (llround_test_data): New variable.
49261         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49263 2013-05-13  Peter Collingbourne  <pcc@google.com>
49265         * math/atest-exp2.c (get_log2): Remove const attribute.
49267 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49269         * math/libm-test.inc (struct test_f_l_data): New type.
49270         (RUN_TEST_LOOP_f_l): New macro.
49271         (lrint_test_data): New variable.
49272         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49273         (lrint_tonearest_test_data): New variable.
49274         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49275         (lrint_towardzero_test_data): New variable.
49276         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49277         (lrint_downward_test_data): New variable.
49278         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49279         (lrint_upward_test_data): New variable.
49280         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49281         (lround_test_data): New variable.
49282         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49284 2013-05-15  Peter Collingbourne  <pcc@google.com>
49286         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49287         (EXTRACT_WORDS64) Use where appropriate.
49288         (INSERT_WORDS64) Likewise.
49290         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49291         constraints with x constraints.
49292         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49294         * malloc/obstack.c (_obstack_compat): Add initializer.
49296 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49298         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49299         si_trapno and add si_addr_lsb to _sifields.sigfault.
49300         (si_trapno): Remove macro.
49301         (si_addr_lsb): Define new macro.
49302         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49304 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49306         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49307         instead of TEST_f_l.
49308         (llrint_test_tonearest): Likewise.
49309         (llrint_test_towardzero): Likewise.
49310         (llrint_test_downward): Likewise.
49311         (llrint_test_upward): Likewise.
49312         (llround_test): Likewise.
49314         * math/libm-test.inc (struct test_f_i_data): Add comment.
49315         (RUN_TEST_LOOP_f_b): New macro.
49316         (RUN_TEST_LOOP_f_b_tg): Likewise.
49317         (finite_test_data): New variable.
49318         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49319         (isfinite_test_data): New variable.
49320         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49321         (isinf_test_data): New variable.
49322         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49323         (isnan_test_data): New variable.
49324         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49325         (isnormal_test_data): New variable.
49326         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49327         (issignaling_test_data): New variable.
49328         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49329         (signbit_test_data): New variable.
49330         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49332         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49333         with INVALID_EXCEPTION.
49334         (acosh_test_data): Likewise.
49335         (asin_test_data): Likewise.
49336         (atanh_test_data): Likewise.
49337         (fmod_test_data): Likewise.
49338         (log_test_data): Likewise.
49339         (log10_test_data): Likewise.
49340         (log2_test_data): Likewise.
49341         (pow_test_data): Likewise.
49342         (sqrt_test_data): Likewise.
49343         (y0_test_data): Likewise.
49344         (y1_test_data): Likewise.
49345         (yn_test_data): Likewise.
49347         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49348         function contents.
49350         * math/libm-test.inc (struct test_ff_i_data): New type.
49351         (RUN_TEST_LOOP_ff_i_tg): New macro.
49352         (isgreater_test_data): New variable.
49353         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49354         (isgreaterequal_test_data): New variable.
49355         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49356         (isless_test_data): New variable.
49357         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49358         (islessequal_test_data): New variable.
49359         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49360         (islessgreater_test_data): New variable.
49361         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49362         (isunordered_test_data): New variable.
49363         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49365 2013-05-14  David S. Miller  <davem@davemloft.net>
49367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49369 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49371         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49373         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49374         extra_test to int.
49375         (struct test_f_i_data): Change type of max_ulp to int.
49377         * math/libm-test.inc (test_ffI_f1_data): New type.
49378         (RUN_TEST_LOOP_ffI_f1): New macro.
49379         (remquo_test_data): New variable.
49380         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49382         * setjmp/tst-setjmp-fp.c: New file.
49383         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49384         (link-libm): New variable.
49385         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49387         * math/libm-test.inc (struct test_f_i_data): New type.
49388         (RUN_TEST_LOOP_f_i): New macro.
49389         (RUN_TEST_LOOP_f_i_tg): Likewise.
49390         (fpclassify_test_data): New variable.
49391         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49392         (ilogb_test_data): New variable.
49393         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49395         * math/libm-test.inc (scalbln_test): Correct function name in END
49396         call.
49398         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49399         (RUN_TEST_LOOP_fI_f1): New macro.
49400         (frexp_test_data): New variable.
49401         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49403         * math/libm-test.inc (struct test_fF_f1_data): New type.
49404         (RUN_TEST_LOOP_fF_f1): New macro.
49405         (modf_test_data): New variable.
49406         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49408         * math/libm-test.inc (struct test_f_f1_data): New type.
49409         (RUN_TEST_LOOP_f_f1): New macro.
49410         (gamma_test_data): New variable.
49411         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49412         (lgamma_test_data): New variable.
49413         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49415 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49417         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49418         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49419         (main): Comment "tls" pseudo-hwcap.
49421 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49423         * math/libm-test.inc (struct test_fl_f_data): New type.
49424         (RUN_TEST_LOOP_fl_f): New variable.
49425         (scalbln_test_data): New variable.
49426         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49428         * math/libm-test.inc (struct test_fi_f_data): New type.
49429         (RUN_TEST_LOOP_fi_f): New macro.
49430         (ldexp_test_data): New variable.
49431         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49432         (scalbn_test_data): New variable.
49433         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49435         * math/libm-test.inc (struct test_c_f_data): New type.
49436         (RUN_TEST_LOOP_c_f): New macro.
49437         (cabs_test_data): New variable.
49438         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49439         (carg_test_data): New variable.
49440         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49441         (cimag_test_data): New variable.
49442         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49443         (creal_test_data): New variable.
49444         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49446         * math/libm-test.inc (struct test_if_f_data): New type.
49447         (RUN_TEST_LOOP_if_f): New macro.
49448         (jn_test_data): New variable.
49449         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49450         (yn_test_data): New variable.
49451         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49453         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49455 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49457         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49458         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49460 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49462         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49463         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49464         (bench-deps): Add bench-timing.h.
49465         * benchtests-bench-skeleton.c: Include bench-timing.h.
49466         (main): Use TIMING_* macros instead of clock_gettime.
49467         * benchtests/bench-timing.h: New file.
49469         [BZ #14582]
49470         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49471         Renamed from _LIB_VERSION.
49472         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49474 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49476         * math/libm-test.inc (struct test_fff_f_data): New type.
49477         (RUN_TEST_LOOP_fff_f): New macro.
49478         (fma_test_data): New variable.
49479         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49480         (fma_towardzero_test_data): New variable.
49481         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49482         (fma_downward_test_data): New variable.
49483         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49484         (fma_upward_test_data): New variable.
49485         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49487         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49488         (struct test_c_c_data): New type.
49489         (RUN_TEST_LOOP_c_c): New macro.
49490         (cacos_test_data): New variable.
49491         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49492         (cacosh_test_data): New variable.
49493         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49494         (casin_test_data): New variable.
49495         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49496         (casinh_test_data): New variable.
49497         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49498         (catan_test_data): New variable.
49499         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49500         (catanh_test_data): New variable.
49501         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49502         (ccos_test_data): New variable.
49503         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49504         (ccosh_test_data): New variable.
49505         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49506         (cexp_test_data): New variable.
49507         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49508         (clog_test_data): New variable.
49509         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49510         (clog10_test_data): New variable.
49511         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49512         (conj_test_data): New variable.
49513         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49514         (cproj_test_data): New variable.
49515         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49516         (csin_test_data): New variable.
49517         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49518         (csinh_test_data): New variable.
49519         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49520         (csqrt_test_data): New variable.
49521         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49522         (ctan_test_data): New variable.
49523         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49524         (ctan_tonearest_test_data): New variable.
49525         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49526         (ctan_towardzero_test_data): New variable.
49527         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49528         (ctan_downward_test_data): New variable.
49529         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49530         (ctan_upward_test_data): New variable.
49531         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49532         (ctanh_test_data): New variable.
49533         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49534         (ctanh_tonearest_test_data): New variable.
49535         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49536         (ctanh_towardzero_test_data): New variable.
49537         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49538         (ctanh_downward_test_data): New variable.
49539         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49540         (ctanh_upward_test_data): New variable.
49541         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49542         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49543         of BUILD_COMPLEX.
49545         * math/libm-test.inc (struct test_ff_f_data): New type.
49546         (struct test_ff_f_data_nexttoward): Likewise.
49547         (RUN_TEST_LOOP_2_f): New macro.
49548         (RUN_TEST_LOOP_ff_f): Likewise.
49549         (atan2_test_data): New variable.
49550         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49551         (copysign_test_data): New variable.
49552         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49553         (fdim_test_data): New variable.
49554         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49555         (fmax_test_data): New variable.
49556         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49557         (fmin_test_data): New variable.
49558         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49559         (fmod_test_data): New variable.
49560         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49561         (hypot_test_data): New variable.
49562         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49563         (nextafter_test_data): New variable.
49564         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49565         (nexttoward_test_data): New variable.
49566         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49567         (pow_test_data): New variable.
49568         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49569         (pow_tonearest_test_data): New variable.
49570         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49571         (pow_towardzero_test_data): New variable.
49572         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49573         (pow_downward_test_data): New variable.
49574         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49575         (pow_upward_test_data): New variable.
49576         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49577         (remainder_test_data): New variable.
49578         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49579         (scalb_test_data): New variable.
49580         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49581         * sysdeps/i386/fpu/libm-test-ulps: Update.
49583 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49585         * math/libm-test.inc (fma_test): Use max_value instead of local
49586         variable fltmax.
49587         (nextafter_test): Likewise.
49589         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49590         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49591         (acos_downward_test_data): New variable.
49592         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49593         (acos_upward_test_data): New variable.
49594         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49595         (acosh_test_data): New variable.
49596         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49597         (asin_test_data): New variable.
49598         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49599         (asin_tonearest_test_data): New variable.
49600         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49601         (asin_towardzero_test_data): New variable.
49602         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49603         (asin_downward_test_data): New variable.
49604         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49605         (asin_upward_test_data): New variable.
49606         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49607         (asinh_test_data): New variable.
49608         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49609         (atan_test_data): New variable.
49610         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49611         (atanh_test_data): New variable.
49612         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49613         (cbrt_test_data): New variable.
49614         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49615         (ceil_test_data): New variable.
49616         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49617         (cos_test_data): New variable.
49618         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49619         (cos_tonearest_test_data): New variable.
49620         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49621         (cos_towardzero_test_data): New variable.
49622         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49623         (cos_downward_test_data): New variable.
49624         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49625         (cos_upward_test_data): New variable.
49626         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49627         (cosh_test_data): New variable.
49628         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49629         (cosh_tonearest_test_data): New variable.
49630         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49631         (cosh_towardzero_test_data): New variable.
49632         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49633         (cosh_downward_test_data): New variable.
49634         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49635         (cosh_upward_test_data): New variable.
49636         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49637         (erf_test_data): New variable.
49638         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49639         (erfc_test_data): New variable.
49640         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49641         (exp_test_data): New variable.
49642         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49643         (exp_tonearest_test_data): New variable.
49644         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49645         (exp_towardzero_test_data): New variable.
49646         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49647         (exp_downward_test_data): New variable.
49648         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49649         (exp_upward_test_data): New variable.
49650         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49651         (exp10_test_data): New variable.
49652         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49653         (exp2_test_data): New variable.
49654         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49655         (expm1_test_data): New variable.
49656         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49657         (fabs_test_data): New variable.
49658         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49659         (floor_test_data): New variable.
49660         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49661         (j0_test_data): New variable.
49662         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49663         (j1_test_data): New variable.
49664         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49665         (log_test_data): New variable.
49666         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49667         (log10_test_data): New variable.
49668         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49669         (log1p_test_data): New variable.
49670         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49671         (log2_test_data): New variable.
49672         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49673         (logb_test_data): New variable.
49674         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49675         (logb_downward_test_data): New variable.
49676         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49677         (nearbyint_test_data): New variable.
49678         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49679         (rint_test_data): New variable.
49680         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49681         (rint_tonearest_test_data): New variable.
49682         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49683         (rint_towardzero_test_data): New variable.
49684         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49685         (rint_downward_test_data): New variable.
49686         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49687         (rint_upward_test_data): New variable.
49688         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49689         (round_test_data): New variable.
49690         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49691         (sin_test_data): New variable.
49692         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49693         (sin_tonearest_test_data): New variable.
49694         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49695         (sin_towardzero_test_data): New variable.
49696         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49697         (sin_downward_test_data): New variable.
49698         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49699         (sin_upward_test_data): New variable.
49700         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49701         (sinh_test_data): New variable.
49702         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49703         (sinh_tonearest_test_data): New variable.
49704         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49705         (sinh_towardzero_test_data): New variable.
49706         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49707         (sinh_downward_test_data): New variable.
49708         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49709         (sinh_upward_test_data): New variable.
49710         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49711         (sqrt_test_data): New variable.
49712         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49713         (tan_test_data): New variable.
49714         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49715         (tan_tonearest_test_data): New variable.
49716         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49717         (tan_towardzero_test_data): New variable.
49718         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49719         (tan_downward_test_data): New variable.
49720         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49721         (tan_upward_test_data): New variable.
49722         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49723         (tanh_test_data): New variable.
49724         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49725         (tgamma_test_data): New variable.
49726         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49727         (trunc_test_data): New variable.
49728         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49729         (y0_test_data): New variable.
49730         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49731         (y1_test_data): New variable.
49732         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49733         (significand_test_data): New variable.
49734         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49736 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49738         [BZ #12387]
49739         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49741 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49743         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49745 2013-05-10  Andreas Jaeger  <aj@suse.de>
49747         [BZ #15448]
49748         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49749         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49751 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49753         * math/gen-libm-test.pl (adjust_arg): New function.
49754         (special_functions): Handle generating output in both functions
49755         and arrays.
49756         (parse_args): Likewise.
49757         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49758         $in_func argument to parse_args.
49759         * math/libm-test.inc (struct test_f_f_data): New type.
49760         (IF_ROUND_INIT_): New macro.
49761         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49762         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49763         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49764         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49765         (ROUND_RESTORE_): Likewise.
49766         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49767         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49768         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49769         (ROUND_RESTORE_FE_UPWARD): Likewise.
49770         (RUN_TEST_LOOP_f_f): New macro.
49771         (acos_test_data): New variable.
49772         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49773         (acos_tonearest_test_data): New variable.
49774         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49776 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778         * benchtests/bench-skeleton.c (startup): Fix coding style.
49780 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49782         [BZ #6809]
49783         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49784         negative infinity argument.
49785         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49786         negative infinity argument.
49787         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49788         negative infinity argument.
49789         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49790         domain errors.
49792 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49794         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49795         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49796         * iconv/iconv_prog.c (main): Likewise.
49797         * locale/programs/charmap-dir.c (charmap_readdir)
49798         (fopen_uncompressed): Likewise.
49799         * locale/programs/locfile.c (siblings_uncached)
49800         (write_locale_data): Use lstat64 instead of lstat.
49801         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49802         stat.
49804 2013-05-10  Andreas Jaeger  <aj@suse.de>
49806         [BZ #15395]
49807         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49808         localization.
49809         Include <locale.h>.
49811 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49813         * elf/dl-close.c (_dl_close_worker): Add comments.
49815 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49817         [BZ #15359]
49818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49819         high part of pi/2.
49820         (__ieee754_rem_pio2l): Update comments.
49822         [BZ #15429]
49823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49824         high part of pi/2.
49825         (__ieee754_rem_pio2l): Update comments.
49827         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49828         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49830         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49831         M_PI_4l.
49833         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49834         (M_PI_34_LOG10El): Likewise.
49835         (M_PI2_LOG10El): Likewise.
49836         (M_PI4_LOG10El): Likewise.
49837         (M_PI_LOG10El): Likewise.
49839 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49843 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49845         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49846         (MINUS_ZERO_INIT): Likewise.
49847         (PLUS_INFTY_INIT): Likewise.
49848         (MINUS_INFTY_INIT): Likewise.
49849         (QNAN_VALUE_INIT): Likewise.
49850         (MAX_VALUE_INIT): Likewise.
49851         (MIN_VALUE_INIT): Likewise.
49852         (MIN_SUBNORM_VALUE_INIT): Likewise.
49853         (plus_zero): Initialize with PLUS_ZERO_INIT.
49854         (minus_zero): Initialize with MINUS_ZERO_INIT.
49855         (plus_infty): Initialize with PLUS_INFTY_INIT.
49856         (minus_infty): Initialize with MINUS_INFTY_INIT.
49857         (qnan_value): Initialize with QNAN_VALUE_INIT.
49858         (max_value): Initialize with MAX_VALUE_INIT.
49859         (min_value): Initialize with MIN_VALUE_INIT.
49860         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49862         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49863         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49864         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49865         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49867         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49868         (RUN_TEST_2_f): Likewise.
49869         (RUN_TEST_ff_f): Likewise.
49870         (RUN_TEST_fi_f): Likewise.
49871         (RUN_TEST_fl_f): Likewise.
49872         (RUN_TEST_fff_f): Likewise.
49873         (RUN_TEST_c_f): Likewise.
49874         (RUN_TEST_f_f1): Likewise.
49875         (RUN_TEST_fF_f1): Likewise.
49876         (RUN_TEST_fI_f1): Likewise.
49877         (RUN_TEST_ffI_f1): Likewise.
49878         (RUN_TEST_c_c): Likewise.
49879         (RUN_TEST_cc_c): Likewise.
49880         (RUN_TEST_f_i): Likewise.
49881         (RUN_TEST_f_i_tg): Likewise.
49882         (RUN_TEST_ff_i_tg): Likewise.
49883         (RUN_TEST_f_b): Likewise.
49884         (RUN_TEST_f_b_tg): Likewise.
49885         (RUN_TEST_f_l): Likewise.
49886         (RUN_TEST_f_L): Likewise.
49887         (RUN_TEST_sincos): Likewise.
49888         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49889         whether to show exceptions.  Do not include ");\n" in return
49890         value.
49891         (special_functions): Output call to RUN_TEST_sincos instead of
49892         check_float calls.  Update calls to new_test.
49893         (parse_args): Output call to single RUN_TEST_* macro instead of
49894         check_* calls and other assignments.  Update calls to new_test.
49896         [BZ #2546]
49897         [BZ #2560]
49898         [BZ #5159]
49899         [BZ #15426]
49900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49901         input to result for tgamma overflow.
49902         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49903         (gamma_coeff): New variable.
49904         (NCOEFF): New macro.
49905         (gamma_positive): New function.
49906         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49907         underflow here.  Use gamma_positive instead of exp (lgamma) for
49908         other arguments.
49909         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49910         (gamma_coeff): New variable.
49911         (NCOEFF): New macro.
49912         (gammaf_positive): New function.
49913         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49914         underflow here.  Use gamma_positive instead of exp (lgamma) for
49915         other arguments.
49916         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49917         (gamma_coeff): New variable.
49918         (NCOEFF): New macro.
49919         (gammal_positive): New function.
49920         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49921         underflow here.  Use gamma_positive instead of exp (lgamma) for
49922         other arguments.
49923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49924         (gamma_coeff): New variable.
49925         (NCOEFF): New macro.
49926         (gammal_positive): New function.
49927         (__ieee754_gammal_r): Handle positive infinity, overflow and
49928         underflow here.  Handle NaN the same as positive infinity.  Remove
49929         check x < 0xffffffff for negative integers.  Use gamma_positive
49930         instead of exp (lgamma) for other arguments.
49931         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49932         (gamma_coeff): New variable.
49933         (NCOEFF): New macro.
49934         (gammal_positive): New function.
49935         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49936         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49937         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49938         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49939         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49940         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49941         * sysdeps/generic/math_private.h (__gamma_productf): New
49942         prototype.
49943         (__gamma_product): Likewise.
49944         (__gamma_productl): Likewise.
49945         * math/Makefile (libm-calls): Add gamma_product.
49946         * math/libm-test.inc (tgamma_test): Add more tests.
49947         * sysdeps/i386/fpu/libm-test-ulps: Update.
49948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49950 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49952         * benchtests/bench-skeleton.c (main): Preheat CPU.
49954 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49956         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49958 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49960         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49961         and _dl_skip_args_internal.
49963 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49965         * manual/message.texi (Message Translation): Talk about users.
49966         Message to key mapping impacts design.
49968 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49970         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49972         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49974         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49975         * sysdeps/wordsize-64/glob64.c: ... here.
49977         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49978         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49979         New macros.
49981         * debug/getlogin_r_chk.c: Moved to ...
49982         * login/getlogin_r_chk.c: ... here.
49983         * debug/Makefile (routines): Move getlogin_r_chk to ...
49984         * login/Makefile (routines): ... here.
49985         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49986         * login/Versions (libc: GLIBC_2.4): ... here.
49988         * io/poll.c (__poll): Renamed from poll.
49989         Add libc_hidden_def.
49990         (poll): Define as weak alias.
49992         * debug/ptsname_r_chk.c: Moved to ...
49993         * login/ptsname_r_chk.c: ... here.
49994         * debug/Makefile (routines): Move ptsname_r_chk to ...
49995         * login/Makefile (routines): ... here.
49996         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49997         * login/Versions (libc: GLIBC_2.4): ... here.
49999         * posix/getlogin.c: Moved to ...
50000         * login/getlogin.c: ... here.
50001         * posix/getlogin_r.c: Moved to ...
50002         * login/getlogin_r.c: ... here.
50003         * posix/getlogin_r.c: Moved to ...
50004         * login/getlogin_r.c: ... here.
50005         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50006         * login/Makefile (routines): ... here.
50007         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50008         * login/Versions (libc: GLIBC_2.0): ... here.
50010         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50011         (setrlimit): Define as weak alias.
50013         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50014         Call __ names for open, ftruncate, and close.
50015         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50016         (truncate): Define as weak alias.
50018 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50020         * math/gen-libm-test.pl (parse_args): Initialize x before each
50021         test of frexp, modf and remquo.
50023         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50024         test signgam value.
50026 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50028         [BZ #15418]
50029         [BZ #15419]
50030         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50031         internal tests.
50032         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50034 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50036         * elf/dl-writev.h: New file.
50037         * elf/dl-misc.c: Include it.
50038         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50039         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50041 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50043         * math/libm-test.inc (noXFails): Remove variable.
50044         (noXPasses): Likewise.
50045         (BUILD_COMPLEX_INT): Remove macro.
50046         (print_screen): Remove xfail argument.
50047         (print_screen_max_error): Likewise.
50048         (update_stats): Likewise.
50049         (print_max_error): Likewise.  Update calls to other affected
50050         functions.
50051         (print_complex_max_error): Likewise.
50052         (test_single_exception): Update calls to print_screen.
50053         (test_single_errno): Likewise.
50054         (check_float_internal): Remove xfail argument.  Update calls to
50055         other affected functions.
50056         (check_float): Likewise.
50057         (check_complex): Likewise.
50058         (check_int): Likewise.
50059         (check_long): Likewise.
50060         (check_bool): Likewise.
50061         (check_longlong): Likewise.
50062         (main): Don't print noXFails and noXPasses.
50063         * math/gen-libm-test.pl (top level): Don't mention expected
50064         failure handling in comment.
50065         (new_test): Don't handle expected failures.
50066         (parse_args): Don't mention expected failure handling in comment.
50067         (generate_testfile): Don't handle expected failures.
50068         (parse_ulps): Likewise.
50069         (print_ulps_file): Likewise.
50070         (get_failure): Remove function.
50071         (output_test): Don't handle expected failures.
50072         * make/README.libm-test: Don't mention expected failure handling.
50074         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50075         (minus_zero): Likewise.
50076         (plus_infty): Likewise.
50077         (minus_infty): Likewise.
50078         (qnan_value): Likewise.
50079         (max_value): Likewise.
50080         (min_value): Likewise.
50081         (min_subnorm_value): Likewise.
50082         (initialize): Do not initialize those variables dynamically.
50084 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50086         * io/open.c (__open_2): Moved to ...
50087         * io/open_2.c: ... this new file.
50088         * io/open64.c (__open64_2): Moved to ...
50089         * io/open64_2.c: ... this new file.
50090         * io/openat.c (__openat_2): Moved to ...
50091         * io/openat_2.c: ... this new file.
50092         * io/openat64.c (__openat64_2): Moved to ...
50093         * io/openat64_2.c: ... this new file.
50094         * io/Makefile (routines): Add them.
50095         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50096         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50097         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50098         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50099         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50100         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50101         (__openat64): Add hidden_ver.
50102         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50103         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50105         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50106         Separately conditionalize setting of GLRO(dl_sysinfo) so
50107         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50108         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50110 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50112         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50114         definition.
50115         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50116         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50117         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50118         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50119         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50121 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50123         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50124         test signgam value.
50126         * math/libm-test.inc (hypot_test): Do not use
50127         IGNORE_ZERO_INF_SIGN.
50129 2013-05-03  Andreas Jaeger  <aj@suse.de>
50131         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50132         Linux 3.9.
50133         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50134         (PF_MAX): Adjust for VSOCK change.
50136 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50140 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50142         [BZ #15264]
50143         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50144         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50145         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50147 2013-05-02  David S. Miller  <davem@davemloft.net>
50149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50151 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50153         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50155 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50157         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50159 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50161         [BZ #14952]
50162         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50163         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50164         Use __attribute__ ((__gnu_inline__)).
50165         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50166         Don't use __attribute__ ((__gnu_inline__)).
50168 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50170         [BZ #15423]
50171         * math/s_catan.c (__catan): Handle small real or imaginary part of
50172         input specially to avoid spurious underflow.
50173         * math/s_catanf.c (__catanf): Likewise.
50174         * math/s_catanh.c (__catanh): Likewise.
50175         * math/s_catanhf.c (__catanhf): Likewise.
50176         * math/s_catanhl.c (__catanhl): Likewise.
50177         * math/s_catanl.c (__catanl): Likewise.
50178         * math/libm-test.inc (catan_test): Add more tests.
50179         (catanh_test): Likewise.
50180         * sysdeps/i386/fpu/libm-test-ulps: Update.
50181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50183 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50187 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50189         [BZ #15416]
50190         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50191         accurately for denominator in atan2.
50192         * math/s_catanf.c (__catanf): Likewise.
50193         * math/s_catanh.c (__catanh): Likewise.
50194         * math/s_catanhf.c (__catanhf): Likewise.
50195         * math/s_catanhl.c (__catanhl): Likewise.
50196         * math/s_catanl.c (__catanl): Likewise.
50197         * math/libm-test.inc (catan_test): Add more tests.
50198         (catanh_test): Likewise.
50199         * sysdeps/i386/fpu/libm-test-ulps: Update.
50200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50202 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50204         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50206         * benchtests/Makefile (bench): Remove slow benchmarks.
50207         * benchtests/atan-inputs: Add slow benchmark inputs.
50208         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50209         (BENCH_FUNC): Accept variant offset.
50210         (VARIANT): Define.
50211         * benchtests/bench-skeleton.c (main): Run benchmark for each
50212         variant.
50213         * benchtests/cos-inputs: Add slow benchmark inputs.
50214         * benchtests/exp-inputs: Likewise.
50215         * benchtests/pow-inputs: Likewise.
50216         * benchtests/sin-inputs: Likewise.
50217         * benchtests/slowatan-inputs: Remove.
50218         * benchtests/slowatan.c: Remove.
50219         * benchtests/slowcos-inputs: Remove.
50220         * benchtests/slowcos.c: Remove.
50221         * benchtests/slowexp-inputs: Remove.
50222         * benchtests/slowexp.c: Remove.
50223         * benchtests/slowpow-inputs: Remove.
50224         * benchtests/slowpow.c: Remove.
50225         * benchtests/slowsin-inputs: Remove.
50226         * benchtests/slowsin.c: Remove.
50227         * benchtests/slowtan-inputs: Remove.
50228         * benchtests/slowtan.c: Remove.
50229         * benchtests/tan-inputs: Add slow benchmark inputs.
50230         * scripts/bench.pl: Parse comments and directives.
50232         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50233         in CPPFLAGS.
50234         ($(objpfx)bench-%.c): Remove *-ITER.
50235         * benchtests/bench-modf.c: Remove definition of ITER.
50236         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50237         (main): Loop for DURATION seconds instead of fixed number of
50238         iterations.
50239         * scripts/bench.pl: Don't expect iterations in parameters.
50241 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50243         * io/fchdir.c (__fchdir): Renamed from fchdir.
50244         (fchdir): Define as weak alias.
50246 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50248         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50249         (ERRNO_EDOM): Likewise.
50250         (ERRNO_ERANGE): Likewise.
50251         (noErrnoTests): New variable.
50252         (init_max_error): Set errno to 0.
50253         (test_single_errno): New function.
50254         (test_errno): Likewise.
50255         (check_float_internal): Call test_errno.  Set errno to 0.
50256         (check_complex): Refer to errno tests in comment.
50257         (check_int): Call test_errno.  Set errno to 0.
50258         (check_long): Likewise.
50259         (check_bool): Likewise.
50260         (check_longlong): Likewise.
50261         (cos_test): Use ERRNO_* flags for errno tests instead of
50262         check_int.
50263         (expm1_test): Likewise.
50264         (fmod_test): Likewise.
50265         (ilogb_test): Likewise.
50266         (lgamma_test): Likewise.
50267         (pow_test): Likewise.
50268         (remainder_test): Likewise.
50269         (sin_test): Likewise.
50270         (tan_test): Likewise.
50271         (yn_test): Likewise.
50272         (initialize): Set errno to 0.
50273         (main): Print number of errno tests.
50274         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50276 2013-04-29  Andreas Jaeger  <aj@suse.de>
50278         [BZ #15084]
50279         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50280         and RES_USEVC.
50282         [BZ #15085]
50283         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50284         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50285         unimplemented.
50287         [BZ #15380]
50288         * stdlib/random.c (__initstate): Return NULL if
50289         __initstate fails.
50291         [BZ #15086]
50292         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50293         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50294         RES_SNGLKUPREOP.
50296 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50300 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50302         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50303         of individual tests.
50304         (casin_test): Likewise.
50305         (casinh_test): Likewise.
50307 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #15409]
50310         * math/s_catan.c (__catan): Handle arguments with large real or
50311         imaginary part separately without squaring.
50312         * math/s_catanf.c (__catanf): Likewise.
50313         * math/s_catanh.c (__catanh): Likewise.
50314         * math/s_catanhf.c (__catanhf): Likewise.
50315         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50316         and redefine.
50317         (__catanhl): Handle arguments with large real or imaginary part
50318         separately without squaring.
50319         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50320         and redefine.
50321         (__catanl): Handle arguments with large real or imaginary part
50322         separately without squaring.
50323         * math/libm-test.inc (catan_test): Add more tests.
50324         (catanh_test): Likewise.
50325         * sysdeps/i386/fpu/libm-test-ulps: Update.
50326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50328 2013-04-27  Andreas Jaeger  <aj@suse.de>
50330         [BZ #15007]
50331         * stdlib/stdlib.h: Update guards for qecvt.
50332         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50333         <stdlib.h>.
50335 2013-04-27  Allan McRae  <allan@archlinux.org>
50337         * sysdeps/i386/fpu/libm-test-ulps: Update.
50339 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50341         [BZ #15406]
50342         * math/s_catan.c: Include <float.h>.
50343         (__catan): Ensure underflow exception occurs for underflowed
50344         result.
50345         * math/s_catanf.c: Include <float.h>.
50346         (__catanf): Ensure underflow exception occurs for underflowed
50347         result.
50348         * math/s_catanh.c: Include <float.h>.
50349         (__catanh): Ensure underflow exception occurs for underflowed
50350         result.
50351         * math/s_catanhf.c: Include <float.h>.
50352         (__catanhf): Ensure underflow exception occurs for underflowed
50353         result.
50354         * math/s_catanhl.c: Include <float.h>.
50355         (__catanhl): Ensure underflow exception occurs for underflowed
50356         result.
50357         * math/s_catanl.c: Include <float.h>.
50358         (__catanl): Ensure underflow exception occurs for underflowed
50359         result.
50360         * math/libm-test.inc (catan_test): Add more tests.
50361         (catanh_test): Likewise.
50363         [BZ #15405]
50364         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50365         underflowed result.
50366         * math/s_ccoshf.c (__ccoshf): Likewise.
50367         * math/s_ccoshl.c (__ccoshl): Likewise.
50368         * math/s_csin.c (__csin): Likewise.
50369         * math/s_csinf.c (__csinf): Likewise.
50370         * math/s_csinh.c (__csinh): Likewise.
50371         * math/s_csinhf.c (__csinhf): Likewise.
50372         * math/s_csinhl.c (__csinhl): Likewise.
50373         * math/s_csinl.c (__csinl): Likewise.
50374         * math/libm-test.inc (ccos_test): Add more tests.
50375         (ccosh_test): Likewise.
50376         (csin_test): Likewise.
50377         (csinh_test): Likewise.
50379 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50381         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50382         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50383         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50384         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50385         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50386         powerpc/power5+/fpu folders.
50387         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50390 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50394 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50396         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50397         additions to variable.
50398         [$(config-machine) = x86_64] (modules-names): Likewise.
50399         ($(objpfx)tst-audit3): Remove dependency.
50400         ($(objpfx)tst-audit3.out): Likewise.
50401         ($(objpfx)tst-audit4): Likewise.
50402         ($(objpfx)tst-audit4.out): Likewise.
50403         ($(objpfx)tst-audit5): Likewise.
50404         ($(objpfx)tst-audit5.out): Likewise.
50405         ($(objpfx)tst-audit6): Likewise.
50406         ($(objpfx)tst-audit6.out): Likewise.
50407         ($(objpfx)tst-audit7): Likewise.
50408         ($(objpfx)tst-audit7.out): Likewise.
50409         (tst-audit3-ENV): Remove variable.
50410         (tst-audit4-ENV): Likewise.
50411         (tst-audit5-ENV): Likewise.
50412         (tst-audit6-ENV): Likewise.
50413         (tst-audit7-ENV): Likewise.
50414         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50415         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50416         addition to variable.
50417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50420         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50421         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50422         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50423         tst-audit3, tst-audit4 and tst-audit5.
50424         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50425         tst-audit6 and tst-audit7.
50426         [$(subdir) = elf] (modules-names): Add audit modules for those
50427         tests.
50428         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50429         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50430         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50431         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50432         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50433         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50434         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50435         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50436         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50437         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50438         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50439         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50440         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50441         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50442         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50443         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50444         Likewise.
50445         [$(subdir) = elf && $(config-cflags-avx) = yes]
50446         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50447         [$(subdir) = elf && $(config-cflags-avx) = yes]
50448         (CFLAGS-tst-auditmod4a.c): Likewise.
50449         [$(subdir) = elf && $(config-cflags-avx) = yes]
50450         (CFLAGS-tst-auditmod4b.c): Likewise.
50451         [$(subdir) = elf && $(config-cflags-avx) = yes]
50452         (CFLAGS-tst-auditmod6b.c): Likewise.
50453         [$(subdir) = elf && $(config-cflags-avx) = yes]
50454         (CFLAGS-tst-auditmod6c.c): Likewise.
50455         [$(subdir) = elf && $(config-cflags-avx) = yes]
50456         (CFLAGS-tst-auditmod7b.c): Likewise.
50457         * elf/tst-audit3.c: Move to ...
50458         * sysdeps/x86_64/tst-audit3.c: ... here.
50459         * elf/tst-audit4.c: Move to ...
50460         * sysdeps/x86_64/tst-audit4.c: ... here.
50461         * elf/tst-audit5.c: Move to ...
50462         * sysdeps/x86_64/tst-audit5.c: ... here.
50463         * elf/tst-audit6.c: Move to ...
50464         * sysdeps/x86_64/tst-audit6.c: ... here.
50465         * elf/tst-audit7.c: Move to ...
50466         * sysdeps/x86_64/tst-audit7.c: ... here.
50467         * elf/tst-auditmod3a.c: Move to ...
50468         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50469         * elf/tst-auditmod3b.c: Move to ...
50470         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50471         * elf/tst-auditmod4a.c: Move to ...
50472         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50473         * elf/tst-auditmod4b.c: Move to ...
50474         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50475         * elf/tst-auditmod5a.c: Move to ...
50476         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50477         * elf/tst-auditmod5b.c: Move to ...
50478         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50479         * elf/tst-auditmod6a.c: Move to ...
50480         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50481         * elf/tst-auditmod6b.c: Move to ...
50482         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50483         * elf/tst-auditmod6c.c: Move to ...
50484         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50485         * elf/tst-auditmod7a.c: Move to ...
50486         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50487         * elf/tst-auditmod7b.c: Move to ...
50488         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50490 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50492         [BZ #15366]
50493         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50494         define unconditionally.
50495         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50496         define unconditionally.
50497         (INT8_C, INT16_C, etc.): Likewise.
50499 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50501         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50502         __ehdr_start with hidden visibility.
50504         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50506 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50508         * math/libm-test.inc (cos_test): Use accurate hex constants.
50509         (sincost_test): Likewise.
50511 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50513         * math/libm-test.inc (catan_test): Add more tests.
50514         (catanh_test): Likewise.
50516         * math/s_catanf.c (__catanf): Use suffixed floating-point
50517         constants.
50518         * math/s_catanhf.c (__catanhf): Likewise.
50519         * math/s_catanhl.c (__catanhl): Likewise.
50520         * math/s_catanl.c (__catanl): Likewise.
50522         [BZ #15394]
50523         * math/s_catan.c (__catan): Calculate imaginary part of result
50524         with log1p not log unless computing log of number close to 0.
50525         * math/s_catanf.c (__catanf): Likewise.
50526         * math/s_catanl.c (__catanl): Likewise.
50527         * math/s_catanh.c (__catanh): Calculate real part of result with
50528         log1p not log unless computing log of number close to 0.
50529         * math/s_catanhf.c (__catanhf): Likewise.
50530         * math/s_catanhl.c (__catanhl): Likewise.
50531         * math/libm-test.inc (catan_test): Add more tests.
50532         (catanh_test): Likewise.
50533         * sysdeps/i386/fpu/libm-test-ulps: Update.
50534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50536 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50538         * benchtests/Makefile: Mention files in which fast and slow
50539         paths of math functions are implemented.
50541 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50543         * sysdeps/posix/timespec_get.c: New file.
50545 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50547         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50548         POWER.
50549         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50550         for POWER.
50551         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50552         powerpc/power5/fpu folders.
50553         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50554         * benchtests/Makefile: Add modf testcase.
50555         * benchtests/bench-modf.c: New file: Benchmark test for mo
50557 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50559         [BZ #14888]
50560         * time/Makefile (tests): Add tst-strptime-whitespace.
50561         * time/strptime_l.c (get_number): Use ISSPACE.
50562         (__strptime_internal): Likewise.
50563         * time/tst-strptime-whitespace.c: New test case.
50565 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50567         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50568         member.
50569         (_nss_files_init): Set it here.
50571 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50573         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50574         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50575         unsigned.
50577 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50579         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50581 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50584         size just once.
50586 2013-04-21  David S. Miller  <davem@davemloft.net>
50588         * po/ru.po: Update Russion translation from translation project.
50590 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50592         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50593         and setfsgid.
50595 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50597         * configure.in: Remove i386 configure warning. Remove i386 case.
50598         * configure: Regenerate.
50599         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50600         Add example to error message.
50601         * sysdeps/i386/configure: Regenerate.
50603 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50605         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50606         slowtan.
50607         * benchtests/cos-inputs: New file.
50608         * benchtests/slowcos-inputs: New file.
50609         * benchtests/slowcos.c: New file.
50610         * benchtests/slowtan-inputs: New file.
50611         * benchtests/slowtan.c: New file.
50612         * benchtests/tan-inputs: New file.
50614 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50616         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50617         considered kosher.
50619 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50621         * benchtests/Makefile: Include cppflags-iterator.mk to add
50622         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50624         * Makefile.in (bench-clean): New target.
50625         * benchtests/Makefile (bench-clean): Likewise.
50627 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50629         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50631 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50633         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50635 2013-04-15  Andreas Schwab  <schwab@suse.de>
50637         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50638         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50639         * nscd/pwdcache.c (cache_addpw): Likewise.
50640         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50641         more than recsize.
50643 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50645         * benchtests/Makefile (bench): Write all output to
50646         bench-out.tmp together.
50648 2013-04-15  Andreas Schwab  <schwab@suse.de>
50650         * nscd/nscd.c (main): Don't fork again after closing files.
50652 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50654         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50656         * benchtests/Rules (bench-deps): Collect dependencies into a
50657         single variable.  Add Makefile to dependencies.
50658         ($(objpfx)bench-%.c): Depend on bench-deps.
50660 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50661             Xavier Roche  <roche+kml2@exalead.com>
50663         [BZ #15361]
50664         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50665         just that it's a file descriptor.
50666         * manual/llio.texi (Synchronizing AIO Operations): Update description
50667         for EBADF error from aio_fsync.
50669 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50671         * Rules (bench): Move target definition...
50672         * benchtests/Makefile: ... here.
50674 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50676         * math/libm-test.inc (cos_test): Fix PI/2 test.
50677         (sincos_test): Likewise.
50678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50679         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50681 2013-04-11  Andreas Schwab  <schwab@suse.de>
50683         [BZ #13988]
50684         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50685         accept exponent character only when digits were seen.
50686         * stdio-common/Makefile (tests): Add bug26.
50687         * stdio-common/bug26.c: New file.
50689         [BZ #14293]
50690         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50691         non-freeable.
50693 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50695         * Makeconfig (rtld-prefix): Define built linker prefix.
50696         * Rules (run-bench): Use it.
50697         * math/Makefile (run-regen-ulps): Likewise.
50699         * Rules (bench): Remove eval.
50701 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50702             Roland McGrath  <roland@hack.frob.com>
50703             Ondrej Bilka  <neleai@seznam.cz>
50705         [BZ #15346]
50706         * time/getdate.c: Include ctype.h and alloca.h.
50707         (__getdate_r): Trim leading and trailing spaces of input.
50708         * time/tst-getdate.c (tests): Add tests with leading and
50709         trailing spaces.
50711 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50713         [BZ #14280]
50714         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50715         when computing value.
50717 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50719         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50720         Use testrun.sh to run libm tests.
50722         [BZ #15309]
50723         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50725 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50727         [BZ #15264]
50728         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50730 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50732         * Makefile.in (regen-ulps): New target.
50733         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50734         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50735         [ifneq (no,$(PERL)] (regen-ulps): New target.
50736         [ifeq (no,$(PERL)] (regen-ulps): New target.
50737         * math/libm-test.inc (ulps_file_name): Define.
50738         (output_dir): New variable.
50739         (options): Add "output-dir" option.
50740         (parse_opt): Handle 'o' case.
50741         (main): If output_dir is non-NULL use it as a prefix
50742         otherwise use "".
50743         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50747         [BZ #10060, #10062]
50748         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50749         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50750         fail configure if __sync_val_compare_and_swap is not inlined.
50751         * sysdeps/i386/configure: Regenerate.
50752         * configure.in: Build for i686 when configured for i386.
50753         * configure: Regenerate.
50754         * README: Remove i386 reference.
50756 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50758         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50759         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50761 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50763         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50764         (lmsnanval): New variables.
50765         (F): Add conversion tests.
50766         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50767         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50769         * stdio-common/tstdiomisc.c (F): Properly collect individual
50770         tests' results.
50772         [BZ #14686, #15336]
50773         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50774         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50775         Instead, use input NaN values or generate a qNaN by arithmetic
50776         operation.  Also fix bugs to comply with the standard.
50777         * math/libm-test.inc (remainder_test): Add more tests.
50779         [BZ #15335, #15342]
50780         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50782         input NaN values or generate a qNaN by arithmetic operation.
50784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50785         unreachable code.
50787         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50788         definitions.
50790 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50792         [BZ #14478]
50793         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50794         underflowed result.
50795         * math/s_cexpf.c (__cexpf): Likewise.
50796         * math/s_cexpl.c (__cexpl): Likewise.
50797         * math/libm-test.inc (cexp_test): Add more tests.
50799 2013-04-03  Andreas Schwab  <schwab@suse.de>
50801         [BZ #15330]
50802         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50803         order arrays from heap if bigger than alloca cutoff.
50805 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50807         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50808         (SNAN_TESTS_double): Refer to GCC PR56831.
50809         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50810         GCC PR56828.
50812 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50814         * Rules (bench): Move bench.out after the run is complete.
50816         * Rules (bench): Echo currently running benchmark.
50818         * benchtests/Makefile (bench): Add atan and slowatan.
50819         * benchtests/atan-inputs: New file.
50820         * benchtests/slowatan-inputs: New file.
50821         * benchtests/slowatan.c: New file.
50823         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50825         its value.
50827         [BZ #15305]
50828         * sysdeps/unix/sysv/linux/kernel-features.h
50829         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50830         __ASSUME_XFS_RESTRICTED_CHOWN.
50831         * sysdeps/unix/sysv/linux/pathconf.c
50832         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50833         Save and restore errno.
50835 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50837         [BZ #15327]
50838         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50839         arguments using __kernel_casinh.
50840         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50841         arguments using __kernel_casinhf.
50842         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50843         arguments using __kernel_casinhl.
50844         * math/libm-test.inc (cacosh_test): Add more tests.
50845         * sysdeps/i386/fpu/libm-test-ulps: Update.
50846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50848 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50850         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50853         * bench/Makefile (bench): Add sin and slowsin.
50854         * benchtests/sin-inputs: New file.
50855         * benchtests/slowsin-inputs: New file.
50856         * benchtests/slowsin.c: New file.
50858         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50859         (bench): Add slowexp and slowpow.
50860         (exp-ITER): Increase iterations.
50861         (pow-ITER): Likewise.
50862         * benchtests/exp-inputs: Change input.
50863         * benchtests/pow-inputs: Likewise.
50864         * benchtests/slowexp-inputs: New file.
50865         * benchtests/slowexp.c: New file.
50866         * benchtests/slowpow-inputs: New file.
50867         * benchtests/slowpow.c: New file.
50869 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50871         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50872         instructions.
50873         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50874         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50875         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50876         * benchtests/Makefile: Add rint benchtest.
50877         * benchtests/rint-inputs: Input for rint benchtest.
50879 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50881         * Versions.def (libm): Add GLIBC_2.18.
50882         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50883         hidden libm prototypes.
50884         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50885         * math/Makefile (libm-calls): Add s_issignaling.
50886         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50887         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50888         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50889         declaration.
50890         * math/math.h [__USE_GNU] (issignaling): New macro.
50891         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50892         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50893         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50894         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50895         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50896         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50897         * manual/arith.texi (issignaling): New section.
50898         * manual/libm-err-tab.pl (@all_functions): Update comment.
50899         * math/gen-libm-test.pl (parse_args): Apply special handling for
50900         issignaling.
50901         * math/libm-test.inc (print_float, issignaling_test): New
50902         functions.
50903         (check_float_internal): Add issignaling checks.
50904         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50905         default definition.
50906         * sysdeps/powerpc/math-tests.h: New file.
50907         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50908         tests.
50909         * math/test-snan.c (TEST_FUNC): Likewise.
50911 2013-03-30  David S. Miller  <davem@davemloft.net>
50913         * po/de.po: Update from translation team.
50915 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50917         [BZ #10357]
50918         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50919         imaginary part less than 1.0 and real part less than 0.5
50920         specially.
50921         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50922         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50923         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50924         (cacos_test): Add more tests.
50925         (casin_test): Likewise.
50926         (casinh_test): Likewise.
50927         * sysdeps/i386/fpu/libm-test-ulps: Update.
50928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50930 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50932         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50933         ONE with its value.
50935         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50936         (__pow_mp): Replace ONE and MONE with their values.
50937         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50939         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50940         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50941         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50942         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50944         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50946         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50947         (__pow_mp): Replace ZERO and MZERO with their values.
50948         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50949         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50950         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50952         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50953         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50954         (__sqr): Likewise.
50956         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50958         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50960 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50962         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50963         Declare with __attribute__ ((weak)).
50964         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50965         Call __call_tls_dtors only if it's not NULL.
50967 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50969         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50970         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50971         magic __ehdr_start linker symbol if it's defined.
50972         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50973         them up here if it was already done.
50975         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50976         (_dl_aux_init): Use const in cast when setting it.
50977         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50978         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50979         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50981         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50982         Declare them here.
50983         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50984         * csu/libc-tls.c: Nor here.
50985         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50987         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50988         (__libc_message): Never call vsyslog.
50990 2013-03-28  Alan Modra  <amodra@gmail.com>
50992         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50993         Define as empty.
50994         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50995         Likewise.
50997 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50999         [BZ #15214]
51000         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51001         underflow.
51002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51004 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51006         [BZ #15304]
51007         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51008         Don't add gid passed as argument.
51010         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51012 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51014         [BZ #15307]
51015         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51016         imaginary part between 1.0 and 1.5 and real part less than 0.5
51017         specially.
51018         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51019         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51020         * math/libm-test.inc (cacos_test): Add more tests.
51021         (casin_test): Likewise.
51022         (casinh_test): Likewise.
51023         * sysdeps/i386/fpu/libm-test-ulps: Update.
51024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51026 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51028         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51029         constants.
51030         (norm): Likewise.
51031         (denorm): Likewise.
51032         (__dbl_mp): Likewise.
51033         (add_magnitudes): Likewise.
51034         (sub_magnitudes): Likewise.
51035         (__add): Likewise.
51036         (__sub): Likewise.
51037         (__mul): Likewise.
51038         (__sqr): Likewise.
51039         (__inv): Likewise.
51040         (__dvd): Likewise.
51042         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51043         commented code.
51044         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51045         (__dubcos): Likewise.
51046         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51047         (__ieee754_acos): Likewise.
51048         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51049         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51050         (__exp1): Likewise.
51051         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51052         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51053         (log1): Likewise.
51054         (my_log2): Likewise.
51055         (checkint): Likewise.
51056         * sysdeps/ieee754/dbl-64/e_remainder.c
51057         (__ieee754_remainder): Likewise.
51058         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51060         (bsloww): Likewise.
51061         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51063         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51064         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51065         MANTISSA_STORE_T to store computations on mantissa.  Use
51066         macros for rounding and division.
51067         (denorm): Likewise.
51068         (__dbl_mp): Likewise.
51069         (add_magnitudes): Likewise.
51070         (sub_magnitudes): Likewise.
51071         (__mul): Likewise.
51072         (__sqr): Likewise.
51073         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51074         powers of two in terms of TWOPOW macro.
51075         (mp_no): Make type of mantissa as MANTISSA_T.
51076         [!RADIXI]: Define RADIXI.
51077         [!TWO52]: Define TWO52.
51078         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51080 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51082         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51083         llroundl symbol when building for PPC32.
51085 2013-03-24  Mark H Weaver  <mhw@netris.org>
51087         * manual/arith.texi (Normalization Functions): Fix prototypes for
51088         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51090 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51092         [BZ #13889]
51093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51094         high value to check if expl overflow.
51095         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51096         to check for underflow and overflow.
51097         * math/libm-test.inc: Add exp test.
51099 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51101         [BZ #11120]
51102         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51103         with NOT_IN_libc.
51105 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51107         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51108         symbol.
51110 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51112         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51113         wrap blocks consisting of several statements.
51115         * sysdeps/generic/math-tests.h: New file.
51116         * sysdeps/i386/fpu/math-tests.h: Likewise.
51117         * math/test-snan.c: Include it.
51118         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51120 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51122         [BZ #15285]
51123         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51124         (__ieee754_j0l): Do not improve calculations using cos of twice
51125         input for inputs above LDBL_MAX / 2.0L.
51126         (__ieee754_y0l): Likewise.
51127         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51128         (__ieee754_j1l): Do not improve calculations using cos of twice
51129         input for inputs above LDBL_MAX / 2.0L.
51130         (__ieee754_y1l): Likewise.
51131         * math/libm-test.inc (j0_test): Add another test.
51132         (j1_test): Likewise.
51133         (y0_test): Likewise.
51134         (y1_test): Likewise.
51135         * sysdeps/i386/fpu/libm-test-ulps: Update.
51137 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51139         * Rules ($(objpfx)bench-%.c): Include code from a C source
51140         file.
51142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51144         [BZ #15287]
51145         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51146         imaginary part 1.0 and real part less than 0.5 specially.
51147         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51148         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51149         * math/libm-test.inc (cacos_test): Add more tests.
51150         (casin_test): Likewise.
51151         (casinh_test): Likewise.
51152         * sysdeps/i386/fpu/libm-test-ulps: Update.
51153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51155 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51157         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51158         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51160 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51162         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51163         * config.make.in (config-cflags-sse4): Remove variable.
51164         (config-cflags-avx): Likewise.
51165         (config-cflags-sse2avx): Likewise.
51166         (config-cflags-novzeroupper): Likewise.
51167         (config-asflags-i686): Likewise.
51168         (have-mfma4): Likewise.
51169         (have-as-vis3): Likewise.
51170         (MIG): Likewise.
51171         * configure.in (MIG): Do not AC_SUBST.
51172         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51173         (libc_cv_cc_sse4): Do not AC_SUBST.
51174         (libc_cv_cc_avx): Likewise.
51175         (libc_cv_cc_sse2avx): Likewise.
51176         (libc_cv_cc_novzeroupper): Likewise.
51177         (libc_cv_cc_fma4): Likewise.
51178         (libc_cv_as_i686): Likewise.
51179         (libc_cv_sparc_as_vis3): Likewise.
51180         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51181         LIBC_CONFIG_VAR.
51182         (config-asflags-i686): Likewise.
51183         (config-cflags-avx): Likewise.
51184         (config-cflags-sse2avx): Likewise.
51185         (have-mfma4): Likewise.
51186         (config-cflags-novzeroupper): Likewise.
51187         * sysdeps/mach/configure.in (MIG): Likewise.
51188         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51189         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51190         LIBC_CONFIG_VAR.
51191         (config-cflags-avx): Likewise.
51192         (config-cflags-sse2avx): Likewise.
51193         (have-mfma4): Likewise.
51194         (config-cflags-novzeroupper): Likewise.
51195         * configure: Regenerated.
51196         * sysdeps/i386/configure: Likewise.
51197         * sysdeps/mach/configure: Likewise.
51198         * sysdeps/sparc/configure: Likewise.
51199         * sysdeps/x86_64/configure: Likewise.
51201 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51203         [BZ #14812]
51204         * locale/programs/localedef.c (options): Put N_ translation marker
51205         on argument names, not just descriptions.
51207 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51209         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51211 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51213         [BZ #14176]
51214         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51216 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51218         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51219         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51220         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51221         [!BEFORE_ABORT] (before_abort): New function.
51222         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51223         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51224         (writev_for_fatal): New function.
51225         (WRITEV_FOR_FATAL): New macro; call that.
51226         (backtrace_and_maps): New function.
51227         (BEFORE_ABORT): New macro; call that.
51228         (struct str_list): Type removed.
51229         (__libc_message, __libc_fatal): Functions removed.
51230         Include <sysdeps/posix/libc_fatal.c> instead.
51232 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51234         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51235         constants.
51236         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51237         double constants.
51239 2013-03-19  Andreas Schwab  <schwab@suse.de>
51241         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51242         * sysdeps/gnu/configure: Regenerate.
51244         * configure.in: Substitute libc_cv_rtlddir.
51245         * configure: Regenerate.
51246         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51247         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51248         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51249         * elf/Makefile (install-others, CFLAGS-interp.c)
51250         (ldso_install, common-ldd-rewrite): Likewise.
51251         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51252         $(inst_slibdir)/$(rtld-installed-name).
51253         * scripts/rellns-sh: Add -p option.
51254         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51255         for source.
51257 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51259         * manual/nptl.texi: Renamed to ...
51260         * manual/threads.texi: ... this.
51261         * manual/Makefile (chapters): Update.
51263 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51265         [BZ #14812]
51266         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51267         on argument names, not just descriptions.
51268         * malloc/memusagestat.c (options): Likewise.
51269         * nss/getent.c (options): Likewise.
51271 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51273         [BZ #14812]
51274         * iconv/iconv_prog.c (options): Put N_ translation marker
51275         on argument names, not just descriptions.
51276         * iconv/iconvconfig.c (options): Likewise.
51278 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51280         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51281         implementation which is faster on all x86_64 architectures.
51282         Tested on AMD, Intel Nehalem, SNB, IVB.
51283         * sysdeps/x86_64/strnlen.S: Likewise.
51285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51286         Remove all multiarch strlen and strnlen versions.
51287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51288         Remove strlen and strnlen related parts.
51290         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51291         Inline strlen part.
51292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51294         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51295         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51296         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51297         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51298         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51299         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51301 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51303         * manual/memory.texi (Malloc Tunable Parameters):
51304         Sort parameters alphabetically. Add comments for missing entries.
51306 2013-03-17  David S. Miller  <davem@davemloft.net>
51308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51310 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51312         [BZ #15283]
51313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51314         for arguments at most half maximum finite value.
51315         * math/libm-test.inc (j0_test): Add more tests.
51316         (j1_test): Likewise.
51317         (y0_test): Likewise.
51318         (y1_test): Likewise.
51319         * sysdeps/i386/fpu/libm-test-ulps: Update.
51320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51322         [BZ #14155]
51323         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51324         1 / x and functions P and Q for arguments above 0x1p256L.
51325         (__ieee754_y0l): Likewise.
51326         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51327         (__ieee754_y1l): Likewise.
51328         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51329         (j1_test): Likewise.
51330         (y0_test): Likewise.
51331         (y1_test): Likewise.
51333 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51335         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51336         variable.
51338 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51340         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51341         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51342         zero since it's initialized to EXEC_PAGESIZE.
51344         * sysdeps/unix/sysv/linux/ldsodefs.h
51345         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51346         * sysdeps/generic/ldsodefs.h: ... here.
51348 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51350         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51352         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51353         math/test-snan.c.
51354         * math/test-snan.c: Renamed from
51355         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51356         * math/Makefile (tests): Add test-snan.
51357         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51358         test-powerpc-snan.
51360         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51361         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51362         functions.
51363         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51364         __builtin_nan family of functions.
51365         * math/libm-test.inc (initialize): Initialize qnan_value with
51366         __builtin_nan family of functions.
51367         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51368         Remove variables.
51369         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51370         Remove functions.
51371         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51372         storage class.  Initialize qNaN_var and sNaN_var with
51373         __builtin_nan and __builtin_nans families of functions,
51374         respectively.
51376         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51377         (sqrt_test): Remove duplicate test with qNaN input.
51378         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51379         (round_test, signbit_test, significand_test): Note missing +/-Inf
51380         as well as qNaN tests.
51382         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51383         qNaN_var.  Fix a few strings, too.
51384         * math/libm-test.inc (nan_value): Rename to qnan_value.
51385         * math/gen-libm-test.pl (%beautify): Adjust to that.
51386         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51387         * math/test-misc.c (main): Likewise.
51388         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51389         to __qnan_bytes, and __qnan_union, respectively.
51390         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51391         Likewise.
51392         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51393         and lqnanval, respectively.
51394         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51395         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51396         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51397         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51399         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51400         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51401         doubles.
51403         * math/test-misc.c (main): Fix copy'n'pastos.
51404         * misc/tst-efgcvt.c (special): Likewise.
51406         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51407         Remove declarations.
51409 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51411         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51412         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51413         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51416 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51418         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51419         macro to return vdso values correctly in IFUNC implementations.
51420         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51421         Optimization by using IFUNC.
51423 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51424             Richard Henderson  <rth@redhat.com>
51425             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51427         * Makefile.in (bench): New target.
51428         * NEWS: Mention the benchmark framework.
51429         * Rules (bench): Likewise.
51430         (binaries-bench): Generate binaries for functions to
51431         benchmark.
51432         * benchtests/Makefile: New makefile for benchmark tests.
51433         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51434         programs.
51435         * benchtests/exp-inputs: New input file for EXP function.
51436         * benchtests/pow-inputs: New input file for POW function.
51437         * scripts/bench.pl: New script to generate source files for
51438         benchmark programs.
51440 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51442         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51444         computations on mantissa.  Use macros for rounding and
51445         division.
51446         (denorm): Likewise.
51447         (__dbl_mp): Likewise.
51448         (add_magnitudes): Likewise.
51449         (sub_magnitudes): Likewise.
51450         (__mul): Likewise.
51451         (__sqr): Likewise.
51452         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51453         powers of two in terms of TWOPOW macro.
51454         (mp_no): Make type of mantissa as MANTISSA_T.
51455         [!RADIXI]: Define RADIXI.
51456         [!TWO52]: Define TWO52.
51457         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51459         * manual/nptl.texi (cindex): Modify threads to pthreads.
51461 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51463         * sysdeps/x86_64/preconfigure: Regenerated.
51465 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51467         [BZ #14155]
51468         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51469         0x1p28 and above.
51470         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51471         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51472         0x1p28 and above.
51473         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51474         * math/libm-test.inc (j0_test): Do not allow one spurious
51475         underflow exception.
51476         (y1_test): Likewise.
51478 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51480         * manual/Makefile (chapters): Add nptl.
51481         * manual/debug.texi (Debugging Support): Add link to Threads
51482         chapter.
51483         * manual/nptl.texi: New file.
51485         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51487 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51489         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51490         for non-NULL pointer before the memory validity test. Pointed
51491         out by Holger Brunck <holger.brunck@keymile.com>.
51493 2013-03-13  Andreas Schwab  <schwab@suse.de>
51495         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51496         instead of .os.
51498 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51500         * timezone/zic.c: Update from tzcode 2013b.
51502 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51504         * manual/install.texi (Configuring and compiling):
51505         Mention i686 and i586.
51506         * INSTALL: Regenerate.
51508 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51510         * sysdeps/init_array/elf-init.c: New file.
51511         * csu/elf-init.c
51512         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51513         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51515         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51516         __gmon_start__ as global, but as static with a .preinit_array pointer.
51517         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51518         * sysdeps/init_array/crti.S: New file, empty except for comments.
51519         * sysdeps/init_array/crtn.S: Likewise.
51521 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51523         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51524         definining bcopy.
51525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51526         Remove Prefer_SSE_for_memop.
51527         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51528         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51529         HAS_PREFER_SSE_FOR_MEMOP.
51530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51531         memset-x86-64.
51532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51533         Remove bzero, memset ifunc support.
51534         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51535         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51536         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51537         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51539 2013-03-11  Andreas Schwab  <schwab@suse.de>
51541         [BZ #15234]
51542         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51543         by SHLIB_COMPAT.
51544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51545         (GLIBC_2.16): Remove pthread_atfork.
51547 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51549         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51550         (ptestcases.h): Likewise.
51552 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51554         * Makeconfig ($(common-objpfx)config.status): Depend on
51555         sysdeps/*/preconfigure{,.in} too.
51557 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51559         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51560         (__free_hook): Use void * instead of __malloc_ptr_t.
51561         (__malloc_hook): Likewise.
51562         (__realloc_hook): Likewise.
51563         (__memalign_hook): Likewise.
51564         (__after_morecore_hook): Likewise.
51565         * malloc/arena.c (save_malloc_hook): Likewise.
51566         (save_free_hook): Likewise.
51567         * malloc/hooks.c (malloc_hook_ini): Likewise.
51568         (realloc_hook_ini): Likewise.
51569         (memalign_hook_ini): Likewise.
51570         * malloc/malloc.c (malloc_hook_ini): Likewise.
51571         (realloc_hook_ini): Likewise.
51572         (memalign_hook_ini): Likewise.
51573         (__free_hook): Likewise.
51574         (__malloc_hook): Likewise.
51575         (__realloc_hook): Likewise.
51576         (__memalign_hook): Likewise.
51577         (__libc_malloc): Likewise.
51578         (__libc_free): Likewise.
51579         (__libc_realloc): Likewise.
51580         (__libc_memalign): Likewise.
51581         (__libc_valloc): Likewise.
51582         (__libc_pvalloc): Likewise.
51583         (__libc_calloc): Likewise.
51584         (__posix_memalign): Likewise.
51585         * malloc/morecore.c (__sbrk): Likewise.
51586         (__default_morecore): Likewise.
51588         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51590         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51591         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51592         __malloc_ptrdiff_t.
51594         * malloc/malloc.h (__malloc_size_t): Remove macro.
51595         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51596         __malloc_size_t.
51597         (old_memalign_hook): Likewise.
51598         (old_realloc_hook): Likewise.
51599         (struct hdr): Likewise.
51600         (flood): Likewise.
51601         (mallochook): Likewise.
51602         (memalignhook): Likewise.
51603         (reallochook): Likewise.
51604         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51605         (tr_old_realloc_hook): Likewise.
51606         (tr_old_memalign_hook): Likewise.
51607         (tr_mallochook): Likewise.
51608         (tr_reallochook): Likewise.
51609         (tr_memalignhook): Likewise.
51611 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51614         default_ldbl_pack and using as default implementation.
51615         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51616         implementation.
51617         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51618         redundant definition.
51619         (ldbl_insert_mantissa): Likewise.
51620         (ldbl_canonicalize): Likewise.
51621         (ldbl_nearbyint): Likewise.
51622         (ldbl_pack): Rename to ldbl_pack_ppc.
51623         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51624         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51625         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51627 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51630         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51631         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51632         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51634         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51635         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51636         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51638 2013-03-07  Andreas Jaeger  <aj@suse.de>
51640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51641         bits/mman-linux.h.
51643 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51645         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51646         Include mpa.h and declare __MPEXP.
51647         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51649         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51650         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51652         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51653         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51655         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51656         (__slowpow): Use long double EXPL and LOGL functions to
51657         compute POW.
51658         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51659         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51660         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51661         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51662         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51666         intermediate variable to calculate exponent.
51667         (__sqr): Likewise.
51668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51669         Likewise.
51670         (__sqr): Likewise.
51672         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51673         [!NO__SQR]: Define __sqr.
51674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51675         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51676         sysdeps/ieee754/dbl-64/mpa.c.
51677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51679         [BZ #12723]
51680         * posix/Makefile (tests): Add tst-pathconf.
51681         * posix/tst-pathconf.c: New test case.
51682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51683         _PC_PIPE_BUF.
51684         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51686 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51688         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51690 2013-03-06  Andreas Jaeger  <aj@suse.de>
51692         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51693         definition via __MAP_ANONYMOUS.
51695         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51696         it's not part of Linux headers.
51698         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51699         (MAP_HUGE_MASK): Define.
51701         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51702         Define.
51703         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51705         Define.
51706         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51707         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51708         Define.
51709         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51711         Define.
51712         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51714         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51715         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51716         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51717         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51718         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51719         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51721         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51722         Handle f2fs.
51724         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51725         Handle f2fs and efivarfs.
51727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51728         f2fs.
51730         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51731         (EFIVARFS_MAGIC): Add.
51732         (F2FS_LINK_MAX): Add.
51734 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51736         * stdio-common/vfprintf.c: Replace __builtin_expect with
51737         __glibc_unlikely.
51739 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51741         [BZ #13550]
51742         * sysdeps/generic/bp-sym.h: Remove file.
51743         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51744         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51745         <bp-sym.h> and <bp-asm.h>.
51746         (__longjmp): Don't use BP_SYM.
51747         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51748         and <bp-asm.h>.
51749         (memcpy): Don't use BP_SYM.
51750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51751         <bp-sym.h> and <bp-asm.h>.
51752         (memcpy): Don't use BP_SYM.
51753         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51754         <bp-asm.h>.
51755         (memcpy): Don't use BP_SYM.
51756         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51757         <bp-asm.h>.
51758         (memset): Don't use BP_SYM.
51759         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51760         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51761         (__bzero): Don't use BP_SYM.
51762         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51763         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51764         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51765         <bp-sym.h> and <bp-asm.h>.
51766         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51767         pointers.
51768         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51769         <bp-sym.h> and <bp-asm.h>.
51770         (memcpy): Don't use BP_SYM.
51771         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51772         <bp-sym.h> and <bp-asm.h>.
51773         (memset): Don't use BP_SYM.
51774         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51775         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51776         (__bzero): Don't use BP_SYM.
51777         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51778         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51779         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51780         <bp-sym.h> and <bp-asm.h>.
51781         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51782         pointers.
51783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51784         <bp-sym.h> and <bp-asm.h>.
51785         (memcpy): Don't use BP_SYM.
51786         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51787         <bp-sym.h> and <bp-asm.h>.
51788         (memset): Don't use BP_SYM.
51789         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51790         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51791         (__bzero): Don't use BP_SYM.
51792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51795         <bp-sym.h> and <bp-asm.h>.
51796         (__memchr): Don't use BP_SYM.
51797         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51798         <bp-sym.h> and <bp-asm.h>.
51799         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51800         pointers.
51801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51802         <bp-sym.h> and <bp-asm.h>.
51803         (memcpy): Don't use BP_SYM.
51804         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51805         <bp-sym.h> and <bp-asm.h>.
51806         (__mempcpy): Don't use BP_SYM.
51807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51808         <bp-sym.h> and <bp-asm.h>.
51809         (__memrchr): Don't use BP_SYM.
51810         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51811         <bp-sym.h> and <bp-asm.h>.
51812         (memset): Don't use BP_SYM.
51813         (__bzero): Likewise.
51814         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51815         <bp-sym.h> and <bp-asm.h>.
51816         (__rawmemchr): Don't use BP_SYM.
51817         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51818         <bp-sym.h> and <bp-asm.h>.
51819         (__STRCMP): Don't use BP_SYM.
51820         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51821         <bp-sym.h> and <bp-asm.h>.
51822         (strchr): Don't use BP_SYM.
51823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51824         <bp-sym.h> and <bp-asm.h>.
51825         (__strchrnul): Don't use BP_SYM.
51826         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51827         <bp-sym.h> and <bp-asm.h>.
51828         (strlen): Don't use BP_SYM.
51829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51830         <bp-sym.h> and <bp-asm.h>.
51831         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51832         pointers.
51833         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51834         <bp-sym.h> and <bp-asm.h>.
51835         (__strnlen): Don't use BP_SYM.
51836         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51837         <bp-sym.h> and <bp-asm.h>.
51838         (__GI__setjmp): Don't use BP_SYM.
51839         (_setjmp): Likewise.
51840         (__sigsetjmp): Likewise.
51841         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51842         (L(start_addresses)): Don't use BP_SYM.
51843         (_start): Likewise.
51844         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51845         <bp-asm.h>.
51846         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51847         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51848         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51849         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51850         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51851         <bp-asm.h>.
51852         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51853         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51854         about bounded pointers.
51855         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51856         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51857         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51858         <bp-asm.h>.
51859         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51860         about bounded pointers.  Remove GKM FIXME comments.
51861         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51862         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51863         <bp-asm.h>.
51864         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51865         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51866         Remove GKM FIXME comments.
51867         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51868         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51869         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51870         <bp-asm.h>.
51871         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51872         about bounded pointers.  Remove GKM FIXME comment.
51873         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51874         and <bp-asm.h>.
51875         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51876         pointers.
51877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51878         <bp-sym.h> and <bp-asm.h>.
51879         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51881         <bp-sym.h> and <bp-asm.h>.
51882         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51883         comment.
51885 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51887         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51888         call free(NULL).
51890 2013-03-05  David S. Miller  <davem@davemloft.net>
51892         * po/es.po: Update from translation team.
51894 2013-03-05  Andreas Jaeger  <aj@suse.de>
51896         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51897         <bits/mman-linux.h>.
51898         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51899         is fine.
51900         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51901         <bits/mman-linux.h> to end of file.
51902         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51903         is fine.
51904         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51905         <bits/mman-linux.h> to end of file.
51906         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51907         is fine.
51908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51909         <bits/mman-linux.h> to end of file.
51911         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51912         (MCL_CURRENT, MCL_FUTURE): Define here.
51914 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51916         [BZ #15232]
51917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51918         attribute_hidden.
51919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51921 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51924         fourth parameter needed for rt_sigprocmask syscall.
51925         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51926         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51927         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51928         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51929         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51930         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51932 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51934         [BZ #13550]
51935         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51936         comment about bounded pointers.
51937         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51938         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51940 2013-03-04  Andreas Jaeger  <aj@suse.de>
51942         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51943         common definitions.
51945         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51946         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51947         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51948         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51949         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51950         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51952 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51954         [BZ #15055]
51955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51956         __ieee754_sqrl instead of __sqrl.
51958 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51960         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51961         * sysdeps/powerpc/fpu_control.h: ... here.
51962         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51963         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51964         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51965         * sysdeps/powerpc/bits/mathinline.h: ... here.
51967 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51969         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51970         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51971         to just [NEED_DL_SYSINFO_DSO].
51972         * elf/dl-support.c: Likewise.
51973         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51974         * elf/rtld.c (dl_main): Likewise.
51975         * elf/setup-vdso.h (setup_vdso): Likewise.
51976         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51977         * sysdeps/unix/sysv/linux/dl-sysdep.c
51978         (_dl_discover_osversion): Likewise.
51980 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51982         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51983         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51985 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51987         * NEWS: Mention libm performance improvements and non-x86 PI
51988         futex support.
51990         * csu/libc-start.c (__pthread_initialize_minimal): Change
51991         function arguments.
51992         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51994 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51996         [BZ #13550]
51997         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51998         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51999         <bp-sym.h> and <bp-asm.h>.
52000         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52001         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52002         and <bp-asm.h>.
52003         (memcpy): Don't use BP_SYM.
52004         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52005         <bp-asm.h>.
52006         (__mpn_add_n): Don't use BP_SYM.
52007         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52008         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52009         and <bp-asm.h>.
52010         (__mpn_addmul_1): Don't use BP_SYM.
52011         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52012         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52013         <bp-sym.h>.
52014         (_setjmp): Don't use BP_SYM.
52015         (__novmx_setjmp): Likewise.
52016         (__GI__setjmp): Likewise.
52017         (__vmx_setjmp): Likewise.
52018         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52019         <bp-sym.h>.
52020         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52021         (__bzero): Don't use BP_SYM.
52022         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52023         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52024         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52025         <bp-sym.h> and <bp-asm.h>.
52026         (memcpy): Don't use BP_SYM.
52027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52028         <bp-sym.h> and <bp-asm.h>.
52029         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52030         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52031         <bp-sym.h> and <bp-asm.h>.
52032         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52033         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52034         <bp-asm.h>.
52035         (__mpn_lshift): Don't use BP_SYM.
52036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52037         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52038         <bp-asm.h>.
52039         (memset): Don't use BP_SYM.
52040         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52041         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52042         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52043         <bp-asm.h>.
52044         (__mpn_mul_1): Don't use BP_SYM.
52045         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52046         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52047         <bp-sym.h> and <bp-asm.h>.
52048         (memcmp): Don't use BP_SYM.
52049         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52050         <bp-sym.h> and <bp-asm.h>.
52051         (memcpy): Don't use BP_SYM.
52052         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52053         <bp-sym.h> and <bp-asm.h>.
52054         (memset): Don't use BP_SYM.
52055         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52056         <bp-sym.h> and <bp-asm.h>.
52057         (strncmp): Don't use BP_SYM.
52058         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52059         <bp-sym.h> and <bp-asm.h>.
52060         (memcpy): Don't use BP_SYM.
52061         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52062         <bp-sym.h> and <bp-asm.h>.
52063         (memset): Don't use BP_SYM.
52064         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52065         <bp-sym.h> and <bp-asm.h>.
52066         (__memchr): Don't use BP_SYM.
52067         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52068         <bp-sym.h> and <bp-asm.h>.
52069         (memcmp): Don't use BP_SYM.
52070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52071         <bp-sym.h> and <bp-asm.h>.
52072         (memcpy): Don't use BP_SYM.
52073         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52074         <bp-sym.h> and <bp-asm.h>.
52075         (__mempcpy): Don't use BP_SYM.
52076         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52077         <bp-sym.h> and <bp-asm.h>.
52078         (__memrchr): Don't use BP_SYM.
52079         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52080         <bp-sym.h> and <bp-asm.h>.
52081         (memset): Don't use BP_SYM.
52082         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52083         <bp-sym.h> and <bp-asm.h>.
52084         (__rawmemchr): Don't use BP_SYM.
52085         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52086         <bp-sym.h> and <bp-asm.h>.
52087         (__STRCMP): Don't use BP_SYM.
52088         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52089         <bp-sym.h> and <bp-asm.h>.
52090         (strchr): Don't use BP_SYM.
52091         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52092         <bp-sym.h> and <bp-asm.h>.
52093         (__strchrnul): Don't use BP_SYM.
52094         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52095         <bp-sym.h> and <bp-asm.h>.
52096         (strlen): Don't use BP_SYM.
52097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52098         <bp-sym.h> and <bp-asm.h>.
52099         (strncmp): Don't use BP_SYM.
52100         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52101         <bp-sym.h> and <bp-asm.h>.
52102         (__strnlen): Don't use BP_SYM.
52103         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52104         <bp-asm.h>.
52105         (__mpn_rshift): Don't use BP_SYM.
52106         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52107         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52108         <bp-sym.h> and <bp-asm.h>.
52109         (__sigsetjmp): Don't use BP_SYM.
52110         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52111         (L(start_addresses)): Don't use BP_SYM.
52112         (_start): Likewise.
52113         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52114         <bp-asm.h>.
52115         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52116         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52117         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52118         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52119         <bp-asm.h>.
52120         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52121         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52122         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52123         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52124         <bp-asm.h>.
52125         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52126         comments.
52127         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52128         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52129         <bp-asm.h>.
52130         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52131         FIXME comments.
52132         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52133         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52134         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52135         <bp-asm.h>.
52136         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52137         comment.
52138         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52139         and <bp-asm.h>.
52140         (strncmp): Don't use BP_SYM,
52141         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52142         <bp-asm.h>.
52143         (__mpn_sub_n): Don't use BP_SYM.
52144         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52145         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52146         and <bp-asm.h>.
52147         (__mpn_submul_1): Don't use BP_SYM.
52148         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52150         <bp-sym.h> and <bp-asm.h>.
52151         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52153         <bp-sym.h> and <bp-asm.h>.
52154         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52155         comment.
52157 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52160         Use ZK to minimize writes to Z.
52161         (sub_magnitudes): Simplify code a bit.
52162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52163         Use ZK to minimize writes to Z.
52164         (sub_magnitudes): Simplify code a bit.
52166 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52168         * csu/gmon-start.c: Add special exception to license text.
52170 2013-02-27  Richard Henderson  <rth@redhat.com>
52172         * scripts/config.guess: Update from config.git.
52173         * scripts/config.sub: Likewise.
52175 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52177         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52179         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52181         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52183         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52185         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52187 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52189         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52190         [$(build-shared = yes].
52192 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52194         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52195         (__mul): Reduce iterations for calculating mantissa.
52197         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52198         MPTWO.
52199         (__mpranred): Likewise.
52201         [BZ #15160]
52202         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52203         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52205 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52207         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52208         Define __attribute__.
52210 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52212         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52213         unused.
52214         * posix/regex_internal.h (__attribute): Remove.
52215         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52216         (re_string_context_at): Likewise.
52217         (bitset_not): Use __attribute__ and mark function as possibly
52218         unused.
52219         (bitset_merge): Likewise.
52220         (bitset_mask): Likewise.
52221         (re_string_char_size_at): Likewise.
52222         (re_string_wchar_at): Likewise.
52223         (re_string_elem_size_at): Likewise.
52225 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52227         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52228         code.
52229         (cc32): Likewise.
52231         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52232         (__acr): Likewise.
52233         (__cpy): Likewise.
52234         (norm): Likewise.
52235         (denorm): Likewise.
52236         (__dbl_mp): Likewise.
52237         (add_magnitudes): Likewise.
52238         (sub_magnitudes): Likewise.
52239         (__mul): Likewise.
52240         (__inv): Likewise.
52242         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52243         style.
52245         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52246         style.
52248         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52249         code.
52251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52252         up changes with default code.
52253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52254         Likewise.
52256 2013-02-24  Allan McRae  <allan@archlinux.org>
52258         * manual/socket.texi (The Internet Namespace): Order menu items
52259         to match that in the file.
52261         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52262         node listing of the info page menu.
52264 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52266         [BZ #13550]
52267         * sysdeps/i386/bp-asm.h: Remove file.
52268         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52269         (PARMS): Do not use macros from bp-asm.h.
52270         (S1): Likewise.
52271         (S2): Likewise.
52272         (SIZE): Likewise.
52273         (__mpn_add_n): Do not use BP_SYM
52274         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52275         "bp-asm.h".
52276         (PARMS): Do not use macros from bp-asm.h.
52277         (S1): Likewise.
52278         (SIZE): Likewise.
52279         (__mpn_addmul_1): Do not use BP_SYM
52280         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52281         "bp-asm.h".
52282         (PARMS): Do not use macros from bp-asm.h.
52283         (SIGMSK): Likewise.
52284         (_setjmp): Likewise.  Do not use BP_SYM.
52285         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52286         "bp-asm.h".
52287         (PARMS): Do not use macros from bp-asm.h.
52288         (SIGMSK): Likewise.
52289         (setjmp): Likewise.  Do not use BP_SYM.
52290         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52291         "bp-asm.h".
52292         (PARMS): Do not use macros from bp-asm.h.
52293         (__frexp): Do not use BP_SYM.
52294         (frexp): Likewise.
52295         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52296         "bp-asm.h".
52297         (PARMS): Do not use macros from bp-asm.h.
52298         (__frexpf): Do not use BP_SYM.
52299         (frexpf): Likewise.
52300         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52301         "bp-asm.h".
52302         (PARMS): Do not use macros from bp-asm.h.
52303         (__frexpl): Do not use BP_SYM.
52304         (frexpl): Likewise.
52305         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52306         "bp-asm.h".
52307         (PARMS): Do not use macros from bp-asm.h.
52308         (__remquo): Do not use BP_SYM.
52309         (remquo): Likewise.
52310         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52311         "bp-asm.h".
52312         (PARMS): Do not use macros from bp-asm.h.
52313         (__remquof): Do not use BP_SYM.
52314         (remquof): Likewise.
52315         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52316         "bp-asm.h".
52317         (PARMS): Do not use macros from bp-asm.h.
52318         (__remquol): Do not use BP_SYM.
52319         (remquol): Likewise.
52320         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52321         "bp-asm.h".
52322         (PARMS): Do not use macros from bp-asm.h.
52323         (DEST): Likewise.
52324         (SRC): Likewise.
52325         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52326         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52327         "bp-asm.h".
52328         (PARMS): Do not use macros from bp-asm.h.
52329         (strlen): Do not use BP_SYM.
52330         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52331         "bp-asm.h".
52332         (PARMS): Do not use macros from bp-asm.h.
52333         (S1): Likewise.
52334         (S2): Likewise.
52335         (SIZE): Likewise.
52336         (__mpn_add_n): Do not use BP_SYM.
52337         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52338         "bp-asm.h".
52339         (PARMS): Do not use macros from bp-asm.h.
52340         (S1): Likewise.
52341         (SIZE): Likewise.
52342         (__mpn_addmul_1): Do not use BP_SYM.
52343         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52344         weak_alias.
52345         (bzero): Likewise.
52346         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52347         "bp-asm.h".
52348         (PARMS): Do not use macros from bp-asm.h.
52349         (S): Likewise.
52350         (SIZE): Likewise.
52351         (__mpn_lshift): Do not use BP_SYM.
52352         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52353         "bp-asm.h".
52354         (PARMS): Do not use macros from bp-asm.h.
52355         (DEST): Likewise.
52356         (SRC): Likewise.
52357         (LEN): Likewise.
52358         (memcpy): Likewise.  Do not use BP_SYM.
52359         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52360         libc_hidden_def and weak_alias.
52361         (mempcpy): Do not use BP_SYM in weak_alias.
52362         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52363         "bp-asm.h".
52364         (PARMS): Do not use macros from bp-asm.h.
52365         (DEST): Likewise.
52366         (LEN): Likewise.
52367         [!BZERO_P] (CHR): Likewise.
52368         (memset): Likewise.  Do not use BP_SYM.
52369         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52370         "bp-asm.h".
52371         (PARMS): Do not use macros from bp-asm.h.
52372         (S1): Likewise.
52373         (SIZE): Likewise.
52374         (__mpn_mul_1): Do not use BP_SYM.
52375         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52376         "bp-asm.h".
52377         (PARMS): Do not use macros from bp-asm.h.
52378         (S): Likewise.
52379         (SIZE): Likewise.
52380         (__mpn_rshift): Do not use BP_SYM.
52381         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52382         "bp-asm.h".
52383         (PARMS): Do not use macros from bp-asm.h.
52384         (STR): Likewise.
52385         (CHR): Likewise.
52386         (strchr): Likewise.  Do not use BP_SYM.
52387         (index): Do not use BP_SYM in weak_alias.
52388         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52389         "bp-asm.h".
52390         (PARMS): Do not use macros from bp-asm.h.
52391         (DEST): Likewise.
52392         (SRC): Likewise.
52393         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52394         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52395         "bp-asm.h".
52396         (PARMS): Do not use macros from bp-asm.h.
52397         (strlen): Do not use BP_SYM.
52398         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52399         "bp-asm.h".
52400         (PARMS): Do not use macros from bp-asm.h.
52401         (S1): Likewise.
52402         (S2): Likewise.
52403         (SIZE): Likewise.
52404         (__mpn_sub_n): Do not use BP_SYM.
52405         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52406         "bp-asm.h".
52407         (PARMS): Do not use macros from bp-asm.h.
52408         (S1): Likewise.
52409         (SIZE): Likewise.
52410         (__mpn_submul_1): Do not use BP_SYM.
52411         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52412         "bp-asm.h".
52413         (PARMS): Do not use macros from bp-asm.h.
52414         (S1): Likewise.
52415         (S2): Likewise.
52416         (SIZE): Likewise.
52417         (__mpn_add_n): Do not use BP_SYM.
52418         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52419         weak_alias.
52420         (bzero): Likewise.
52421         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52422         "bp-asm.h".
52423         (PARMS): Do not use macros from bp-asm.h.
52424         (BLK2): Likewise.
52425         (LEN): Likewise.
52426         (memcmp): Do not use BP_SYM.
52427         (bcmp): Do not use BP_SYM in weak_alias.
52428         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52429         "bp-asm.h".
52430         (PARMS): Do not use macros from bp-asm.h.
52431         (DEST): Likewise.
52432         (SRC): Likewise.
52433         (LEN): Likewise.
52434         (memcpy): Likewise.  Do not use BP_SYM.
52435         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52436         "bp-asm.h".
52437         (PARMS): Do not use macros from bp-asm.h.
52438         (DEST): Likewise.
52439         (SRC): Likewise.
52440         (LEN): Likewise.
52441         (memmove): Likewise.  Do not use BP_SYM.
52442         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52443         "bp-asm.h".
52444         (PARMS): Do not use macros from bp-asm.h.
52445         (DEST): Likewise.
52446         (SRC): Likewise.
52447         (LEN): Likewise.
52448         (__mempcpy): Likewise.  Do not use BP_SYM.
52449         (mempcpy): Do not use BP_SYM in weak_alias.
52450         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52451         "bp-asm.h".
52452         (PARMS): Do not use macros from bp-asm.h.
52453         (DEST): Likewise.
52454         (LEN): Likewise.
52455         [!BZERO_P] (CHR): Likewise.
52456         (memset): Likewise.  Do not use BP_SYM.
52457         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52458         "bp-asm.h".
52459         (PARMS): Do not use macros from bp-asm.h.
52460         (STR2): Likewise.
52461         (strcmp): Do not use BP_SYM.
52462         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52463         "bp-asm.h".
52464         (PARMS): Do not use macros from bp-asm.h.
52465         (STR): Likewise.
52466         (DELIM): Likewise.
52467         [USE_AS_STRTOK_R] (SAVE): Likewise.
52468         (FUNCTION): Likewise.  Do not use BP_SYM.
52469         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52470         aliases.
52471         (strtok_r): Likewise.
52472         (__GI___strtok_r): Likewise.
52473         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52474         (PARMS): Do not use macros from bp-asm.h.
52475         (S): Likewise.
52476         (SIZE): Likewise.
52477         (__mpn_lshift): Do not use BP_SYM.
52478         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52479         (PARMS): Do not use macros from bp-asm.h.
52480         (STR): Likewise.
52481         (CHR): Likewise.
52482         (__memchr): Do not use BP_SYM.
52483         (memchr): Do not use BP_SYM in weak_alias.
52484         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52485         (PARMS): Do not use macros from bp-asm.h.
52486         (BLK2): Likewise.
52487         (LEN): Likewise.
52488         (memcmp): Do not use BP_SYM.
52489         (bcmp): Do not use BP_SYM in weak_alias.
52490         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52491         (PARMS): Do not use macros from bp-asm.h.
52492         (S1): Likewise.
52493         (SIZE): Likewise.
52494         (__mpn_mul_1): Do not use BP_SYM.
52495         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52496         "bp-asm.h".
52497         (PARMS): Do not use macros from bp-asm.h.
52498         (STR): Likewise.
52499         (CHR): Likewise.
52500         (__rawmemchr): Do not use BP_SYM.
52501         (rawmemchr): Do not use BP_SYM in weak_alias.
52502         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52503         (PARMS): Do not use macros from bp-asm.h.
52504         (S): Likewise.
52505         (SIZE): Likewise.
52506         (__mpn_rshift): Do not use BP_SYM.
52507         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52508         (PARMS): Do not use macros from bp-asm.h.
52509         (SIGMSK): Likewise.
52510         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52511         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52512         (_start): Do not use BP_SYM.
52513         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52514         (PARMS): Do not use macros from bp-asm.h.
52515         (DEST): Likewise.
52516         (SRC): Likewise.
52517         (__stpcpy): Likewise.  Do not use BP_SYM.
52518         (stpcpy): Do not use BP_SYM in weak_alias.
52519         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52520         "bp-asm.h".
52521         (PARMS): Do not use macros from bp-asm.h.
52522         (DEST): Likewise.
52523         (SRC): Likewise.
52524         (LEN): Likewise.
52525         (__stpncpy): Likewise.  Do not use BP_SYM.
52526         (stpncpy): Do not use BP_SYM in weak_alias.
52527         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52528         (PARMS): Do not use macros from bp-asm.h.
52529         (STR): Likewise.
52530         (CHR): Likewise.
52531         (strchr): Likewise.  Do not use BP_SYM.
52532         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52533         "bp-asm.h".
52534         (PARMS): Do not use macros from bp-asm.h.
52535         (STR): Likewise.
52536         (CHR): Likewise.
52537         (__strchrnul): Likewise.  Do not use BP_SYM.
52538         (strchrnul): Do not use BP_SYM in weak_alias.
52539         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52540         "bp-asm.h".
52541         (PARMS): Do not use macros from bp-asm.h.
52542         (STOP): Likewise.
52543         (strcspn): Do not use BP_SYM.
52544         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52545         "bp-asm.h".
52546         (PARMS): Do not use macros from bp-asm.h.
52547         (STR): Likewise.
52548         (STOP): Likewise.
52549         (strpbrk): Likewise.  Do not use BP_SYM.
52550         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52551         "bp-asm.h".
52552         (PARMS): Do not use macros from bp-asm.h.
52553         (STR): Likewise.
52554         (CHR): Likewise.
52555         (strrchr): Likewise.  Do not use BP_SYM.
52556         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52557         (PARMS): Do not use macros from bp-asm.h.
52558         (SKIP): Likewise.
52559         (strspn): Do not use BP_SYM.
52560         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52561         (PARMS): Do not use macros from bp-asm.h.
52562         (STR): Likewise.
52563         (DELIM): Likewise.
52564         (SAVE): Likewise.
52565         (FUNCTION): Likewise.  Do not use BP_SYM.
52566         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52567         aliases.
52568         (strtok_r): Likewise.
52569         (__GI___strtok_r): Likewise.
52570         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52571         (PARMS): Do not use macros from bp-asm.h.
52572         (S1): Likewise.
52573         (S2): Likewise.
52574         (SIZE): Likewise.
52575         (__mpn_sub_n): Do not use BP_SYM.
52576         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52577         "bp-asm.h".
52578         (PARMS): Do not use macros from bp-asm.h.
52579         (S1): Likewise.
52580         (SIZE): Likewise.
52581         (__mpn_submul_1): Do not use BP_SYM.
52582         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52583         <bp-sym.h>.
52584         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52585         and <bp-asm.h>.
52586         (PARMS): Do not use macros from bp-asm.h.
52587         (FLAGS): Likewise.
52588         (PTID): Likewise.
52589         (TLS): Likewise.
52590         (CTID): Likewise.
52591         (__clone): Do not use BP_SYM.
52592         (clone): Do not use BP_SYM in weak_alias.
52593         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52594         and <bp-asm.h>.
52595         (PARMS): Do not use macros from bp-asm.h.
52596         (LEN): Likewise.
52597         (__mmap64): Do not use BP_SYM.
52598         (mmap64): Do not use BP_SYM in weak_alias.
52599         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52600         <bp-sym.h> and <bp-asm.h>.
52601         (PARMS): Do not use macros from bp-asm.h.
52602         (__posix_fadvise64_l64): Do not use BP_SYM.
52603         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52604         (PARMS): Do not use macros from bp-asm.h.
52605         (NSOPS): Likewise.
52606         (semtimedop): Do not use BP_SYM.
52607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52608         and <bp-asm.h>.
52610 2013-02-21  Allan McRae  <allan@archlinux.org>
52612         * manual/message.texi (Charset conversion in gettext):
52613         Move @end statement to beginning of line.
52615 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52618         static.
52619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52620         Likewise.
52622         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52623         (denorm): Likewise.
52624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52627 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52629         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52630         tail-call to the resolved function if pltexit isn't needed.
52632 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52635         or Y being zero as being unlikely.
52636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52637         Likewise.
52639 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52641         * manual/nss.texi (System Databases and Name Service Switch):
52642         Remove frobnicate @pxref.
52644 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52646         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52647         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52649 2013-02-20  Petr Machata  <pmachata@redhat.com>
52651         * elf/elf.h (R_ARM_TARGET1): New macro.
52652         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52653         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52654         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52655         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52656         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52657         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52658         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52659         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52660         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52661         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52662         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52663         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52664         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52665         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52666         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52667         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52668         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52669         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52670         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52671         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52672         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52673         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52674         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52675         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52676         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52677         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52678         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52679         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52680         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52681         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52682         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52683         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52684         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52685         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52686         (R_ARM_THM_GOT_BREL12): Likewise.
52687         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52688         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52689         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52690         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52691         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52692         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52693         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52694         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52695         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52697 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52699         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52700         __attribute_used__ to __attribute__ ((unused)).
52702 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52704         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52705         powerpc mpa.c.
52706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52707         comment formatting.
52708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52710 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52712         [BZ #13550]
52713         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52714         Remove macro.
52715         (ENTER): Remove both macro definitions.
52716         (LEAVE): Likewise.
52717         (CHECK_BOUNDS_LOW): Likewise.
52718         (CHECK_BOUNDS_HIGH): Likewise.
52719         (CHECK_BOUNDS_BOTH): Likewise.
52720         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52721         (RETURN_BOUNDED_POINTER): Likewise.
52722         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52723         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52724         (POP_ERRNO_LOCATION_RETURN): Likewise.
52725         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52726         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52727         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52728         macros.
52729         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52730         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52731         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52732         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52733         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52734         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52735         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52736         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52737         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52738         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52739         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52740         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52741         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52742         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52743         removed macros.
52744         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52745         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52746         macros.
52747         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52748         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52749         * sysdeps/i386/i586/memset.S (memset): Likewise.
52750         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52751         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52752         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52753         macros.
52754         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52755         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52756         Change uses of L(2) to L(out).
52757         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52758         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52759         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52760         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52761         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52762         removed macros.
52763         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52764         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52765         macros.
52766         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52767         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52768         (RETURN): Do not use macro LEAVE.
52769         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52770         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52771         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52772         * sysdeps/i386/i686/memset.S (memset): Likewise.
52773         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52774         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52775         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52776         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52777         Likewise.
52778         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52779         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52780         L(1_2) and L(1_3) into L(1).
52781         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52782         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52783         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52784         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52785         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52786         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52787         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52788         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52789         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52790         macros.
52791         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52792         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52793         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52794         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52795         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52796         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52797         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52798         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52799         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52800         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52801         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52802         * sysdeps/i386/strspn.S (strspn): Likewise.
52803         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52804         conditional code.
52805         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52806         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52807         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52808         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52809         L(1_3) into L(1_1).
52810         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52811         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52812         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52813         macros.
52814         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52816 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52818         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52819         macro.
52821 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         * math/atest-exp.c (exp_mpn): Remove ROUND.
52824         * math/atest-exp2.c (exp_mpn): Likewise.
52825         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52827         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52828         * stdlib/tst-tls-atexit-lib.c: Likewise.
52829         * stdlib/tst-tls-atexit.c: Likewise.
52831 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52833         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52834         and __attribute_alloc_size__.
52836 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52838         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52839         __attribute_alloc_size__.
52840         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52841         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52843 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52845         * include/programs/xmalloc.h: New file.
52846         * catgets/gencat.c: Include it.
52847         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52848         * elf/pldd.c: Likewise.
52849         * iconv/iconv_charmap.c: Likewise.
52850         * iconv/iconvconfig.c: Likewise.
52851         * iconv/strtab.c: Likewise.
52852         * locale/programs/locale.c: Likewise.
52853         * locale/programs/localedef.h: Likewise.
52854         * locale/programs/simple-hash.c: Likewise.
52855         * nscd/nscd.h: Likewise.
52856         * nss/makedb.c: Likewise.
52857         * sysdeps/generic/ldconfig.h: Likewise.
52859 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52861         * Versions.def: Add GLIBC_2.18.
52862         * include/link.h (struct link_map): New member l_tls_dtor_count.
52863         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52864         (__call_tls_dtors): Likewise.
52865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52866         __cxa_thread_atexit_impl.
52867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52868         Likewise.
52869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52870         Likewise.
52871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52872         Likewise.
52873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52874         Likewise.
52875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52877         Likewise.
52878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52879         Likewise.
52880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52882         Likewise.
52883         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52884         (tests): Add test case tst-tls-atexit.
52885         (modules-names): Add shared library for tst-tls-atexit.
52886         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52887         (GLIBC_PRIVATE): Add __call_tls_dtors.
52888         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52889         for libstdc++.
52890         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52891         * stdlib/tst-tls-atexit.c: New test case.
52892         * stdlib/tst-tls-atexit-lib.c: New test case.
52894         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52896         * elf/Versions (ld): Add _dl_find_dso_for_object.
52897         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52898         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52899         (dl_open_worker): Use _dl_find_dso_for_object.
52900         * elf/dl-sym.c (do_sym): Likewise.
52901         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52903 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52905         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52906         Syntactic changes only.
52907         (_dl_runtime_profile): Do a tail-call to the resolved function.
52909 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52911         [BZ #13550]
52912         * sysdeps/x86_64/bp-asm.h: Remove file.
52913         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52914         <bp-sym.h> and <bp-asm.h>.
52915         (__clone): Do not use BP_SYM.
52916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52917         <bp-sym.h> and <bp-asm.h>.
52918         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52919         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52920         "bp-asm.h".
52921         (_setjmp): Do not use BP_SYM.
52922         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52923         "bp-asm.h".
52924         (setjmp): Do not use BP_SYM.
52925         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52926         libc_hidden_def.
52927         (mempcpy): Do not use BP_SYM in weak_alias.
52928         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52929         "bp-asm.h".
52930         (strchr): Do not use BP_SYM.
52931         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52932         "bp-asm.h".
52933         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52934         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52935         (_start): Do not use BP_SYM.
52936         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52937         "bp-asm.h".
52938         (strcat): Do not use BP_SYM.
52939         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52940         "bp-asm.h".
52941         (STRCMP): Do not use BP_SYM.
52942         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52943         "bp-asm.h".
52944         (STRCPY): Do not use BP_SYM.
52945         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52946         "bp-asm.h".
52947         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52948         "bp-asm.h".
52949         (FUNCTION): Do not use BP_SYM.
52950         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52951         weak_alias.
52952         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52954 2013-02-17  Andreas Jaeger  <aj@suse.de>
52956         * time/Versions: Sort entries.
52957         * string/Versions: Likewise.
52958         * resolv/Versions: Likewise.
52959         * posix/Versions: Likewise.
52960         * iconv/Versions: Likewise.
52961         * elf/Versions: Likewise.
52962         * wcsmbs/Versions: Likewise.
52964 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52966         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52967         loop termination condition.
52969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52970         variable to calculate EZ.
52971         (__sqr): Likewise.
52973         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52974         the lower precision input.
52976 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52978         [BZ #13550]
52979         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52980         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52981         (run-via-rtld-prefix): Do not handle %-bp tests.
52982         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52983         (all-object-suffixes): Remove .ob.
52984         (bppfx): Remove variable.
52985         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52986         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52987         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52988         [$(build-bounded) = yes] (libtype.ob): Likewise.
52989         * Makerules (elide-routines.ob): Remove variable.
52990         (do-tests-clean): Do not handle *-bp.out.
52991         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52992         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52993         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52994         (tests): Do not include $(tests-bp.out).
52995         (xtests): Do not include $(xtests-bp.out).
52996         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52997         [$(build-bounded) = yes] ($(addprefix
52998         $(objpfx),$(binaries-bounded))): Remove rule.
52999         ($(objpfx)%-bp.out): Remove rule.
53000         * config.make.in (build-bounded): Remove variable.
53001         * crypt/Makefile [$(build-bounded) = yes]
53002         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53003         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53004         append to variable.
53005         [$(build-bounded) = yes] (install-lib): Likewise.
53006         [$(build-bounded) = yes] (generated): Likewise.
53007         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53008         Remove rule.
53009         * intl/Makefile [$(build-bounded) = yes]
53010         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53011         * math/Makefile [$(build-bounded) = yes]
53012         ($(tests:%=$(objpfx)%-bp): Likewise.
53013         * misc/Makefile [$(build-bounded) = yes]
53014         ($(objpfx)tst-tsearch-bp): Likewise.
53015         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53016         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53017         Remove dependency.
53018         * string/Makefile (o-objects.ob): Remove variable.
53019         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53020         (CFLAGS-.ob): Remove variable.
53021         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53022         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53023         both definitions of variable.
53024         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53025         (ASFLAGS-.ob): Remove variable.
53027 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53029         [BZ #13550]
53030         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53031         Remove __BOUNDED_POINTERS__ from condition.
53032         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53033         * string/bits/string2.h [!__NO_STRING_INLINES &&
53034         !__BOUNDED_POINTERS__]: Likewise.
53035         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53036         Likewise.
53037         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53038         Remove conditional code.
53039         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53040         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53041         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53042         condition.
53044         [BZ #13550]
53045         * csu/libc-start.c: Do not include <bp-sym.h>.
53046         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53047         * elf/dl-open.c: Do not include <bp-sym.h>.
53048         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53049         * math/fegetenv.c: Do not include <bp-sym.h>.
53050         (fegetenv): Do not use BP_SYM in versioned symbols.
53051         * nptl/sysdeps/pthread/bits/libc-lockP.h
53052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53053         <bp-sym.h>.
53054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53055         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53057         (__pthread_mutex_destroy): Likewise.
53058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53059         (__pthread_mutex_lock): Likewise.
53060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53061         (__pthread_mutex_trylock): Likewise.
53062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53063         (__pthread_mutex_unlock): Likewise.
53064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53065         (__pthread_mutexattr_init): Likewise.
53066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53067         (__pthread_mutexattr_destroy): Likewise.
53068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53069         (__pthread_mutexattr_settype): Likewise.
53070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53071         (__pthread_rwlock_init): Likewise.
53072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53073         (__pthread_rwlock_destroy): Likewise.
53074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53075         (__pthread_rwlock_rdlock): Likewise.
53076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53077         (__pthread_rwlock_tryrdlock): Likewise.
53078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53079         (__pthread_rwlock_wrlock): Likewise.
53080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53081         (__pthread_rwlock_trywrlock): Likewise.
53082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53083         (__pthread_rwlock_unlock): Likewise.
53084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53085         (__pthread_key_create): Likewise.
53086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53087         (__pthread_setspecific): Likewise.
53088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53089         (__pthread_getspecific): Likewise.
53090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53091         Likewise.
53092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53093         (_pthread_cleanup_push_defer): Likewise.
53094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53095         (_pthread_cleanup_pop_restore): Likewise.
53096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53097         (pthread_setcancelstate): Likewise.
53098         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53099         <bp-sym.h>.
53100         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53101         (memchr): Do not use BP_SYM in weak_alias.
53102         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53103         (fegetenv): Do not use BP_SYM in versioned symbols.
53104         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53105         (fesetenv): Do not use BP_SYM in versioned symbols.
53106         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53107         (feupdateenv): Do not use BP_SYM in versioned symbols.
53108         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53109         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53110         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53111         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53112         (open64): Do not use BP_SYM in weak_alias.
53113         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53114         (fegetenv): Do not use BP_SYM in versioned symbols.
53115         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53116         (fesetenv): Do not use BP_SYM in versioned symbols.
53117         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53118         (feupdateenv): Do not use BP_SYM in versioned symbols.
53119         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53120         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53121         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53122         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53123         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53124         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53125         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53126         <bp-sym.h>.
53127         (__libc_start_main): Do not use BP_SYM.
53129 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53132         redundant return line.
53133         (norm): Likewise.
53134         (denorm): Likewise.
53135         (dbl_mp): Likewise.
53136         (sub_magnitudes): Likewise.
53137         (__add): Likewise.
53138         (__sub): Likewise.
53139         (__mul): Likewise.
53140         (__inv): Likewise.
53141         (__dvd): Likewise.
53142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53143         (norm): Likewise.
53144         (denorm): Likewise.
53145         (dbl_mp): Likewise.
53146         (sub_magnitudes): Likewise.
53147         (__add): Likewise.
53148         (__sub): Likewise.
53149         (__mul): Likewise.
53150         (__inv): Likewise.
53151         (__dvd): Likewise.
53153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53154         instead of __mul.
53155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53156         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53157         (cc32): Likewise.
53159         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53160         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53162         of __mul for squares.
53163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53164         function
53165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53166         Likewise.
53167         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53168         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53170 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53172         [BZ #13550]
53173         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53174         code.
53175         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53176         prototype or function definition.  Rename ubp_* variables and
53177         parameters.  Remove argv definitions conditional on
53178         [__BOUNDED_POINTERS__].
53179         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53180         * elf/dl-runtime.c (_dl_fixup): Likewise.
53181         * include/set-hooks.h (RUN_HOOK): Likewise.
53182         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53183         definition.
53184         * string/strcpy.c (strcpy): Do not use __unbounded.
53185         * sysdeps/generic/frame.h (struct layout): Likewise.
53186         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53187         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53188         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53189         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53190         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53191         (__backtrace): Likewise.
53192         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53193         use __ptrvalue.
53194         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53195         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53196         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53197         Likewise.
53198         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53199         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53200         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53201         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53202         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53203         Do not use __unbounded.
53204         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53205         Rename __unboundedrlimits parameter to rlimits in prototype.
53206         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53207         Do not use __unbounded.
53208         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53209         not use __ptrvalue.
53210         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53211         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53213         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53214         __ptrvalue or __unbounded.
53215         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53216         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53217         use __unbounded.
53218         (__new_msgctl): Do not use __ptrvalue.
53219         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53220         __unbounded.
53221         (__libc_msgrcv): Do not use __ptrvalue.
53222         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53223         startup_info): Do not use __unbounded.
53224         (__libc_start_main): Likewise.  Rename ubp_* variables and
53225         parameters.  Remove argv definitions conditional on
53226         [__BOUNDED_POINTERS__].
53227         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53228         __ptrvalue.
53229         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53230         use __unbounded.
53231         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53232         or __ptrvalue.
53233         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53234         use __unbounded.
53235         (__new_shmctl): Do not use __ptrvalue.
53236         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53237         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53238         Likewise.
53239         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53240         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53241         (__libc_sigaction): Likewise.
53242         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53244         Likewise.
53245         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53247 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53249         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53251         * string/mempcpy.c: Implement by calling memcpy.
53253 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53258         evaluation.
53260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53261         values in the mantissa.
53263         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53264         minimize writes to Z.
53265         (sub_magnitudes): Simplify code a bit.
53267 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53269         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53270         from the message.  The linker prefixes all warnings with that already.
53272 2013-02-12  Andreas Schwab  <schwab@suse.de>
53274         [BZ #15078]
53275         * posix/regexec.c (extend_buffers): Add parameter min_len.
53276         (check_matching): Pass minimum needed length.
53277         (clean_state_log_if_needed): Likewise.
53278         (get_subexp): Likewise.
53279         * posix/Makefile (tests): Add bug-regex34.
53280         (bug-regex34-ENV): Define.
53281         * posix/bug-regex34.c: New file.
53283         [BZ #11561]
53284         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53285         elements compare against the byte sequence of it, not its name.
53286         * posix/Makefile (tests): Add bug-regex35.
53287         (bug-regex35-ENV): Define.
53288         * posix/bug-regex35.c: New file.
53290 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53292         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53293         comment.
53294         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53295         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53296         (CHECK_EOL): Add undef.
53298 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53300         * bits/stdlib-bsearch.h: New file.
53301         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53302         * stdlib/stdlib.h: Likewise.
53304 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53306         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53307         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53308         declaration.
53309         * manual/search.texi (Array Search Function): Add missing const in
53310         lfind prototype.
53311         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53312         declaration to use rlim_t.
53313         (Basic Scheduling Functions): Remove erroneous const from
53314         sched_getparam prototype.  Remove erroneous * from
53315         sched_get_priority_max and sched_get_priority_min prototypes.
53316         (Resource Usage): Fix summary @comment on vtimes to refer to
53317         sys/vtimes.h rather than vtimes.h.
53318         Add missing *s in vtimes prototype.
53319         (Limits on Resources): Fix ulimit prototype to return long int.
53320         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53321         prototypes to use long int rather than double.
53322         (BSD Random): Fix initstate and setstate to use char *, not void *.
53323         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53324         prototype to make second argument 'struct aiocb64 *const[]'.
53325         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53326         (Status of AIO Operations): Remove erroneous const in aio_return and
53327         aio_return64 prototypes.
53328         (Synchronizing I/O): Fix sync prototype to return void.
53329         * manual/startup.texi (Suboptions): Remove an erroneous const in
53330         getsubopt prototype.
53331         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53332         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53333         use size_t rather than int.
53334         (Scanning All Users): Likewise for getpwent_r.
53335         (Setting Groups): Add missing const to setgroups prototype.
53336         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53337         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53338         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53339         'const void *' rather than 'const char *'.
53340         (Host Address Functions): Likewise for inet_ntop.
53341         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53342         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53343         ssize_t for return value.
53344         (Sending Data): Likewise for send, sendto, sendmsg.
53345         (Socket Option Functions): Add a missing const in setsockopt prototype.
53346         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53347         use wchar_t for the argument.
53348         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53349         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53350         take no arguments.
53351         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53352         double/float/long double for second argument.
53353         Fix return types of significand, significandf, significandl.
53354         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53355         argument in fchmod prototype.
53356         (File Owner): Use uid_t and gid_t in fchown prototype.
53357         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53358         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53359         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53360         use 'const struct dirent **' as argument types to CMP function pointer
53361         argument.
53362         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53363         (File Times): Fix summary magic @comment for struct utimbuf and utime
53364         to refer to utime.h, not time.h.
53365         * manual/string.texi (Argz Functions): Add missing const in
53366         argz_extract and argz_next prototypes.
53367         (Finding Tokens in a String): Likewise for basename.
53368         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53369         (Copying and Concatenation): Fix typo in wmemmove prototype.
53370         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53371         (Signal Stack): Remove erroneous const in sigstack prototype.
53372         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53373         prototype.
53374         (Simple Calendar Time): Likewise for stime.
53375         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53376         prototype.
53377         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53378         say sys/sysctl.h instead.
53379         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53380         and vsyslog prototypes.
53382 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53384         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53385         Remove.
53387 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53389         * misc/sys/mman.h: Fix typo in mremap comment.
53391 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53393         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53394         the '\0' terminator.
53396 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53398         [BZ #13550]
53399         * debug/segfault.c: Don't include <bp-checks.h>.
53400         * sysdeps/generic/bp-checks.h: Remove file.
53401         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53402         (__GETDENTS): Don't use CHECK_N.
53403         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53404         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53405         (__getgroups): Don't use CHECK_N.
53406         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53407         (setgroups): Don't use CHECK_N.
53408         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53409         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53410         (__libc_msgrcv): Don't use CHECK_N.
53411         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53412         (__libc_msgsnd): Don't use CHECK_N.
53413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53414         <bp-checks.h>.
53415         (__libc_pread): Don't use CHECK_N.
53416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53417         include <bp-checks.h>.
53418         (__libc_pread64): Don't use CHECK_N.
53419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53420         include <bp-checks.h>.
53421         (__libc_pwrite): Don't use CHECK_N.
53422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53423         include <bp-checks.h>.
53424         (__libc_pwrite64): Don't use CHECK_N.
53425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53426         <bp-checks.h>.
53427         (__libc_pread): Don't use CHECK_N.
53428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53429         include <bp-checks.h>.
53430         (__libc_pread64): Don't use CHECK_N.
53431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53432         include <bp-checks.h>.
53433         (__libc_pwrite): Don't use CHECK_N.
53434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53435         include <bp-checks.h>.
53436         (__libc_pwrite64): Don't use CHECK_N.
53437         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53438         (do_pread): Don't use CHECK_N.
53439         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53440         (do_pread64): Don't use CHECK_N.
53441         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53442         (do_pwrite): Don't use CHECK_N.
53443         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53444         (do_pwrite64): Don't use CHECK_N.
53445         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53446         (__libc_readv): Don't use CHECK_N.
53447         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53448         (semop): Don't use CHECK_N.
53449         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53450         <bp-checks.h>.
53451         (semtimedop): Don't use CHECK_N.
53452         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53453         (__libc_pread): Don't use CHECK_N.
53454         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53455         <bp-checks.h>.
53456         (__libc_pread64): Don't use CHECK_N.
53457         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53458         <bp-checks.h>.
53459         (__libc_pwrite): Don't use CHECK_N.
53460         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53461         <bp-checks.h>.
53462         (__libc_pwrite64): Don't use CHECK_N.
53463         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53464         <bp-checks.h>.
53465         (__libc_msgrcv): Don't use CHECK_N.
53466         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53467         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53468         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53469         (__libc_writev): Don't use CHECK_N.
53471 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53473         * string/strcpy.c: Removed unused variable.
53475         * Makeconfig (+sysdep-includes): Define with := rather than =.
53476         Use an existing include/ subdir of each sysdeps dir before it.
53478 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53480         * nscd/connection.c (register_traced_file): Comment function.
53481         [HAVE_INOTIFY] (union __inev): Define.
53482         [HAVE_INOTIFY] (inotify_check_files): New function.
53483         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53484         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53485         clear_db_cache.
53486         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53488 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53490         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53491         loaded if not already and that a failure is permanent.
53493 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53495         [BZ #15006]
53496         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53497         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53499 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53501         [BZ #13550]
53502         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53503         (CHECK_1_NULL_OK): Likewise.
53504         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53505         (__fxstat): Do not use CHECK_1.
53506         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53507         <bp-checks.h>.
53508         (___fxstat64): Do not use CHECK_1.
53509         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53510         <bp-checks.h>.
53511         (__fxstatat): Do not use CHECK_1.
53512         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53513         <bp-checks.h>.
53514         (__fxstatat64): Do not use CHECK_1.
53515         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53516         <bp-checks.h>.
53517         (__fxstat): Do not use CHECK_1.
53518         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53519         <bp-checks.h>.
53520         (__fxstatat): Do not use CHECK_1.
53521         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53522         <bp-checks.h>.
53523         (__getresgid): Do not use CHECK_1.
53524         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53525         <bp-checks.h>.
53526         (__getresuid): Do not use CHECK_1.
53527         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53528         <bp-checks.h>.
53529         (__lxstat): Do not use CHECK_1.
53530         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53531         <bp-checks.h>.
53532         (__old_msgctl): Do not use CHECK_1.
53533         (__new_msgctl): Likewise.
53534         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53535         <bp-checks.h>.
53536         (__new_setrlimit): Do not use CHECK_1.
53537         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53538         <bp-checks.h>.
53539         (__old_shmctl): Do not use CHECK_1.
53540         (__new_shmctl): Likewise.
53541         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53542         <bp-checks.h>.
53543         (__xstat): Do not use CHECK_1.
53544         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53545         (__lxstat): Do not use CHECK_1.
53546         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53547         <bp-checks.h>.
53548         (___lxstat64): Do not use CHECK_1.
53549         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53550         (__old_msgctl): Do not use CHECK_1.
53551         (__new_msgctl): Likewise.
53552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53553         <bp-checks.h>.
53554         (__gettimeofday): Do not use CHECK_1.
53555         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53556         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53557         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53558         <bp-checks.h>.
53559         (__gettimeofday): Do not use CHECK_1.
53560         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53561         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53562         (__new_shmctl): Do not use CHECK_1.
53563         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53564         <bp-checks.h>.
53565         (do_sigtimedwait): Do not use CHECK_1.
53566         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53567         <bp-checks.h>.
53568         (do_sigwaitinfo): Do not use CHECK_1.
53569         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53570         <bp-checks.h>.
53571         (msgctl): Do not use CHECK_1.
53572         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53573         <bp-checks.h>.
53574         (shmctl): Do not use CHECK_1.
53575         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53576         (ustat): Do not use CHECK_1.
53577         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53578         <bp-checks.h>.
53579         (__fxstat): Do not use CHECK_1.
53580         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53581         <bp-checks.h>.
53582         (__fxstatat): Do not use CHECK_1.
53583         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53584         <bp-checks.h>.
53585         (__lxstat): Do not use CHECK_1.
53586         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53587         <bp-checks.h>.
53588         (__xstat): Do not use CHECK_1.
53589         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53590         (__xstat): Do not use CHECK_1.
53591         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53592         (___xstat64): Do not use CHECK_1.
53594         [BZ #13550]
53595         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53596         definitions.
53597         (CHECK_BOUNDS_HIGH): Likewise.
53598         * string/strcpy.c: Do not include <bp-checks.h>.
53599         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53601 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53603         * nscd/nscd-client.h (__nscd_drop_map_ref):
53604         Add __attribute__ ((unused)).
53605         * nis/nss-nisplus.h (niserr2nss): Likewise.
53607         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53608         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53610         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53611         Remove inline keyword.
53612         * include/rounding-mode.h (round_away): Likewise.
53613         * libio/wfileops.c (adjust_wide_data): Likewise.
53614         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53615         (__m128i_strloadu_tolower): Likewise.
53616         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53617         (__m128i_strloadu_tolower): Likewise.
53618         * time/mktime.c (ydhms_diff): Likewise.
53619         * locale/elem-hash.h (elem_hash): Likewise.
53620         * locale/setlocale.c (setdata): Likewise.
53621         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53622         (re_string_wchar_at): Likewise.
53623         (bitset_not, bitset_merge, bitset_mask): Likewise.
53624         [!(__GNUC__ > 3)] (inline): Remove macro.
53625         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53626         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53627         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53628         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53629         * string/memcmp.c (memcmp_bytes): Likewise.
53630         * locale/programs/locarchive.c (compute_hashval): Likewise.
53631         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53632         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53633         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53634         * nss/getent.c (print_rpc, print_protocols): Likewise.
53635         (print_passwd, print_group, print_aliases): Likewise.
53636         * nis/nss-nisplus.h (niserr2nss): Likewise.
53637         * nscd/connections.c (restart_p): Likewise.
53638         Change return type to bool.
53640 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53642         * Makeconfig (all-Depend-files): Add existing
53643         $(sorted-subdirs:=/Depend) files.
53644         (all-subdirs): Remove nss.
53645         * sysdeps/unix/inet/Subdirs: Add it here instead.
53646         * hesiod/Depend: New file.
53648         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53649         instead of calling alloca.
53651         * io/lseek.c (__lseek): Rename to __libc_lseek.
53652         Define __lseek as an alias.
53654         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53656 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53658         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53659         else clause and remove check for non-standard endianness.
53661 2013-02-04  David S. Miller  <davem@davemloft.net>
53663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53665 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53667         [BZ #13550]
53668         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53669         (__ubp_memchr): Remove prototype.
53670         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53671         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53672         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53673         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53674         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53675         Remove alias.
53676         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53677         (__ubp_memchr): Likewise.
53678         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53679         (__ubp_memchr): Likewise.
53680         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53681         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53682         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53683         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53684         CHECK_STRING.
53685         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53686         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53687         (__getcwd): Do not use CHECK_STRING.
53688         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53689         <bp-checks.h>.
53690         (__real_chown): Do not use CHECK_STRING.
53691         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53692         <bp-checks.h>.
53693         (fchownat): Do not use CHECK_STRING.
53694         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53695         CHECK_STRING.
53696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53697         <bp-checks.h>.
53698         (__lchown): Do not use CHECK_STRING.
53699         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53700         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53701         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53702         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53704         include <bp-checks.h>.
53705         (truncate64): Do not use CHECK_STRING.
53706         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53707         <bp-checks.h>.
53708         (__real_chown): Do not use CHECK_STRING.
53709         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53710         <bp-checks.h>.
53711         (__lchown): Do not use CHECK_STRING.
53712         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53713         <bp-checks.h>.
53714         (__chown): Do not use CHECK_STRING.
53715         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53716         <bp-checks.h>.
53717         (truncate64): Do not use CHECK_STRING.
53718         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53719         Likewise.
53720         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53721         (__xmknod): Do not use CHECK_STRING.
53722         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53723         <bp-checks.h>.
53724         (__xmknodat): Do not use CHECK_STRING.
53725         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53726         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53728 2013-02-04  Andreas Schwab  <schwab@suse.de>
53730         [BZ #14142]
53731         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53732         * include/netdb.h: Likewise for h_errno.
53733         * elf/tst-stackguard1.c: Include <tls.h>.
53735 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53737         * elf/link.h (struct link_map): Extend the l_addr comment.
53738         * include/link.h (struct link_map): Likewise.
53740 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53742         [BZ #13550]
53743         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53744         (BOUNDED_1): Remove macro.
53745         * debug/backtrace.c: Don't include <bp-checks.h>.
53746         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53747         (__backtrace): Likewise.
53748         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53749         <bp-checks.h>.
53750         (__backtrace): Don't use BOUNDED_1.
53751         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53752         <bp-checks.h>.
53753         (__backtrace): Don't use BOUNDED_1.
53754         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53755         (__backtrace): Don't use BOUNDED_1.
53756         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53757         (shmat): Don't use BOUNDED_N.
53759 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53761         [BZ #13550]
53762         * sysdeps/generic/bp-start.h: Remove file.
53763         * csu/libc-start.c: Don't include <bp-start.h>.
53764         (LIBC_START_MAIN): Set up __environ directly instead of using
53765         INIT_ARGV_and_ENVIRON.
53766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53767         <bp-start.h>.
53769         [BZ #13550]
53770         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53771         definitions.
53772         (CHECK_FCNTL): Likewise.
53773         (CHECK_N_PAGES): Likewise.
53775         [BZ #13550]
53776         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53777         definitions.
53778         (CHECK_SIGSET_NULL_OK): Likewise.
53779         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53780         <bp-checks.h>.
53781         (sigpending): Don't use CHECK_SIGSET.
53782         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53783         <bp-checks.h>.
53784         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53785         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53786         <bp-checks.h>.
53787         (do_sigsuspend): Don't use CHECK_SIGSET.
53788         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53789         use CHECK_SIGSET.
53790         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53791         (do_sigwait): Don't use CHECK_SIGSET.
53792         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53793         use CHECK_SIGSET.
53794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53795         include <bp-checks.h>.
53796         (sigpending): Don't use CHECK_SIGSET.
53797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53798         include <bp-checks.h>.
53799         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53800         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53801         <bp-checks.h>.
53802         (sigpending): Don't use CHECK_SIGSET.
53803         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53804         <bp-checks.h>.
53805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53807         [BZ #13550]
53808         * sysdeps/generic/bp-semctl.h: Remove file.
53809         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53810         <bp-checks.h> and <bp-semctl.h>.
53811         (__old_semctl): Don't use CHECK_SEMCTL.
53812         (__new_semctl): Likewise.
53813         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53814         and <bp-semctl.h>.
53815         (__old_semctl): Don't use CHECK_SEMCTL.
53816         (__new_semctl): Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53818         <bp-checks.h> and <bp-semctl.h>.
53819         (__old_semctl): Don't use CHECK_SEMCTL.
53820         (__new_semctl): Likewise.
53821         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53822         <bp-checks.h> and <bp-semctl.h>.
53823         (semctl): Don't use CHECK_SEMCTL.
53825         [BZ #13550]
53826         * Makerules (elide-bp-thunks): Remove variable.
53827         (elide-routines.oS): Don't use $(elide-bp-thunks).
53828         (elide-routines.os): Likewise.
53829         (elide-routines.o): Likewise.
53830         (elide-routines.op): Likewise.
53831         (elide-routines.og): Likewise.
53832         (objects): Don't use $(bp-thunks).
53833         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53834         include.
53835         (common-generated): Do not add s-proto-bp.d.
53836         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53837         (int): Likewise.
53838         (typ): Likewise.
53839         Do not generate makefile rules for bounded-pointer thunks.
53840         * sysdeps/generic/bp-thunks.h: Remove file.
53841         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53842         * sysdeps/unix/s-proto-bp.S: Likewise.
53844         [BZ #15062]
53845         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53846         parts of result separately when argument is not close to line from
53847         -i to i and one part of argument is small.
53848         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53849         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53850         * math/libm-test.inc (cacos_test): Add more tests.
53851         (casin_test): Likewise.
53852         (casinh_test): Likewise.
53853         * sysdeps/i386/fpu/libm-test-ulps: Update.
53854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53856 2013-01-31  David S. Miller  <davem@davemloft.net>
53858         * po/de.po: Update from translation team.
53860 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53862         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53864 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53866         * configure.in (_AC_PROG_CC_C89): New definition.
53867         * configure: Regenerate.
53869         * configure.in (AC_PROG_CPP): New definition.
53870         * configure: Regenerate.
53872 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53874         * debug/tst-backtrace.h: New file.
53875         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53876         (ret): Remove variable.
53877         (x): Likewise.
53878         (FAIL): Remove macro.
53879         (NO_INLINE): Likewise.
53880         (fn1): Use match function instead of strstr.
53881         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53882         (ret): Remove variable.
53883         (x): Likewise.
53884         (FAIL): Remove macro.
53885         (NO_INLINE): Likewise.
53886         (fn): Use match function instead of strstr.
53887         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53888         (ret): Remove variable.
53889         (x): Likewise.
53890         (FAIL): Remove macro.
53891         (NO_INLINE): Likewise.
53892         (handle_signal): Use match function instead of strstr.
53893         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53894         (ret): Remove variable.
53895         (x): Likewise.
53896         (FAIL): Remove macro.
53897         (NO_INLINE): Likewise.
53898         (handle_signal): Use match function instead of strstr.
53900 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53902         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53904 2013-01-23  David S. Miller  <davem@davemloft.net>
53906         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53907         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53908         argument of CAS if possible.
53909         * sysdeps/sparc/sparc64/bits/atomic.h
53910         (__arch_compare_and_exchange_val_32_acq): Likewise.
53911         (__arch_compare_and_exchange_val_64_acq): Likewise.
53913 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53915         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53916         * sysdeps/posix/ulimit.c: ... this.
53917         Include <limits.h>.
53918         * sysdeps/unix/bsd/ulimit.c: Remove file.
53920 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53922         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53923         (LDFLAGS-tst-array5): Likewise.
53925 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53927         [BZ #15036]
53928         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53929         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53930         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53931         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53933 2013-01-21  David S. Miller  <davem@davemloft.net>
53935         * sysdeps/sparc/backtrace.c: New file.
53936         * sysdeps/sparc/sparc32/backtrace.h: New file.
53937         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53938         * sysdeps/sparc/sparc64/backtrace.h: New file.
53939         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53940         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53941         -funwind-tables.
53943 2013-01-21  Andreas Schwab  <schwab@suse.de>
53945         [BZ #15020]
53946         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53947         closed its stdout.
53949 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53952         "mpa2.h".
53953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53955 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53956             Mark Mitchell  <mark@codesourcery.com>
53957             Tom de Vries  <tom@codesourcery.com>
53958             Paul Pluzhnikov  <ppluzhnikov@google.com>
53960         * debug/tst-backtrace2.c: New file.
53961         * debug/tst-backtrace3.c: Likewise.
53962         * debug/tst-backtrace4.c: Likewise.
53963         * debug/tst-backtrace5.c: Likewise.
53964         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53965         (CFLAGS-tst-backtrace3.c): Likewise.
53966         (CFLAGS-tst-backtrace4.c): Likewise.
53967         (CFLAGS-tst-backtrace5.c): Likewise.
53968         (LDFLAGS-tst-backtrace2): Likewise.
53969         (LDFLAGS-tst-backtrace3): Likewise.
53970         (LDFLAGS-tst-backtrace4): Likewise.
53971         (LDFLAGS-tst-backtrace5): Likewise.
53972         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53973         tst-backtrace4 and tst-backtrace5.
53975 2013-01-18  Anton Blanchard  <anton@samba.org>
53976             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53978         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53979         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53981         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53983         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53984         "+r" and remove output regs list as redundant.  Add explicit inline
53985         asm to specify register of return val to work around compiler codegen
53986         bug.  Remove (int) cast on return value.  Add return type parameter to
53987         use in macro so that this macro does not truncate return value for
53988         64-bit values.
53989         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53990         pass to INTERNAL_VSYSCALL_NCS.
53991         (INLINE_VSYSCALL): Add 'long int' as return type to
53992         INTERNAL_VSYSCALL_NCS macro invocation.
53993         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53994         INTERNAL_VSYSCALL_NCS macro invocation.
53995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53997 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53999         [BZ #14496]
54000         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54001         Fix application of SIMD FP exception mask.
54003         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54004         mp_no from a power of two.
54005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54006         __mpexp_twomm1.  Use __pow_mp.
54008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54009         multiplication.
54011 2013-01-17  David S. Miller  <davem@davemloft.net>
54013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54015 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54017         [BZ #15023]
54018         * include/complex.h: Condition contents on [!_COMPLEX_H].
54019         (__kernel_casinhf): New prototype.
54020         (__kernel_casinh): Likewise.
54021         (__kernel_casinhl): Likewise.
54022         * math/Makefile (libm_calls): Add k_casinh.
54023         * math/k_casinh.c: New file.
54024         * math/k_casinhf.c: Likewise.
54025         * math/k_casinhl.c: Likewise.
54026         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54027         finite nonzero arguments.
54028         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54029         finite nonzero arguments.
54030         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54031         finite nonzero arguments.
54032         * math/s_casinh.c: Do not include <float.h>.
54033         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54034         * math/s_casinhf.c: Do not include <float.h>.
54035         (__casinhf): Move code for finite nonzero arguments to
54036         k_casinhf.c.
54037         * math/s_casinhl.c: Do not include <float.h>.
54038         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54039         redefine.
54040         (__casinhl): Move code for finite nonzero arguments to
54041         k_casinhl.c.
54042         * math/libm-test.inc (cacos_test): Add more tests.
54043         * sysdeps/i386/fpu/libm-test-ulps: Update.
54044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54046 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54048         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54049         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54050         [!HAVE_MREMAP]: Remove [defined linux] case.
54051         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54053 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54055         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54057 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54059         * elf/elf.h (R_386_SIZE32): New relocation.
54060         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54061         R_386_SIZE32.
54062         (elf_machine_rela): Likewise.
54063         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54064         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54066 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54068         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54069         (FP_FAST_FMA): Do not define.
54070         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54071         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54072         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54073         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54074         !_SOFT_FLOAT]: Likewise.
54075         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54076         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54077         value.
54078         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54079         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54080         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54081         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54082         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54083         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54084         file.
54086 2013-01-16  Andreas Schwab  <schwab@suse.de>
54088         [BZ #14327]
54089         * include/stdlib.h (__mktemp): Add declaration.
54090         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54091         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54093 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54095         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54096         definitions.
54097         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54098         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54099         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54100         definitions here.
54101         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54102         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54103         definitions.
54104         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54105         and ONE.
54106         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54107         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54108         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54109         definitions.
54110         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54111         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54112         definitions.
54113         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54115         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54117 2013-01-15  David S. Miller  <davem@davemloft.net>
54119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54120         trunc{,f} to libm-sysdep_routes.
54121         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54123         file.
54124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54126         file.
54127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54128         file.
54129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54131         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54132         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54133         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54134         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54135         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54136         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54139         nearbyint{,f} to libm-sysdep_routes.
54140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54142         New file.
54143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54144         file.
54145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54146         New file.
54147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54148         file.
54149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54151         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54152         file.
54153         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54154         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54155         file.
54156         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54157         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54158         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54160         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54161         libc_feholdexcept and libc_fesetenv.
54163 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54165         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54167 2013-01-14  David S. Miller  <davem@davemloft.net>
54169         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54170         (SPARC_ASM_VIS2_IFUNC): Likewise.
54171         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54173         use of 'siam' instruction.
54174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54175         Likewise.
54176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54177         Likewise.
54178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54179         Likewise.
54180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54185         file.
54186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54187         file.
54188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54189         file.
54190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54191         file.
54192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54197         new VIS2 routines.
54198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54201         Likewise.
54202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54207         routines to libm-sysdep_routines.
54208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54211         fdim/fdimf to libm-sysdep_routines.
54212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54213         file.
54214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54216         file.
54217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54220         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54221         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54222         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54223         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54225 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54227         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54228         to optimize copies.
54230         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54235         local variable MPTWO.
54236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54237         Likewise.
54239 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54241         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54242         GLOB_NOESCAPE.
54244 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54246         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54248 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54250         * manual/pattern.texi (glob_t): Document gl_flags.
54251         (glob64_t): Likewise.
54253 2013-01-11  David S. Miller  <davem@davemloft.net>
54255         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54256         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54257         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54258         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54259         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54260         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54261         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54262         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54263         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54264         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54265         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54266         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54267         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54269         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54270         sparc V9 rather than using V8 code.
54271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54274         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54275         Move to...
54276         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54277         Here.
54279 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54281         [BZ #14941]
54282         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54283         not in the main loop.
54284         * configure: Regenerated.
54286 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54288         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54289         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54290         to just #else.
54291         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54292         [!__GLIBC_HAVE_LONG_LONG] case.
54293         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54294         condition to just #else.
54295         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54296         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54297         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54298         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54299         unconditional.
54300         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54301         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54302         #elif condition to just #else.
54303         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54304         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54305         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54306         #elif condition to just #else.
54308 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54310         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54311         (EF_MIPS_ARCH_64): Fix value.
54312         (EF_MIPS_ARCH_32R2): New.
54313         (EF_MIPS_ARCH_64R2): New.
54315 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54317         * Makeconfig (+link-pie-before-libc): New.
54318         (+link-pie-after-libc): Likewise.
54319         (+link-pie-tests): Likewise.
54320         (+link-pie): Rewritten.
54321         (link-before-libc): Remove $(config-LDFLAGS).
54322         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54323         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54324         (config-LDFLAGS): Renamed to ...
54325         (rtld-LDFLAGS): This.
54326         (rtld-tests-LDFLAGS): New macro.
54327         (link-libc-rpath-link): Likewise.
54328         (link-libc-tests-rpath-link): Likewise.
54329         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54330         (link-libc): Prepand $(link-libc-rpath-link).
54331         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54332         (test-program-prefix): New macro.
54333         (test-via-rtld-prefix): Likewise.
54334         (test-program-cmd): Likewise.
54335         (host-test-program-cmd): Likewise.
54336         * Makefile ($(common-objpfx)testrun.sh): Replace
54337         $(run-program-prefix) with $(test-program-prefix).
54338         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54339         $(rtld-LDFLAGS).
54340         ($(common-objpfx)shlib.lds): Likewise.
54341         (build-module-helper): Likewise.
54342         ($(common-objpfx)format.lds): Likewise.
54343         * Rules (binaries-pie-tests): New.
54344         (binaries-pie-notests): Likewise.
54345         (binaries-pie): Rewritten.
54346         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54347         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54348         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54349         (make-test-out): Replace $(host-built-program-cmd) with
54350         $(host-test-program-cmd).
54351         * config.make.in (build-hardcoded-path-in-tests): New variable.
54352         * configure.in (--enable-hardcoded-path-in-tests): New configure
54353         option.
54354         (hardcoded_path_in_tests): New AC_SUBST.
54355         * configure: Regenerated.
54356         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54357         $(built-program-cmd) with $(test-program-cmd).
54358         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54359         (test_program_cmd): This.
54360         * elf/Makefile ($(objpfx)order.out): Run test with
54361         $(test-program-prefix).
54362         ($(objpfx)order2.out): Likewise.
54363         ($(objpfx)tst-initorder.out): Likewise.
54364         ($(objpfx)tst-initorder2.out): Likewise.
54365         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54366         $(test-program-cmd).
54367         ($(objpfx)tst-array1-static.out): Likewise.
54368         ($(objpfx)tst-array2.out): Likewise.
54369         ($(objpfx)tst-array3.out): Likewise.
54370         ($(objpfx)tst-array4.out): Likewise.
54371         ($(objpfx)tst-array5.out): Likewise.
54372         ($(objpfx)tst-array5-static.out): Likewise.
54373         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54374         $(test-program-cmd).
54375         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54376         $(run-program-prefix) with $(test-program-prefix).
54377         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54378         (test_program_prefix): This.
54379         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54380         $(run-program-prefix) with $(test-program-prefix).
54381         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54382         (test_program_prefix): This.
54383         * iconvdata/tst-tables.sh: Likewise.
54384         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54385         $(run-program-prefix) with $(test-program-prefix).
54386         ($(objpfx)tst-translit.out): Likewise.
54387         ($(objpfx)tst-gettext2.out): Likewise.
54388         ($(objpfx)tst-gettext4.out): Likewise.
54389         ($(objpfx)tst-gettext6.out): Likewise.
54390         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54391         (test_program_prefix): This.
54392         * intl/tst-gettext2.sh: Likewise.
54393         * intl/tst-gettext4.sh  Likewise.
54394         * intl/tst-gettext6.sh: Likewise.
54395         * intl/tst-translit.sh: Likewise.
54396         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54397         with $(test-program-cmd).
54398         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54399         $(run-program-prefix) with $(test-program-prefix).
54400         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54401         (test_program_prefix): This.
54402         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54403         $(run-program-prefix) with $(test-program-prefix).
54404         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54405         (test_program_prefix): This.
54406         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54407         * posix/Makefile ($(objpfx)globtest.out): Replace
54408         $(run-via-rtld-prefix) and $(test-wrapper) with
54409         $(test-program-prefix) and $(test-via-rtld-prefix).
54410         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54411         $(test-program-prefix).
54412         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54413         $(host-test-program-cmd).
54414         (tst-spawn-ARGS): Likewise.
54415         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54416         $(test-program-prefix).
54417         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54418         (test_via_rtld_prefix): This.
54419         (test_wrapper): Renamed to ...
54420         (test_program_prefix): This.
54421         (run_program_prefix): Replaced by test_program_prefix.
54422         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54423         (test_program_prefix): This.
54424         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54425         with $(host-test-program-cmd).
54426         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54427         $(run-program-prefix) with $(test-program-prefix).
54428         ($(objpfx)tst-printf.out): Likewise.
54429         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54430         $(test-program-cmd).
54431         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54432         (test_program_prefix): This.
54433         * stdio-common/tst-unbputc.sh: Likewise.
54434         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54435         $(run-program-prefix) with $(test-program-prefix).
54436         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54437         (test_program_prefix): This.
54438         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54439         $(built-program-cmd) with $(test-program-cmd).
54441 2013-01-11  Andreas Jaeger  <aj@suse.de>
54443         [BZ #15003]
54444         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54445         value. Sync with Linux 3.7.
54447 2013-01-10  David S. Miller  <davem@davemloft.net>
54449         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54450         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54451         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54453 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54455         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54456         never set.
54457         * configure: Regenerated.
54459 2013-01-10  David S. Miller  <davem@davemloft.net>
54461         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54462         sparc V9 rather than using V8 code.
54463         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54464         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54466 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54468         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54469         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54470         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54471         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54472         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54473         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54474         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54475         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54476         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54477         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54478         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54479         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54480         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54481         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54482         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54483         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54484         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54485         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54486         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54487         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54488         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54489         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54490         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54491         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54492         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54493         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54494         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54496 2013-01-10  David S. Miller  <davem@davemloft.net>
54498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54500 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54502         * posix/Makefile (tests-static): New variable.
54503         (tests): Add $(tests-static).
54504         (tst-exec-static-ARGS): New variable.
54505         (tst-spawn-static-ARGS): Likewise.
54506         * posix/tst-exec-static.c: New file.
54507         * posix/tst-spawn-static.c: Likewise.
54508         * posix/tst-exec.c: Support run directly.
54509         * posix/tst-spawn.c: Likewise.
54511 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54513         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54514         long.
54515         * math/bits/mathcalls.h (llrint): Likewise.
54516         (llround): Likewise.
54517         * stdlib/stdlib.h (struct drand48_data): Likewise.
54518         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54519         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54520         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54521         Likewise.
54522         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54523         Likewise.
54524         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54525         (elf_greg_t): Likewise.
54526         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54527         (__jmp_buf): Likewise.
54528         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54529         definitions.
54530         (llrint): Likewise, for all definitions.
54531         (llrintl): Likewise.
54533         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54534         Remove [__GNUC__] condition.
54535         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54536         condition to just [__USE_ISOC99].
54537         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54539 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54541         [BZ #14200]
54542         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54543         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54544         defined.
54545         (_POSIX_V6_ILP32_OFF32): Likewise.
54546         (_XBS5_ILP32_OFF32): Likewise.
54547         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54548         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54550 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54552         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54555         doubles __mpexp_twomm1.  Adjust usage.
54556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54557         Remove.
54559 2013-01-10  Andreas Schwab  <schwab@suse.de>
54561         [BZ #14964]
54562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54563         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54565 2013-01-09  David S. Miller  <davem@davemloft.net>
54567         [BZ #15003]
54568         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54569         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54570         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54571         (TCP_FASTOPEN): Define.
54572         (tcp_repair_opt): New structure.
54573         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54574         enum values.
54575         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54576         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54577         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54578         (tcp_cookie_transactions): New structure.
54580 2013-01-09  Anton Blanchard  <anton@samba.org>
54582         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54583         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54584         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54587 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54589         * include/features.h (__USE_ANSI): Remove.
54591 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54593         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54595         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54597 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54599         * sysdeps/s390/fpu/libm-test-ulps: Update.
54601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54603         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54604         (__acr): Likewise.
54605         (__cpy): Likewise.
54606         (norm): Likewise.
54607         (denorm): Likewise.
54608         (__mp_dbl): Likewise.
54609         (__dbl_mp): Likewise.
54610         (add_magnitudes): Likewise.
54611         (sub_magnitudes): Likewise.
54612         (__add): Likewise.
54613         (__sub): Likewise.
54614         (__mul): Likewise.
54615         (__inv): Likewise.
54616         (__dvd): Likewise.
54617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54618         (__acr): Likewise.
54619         (__cpy): Likewise.
54620         (norm): Likewise.
54621         (denorm): Likewise.
54622         (__mp_dbl): Likewise.
54623         (__dbl_mp): Likewise.
54624         (add_magnitudes): Likewise.
54625         (sub_magnitudes): Likewise.
54626         (__add): Likewise.
54627         (__sub): Likewise.
54628         (__mul): Likewise.
54629         (__inv): Likewise.
54630         (__dvd): Likewise.
54631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54632         (__acr): Likewise.
54633         (__cpy): Likewise.
54634         (norm): Likewise.
54635         (denorm): Likewise.
54636         (__mp_dbl): Likewise.
54637         (__dbl_mp): Likewise.
54638         (add_magnitudes): Likewise.
54639         (sub_magnitudes): Likewise.
54640         (__add): Likewise.
54641         (__sub): Likewise.
54642         (__mul): Likewise.
54643         (__inv): Likewise.
54644         (__dvd): Likewise.
54646 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54648         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54649         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54650         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54651         2 && __USE_EXTERN_INLINES]: Likewise.
54653 2013-01-08  Andreas Jaeger  <aj@suse.de>
54655         [BZ# 14985]
54656         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54657         Remove.
54658         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54659         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54661 2013-01-07  Anton Blanchard  <anton@samba.org>
54663         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54664         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54665         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54666         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54667         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54668         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54669         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54670         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54672         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54673         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54676         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54678         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54679         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54681         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54684         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54685         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54686         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54687         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54688         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54689         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54691         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54692         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54693         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54695         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54697         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54698         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54699         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54701         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54703         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54705         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54707 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54709         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54710         (__MALLOC_PMT): Likewise.
54711         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54712         [__GNUC__], only on [_LIBC].
54713         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54714         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54715         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54716         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54717         forward declaration.
54718         (realloc_hook_ini): Likewise.
54719         (memalign_hook_ini): Likewise.
54720         (__libc_memalign): Do not use __MALLOC_PMT in variable
54721         declaration.
54722         (__libc_valloc): Likewise.
54723         (__libc_pvalloc): Likewise.
54724         (__libc_calloc): Likewise.
54725         (__posix_memalign): Likewise.
54727         [BZ #14996]
54728         * math/s_casinh.c: Include <float.h>.
54729         (__casinh): Do not do computation with squaring and square root
54730         for large arguments.
54731         * math/s_casinhf.c: Include <float.h>.
54732         (__casinhf): Do not do computation with squaring and square root
54733         for large arguments.
54734         * math/s_casinhl.c: Include <float.h>.
54735         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54736         (__casinhl): Do not do computation with squaring and square root
54737         for large arguments.
54738         * math/libm-test.inc (casin_test): Add more tests.
54739         (casinh_test): Likewise.
54740         * sysdeps/i386/fpu/libm-test-ulps: Update.
54741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54743 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54745         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54746         (__x86_64_raw_data_cache_size): Likewise.
54747         (__x86_64_data_cache_size_half): Likewise.
54748         (__x86_64_raw_data_cache_size_half): Likewise.
54749         (__x86_64_shared_cache_size): Likewise.
54750         (__x86_64_raw_shared_cache_size): Likewise.
54751         (__x86_64_shared_cache_size_half): Likewise.
54752         (__x86_64_raw_shared_cache_size_half): Likewise.
54753         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54754         to ...
54755         (__x86_data_cache_size): This.
54756         (__x86_64_raw_data_cache_size): Renamed to ...
54757         (__x86_raw_data_cache_size): This.
54758         (__x86_64_data_cache_size_half): Renamed to ...
54759         (__x86_data_cache_size_half): This.
54760         (__x86_64_raw_data_cache_size_half): Renamed to ...
54761         (__x86_raw_data_cache_size_half): This.
54762         (__x86_64_shared_cache_size): Renamed to ...
54763         (__x86_shared_cache_size): This.
54764         (__x86_64_raw_shared_cache_size): Renamed to ...
54765         (__x86_raw_shared_cache_size): This.
54766         (__x86_64_shared_cache_size_half): Renamed to ...
54767         (__x86_shared_cache_size_half): This.
54768         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54769         (__x86_raw_shared_cache_size_half): This.
54770         * sysdeps/x86_64/memcpy.S: Updated.
54771         * sysdeps/x86_64/memset.S: Likewise.
54772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54773         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54776 2013-01-04  David S. Miller  <davem@davemloft.net>
54778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54780 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54782         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54783         1 to avoid redefinition warning.
54784         (__USE_GNU): Don't define.
54785         (init_signaling_nan): Protoize.
54787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54789 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54791         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54793         (__cpymn): Likewise.
54794         (norm): Remove commented code.
54795         (denorm): Likewise.
54796         (__mp_dbl): Likewise.
54797         (__inv): Likewise.
54798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54799         (__cpymn): Likewise.
54800         (norm): Remove commented code.
54801         (denorm): Likewise.
54802         (__mp_dbl): Likewise.
54803         (__inv): Likewise.
54805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54806         mp_no value for 1.0 and 2.0.
54807         (norm): Use RADIXI instead of radixi.d.
54808         (denorm): Likewise.
54809         (__mul): Use 0.0 instead of zero.d.
54810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54811         mp_no value for 1.0 and 2.0.
54812         (norm): Use RADIXI instead of radixi.d.
54813         (denorm): Likewise.
54814         (__mul): Use 0.0 instead of zero.d.
54816 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54818         [BZ #14994]
54819         * math/s_casinh.c (__casinh): Reduce finite argument to first
54820         quadrant then set signs of results at the end.
54821         * math/s_casinhf.c (__casinhf): Likewise.
54822         * math/s_casinhl.c (__casinhl): Likewise.
54823         * math/libm-test.inc (casin_test): Add more tests.
54824         (casinh_test): Likewise.
54825         * sysdeps/i386/fpu/libm-test-ulps: Update.
54826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54828 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54830         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54832         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54834         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54835         declarations.
54836         (denorm): Likewise.
54837         (__mp_dbl): Likewise.
54838         (__inv): Likewise.
54840         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54841         and adjust the header comment.
54843         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54844         variable name from declaration.
54846 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54849         Initialize COMMON_CPUID_INDEX_7 element.
54850         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54851         (CPUID_RTM): Likewise.
54852         (HAS_RTM): Likewise.
54853         (COMMON_CPUID_INDEX_7): New enum.
54855 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54857         [BZ #14981]
54858         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54859         size is zero, record memory as freed.
54861 2013-01-03  Andreas Jaeger  <aj@suse.de>
54863         * po/ia.po: Add new Interlingua translation.
54865 2012-01-03  Allan McRae  <allan@archlinux.org>
54867         * locale/programs/localedef.c: Fix description of '--posix' flag.
54869 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54871         * NEWS: Update dates in second copyright notice.
54872         * README: Update copyright dates in example.
54873         * manual/libc.texinfo: Update copyright dates.
54874         * scripts/test-installation.pl: Update copyright date in --version
54875         output.
54877         * hurd/ctty-input.c: Fix copyright notice formatting.
54878         * hurd/ctty-output.c: Likewise.
54879         * hurd/dtable.c: Likewise.
54880         * hurd/hurd-raise.c: Likewise.
54881         * hurd/hurdprio.c: Likewise.
54882         * hurd/msgportdemux.c: Likewise.
54883         * misc/sys/file.h: Likewise.
54884         * misc/sys/ioctl.h: Likewise.
54885         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54886         * sysdeps/mach/hurd/chdir.c: Likewise.
54887         * sysdeps/mach/hurd/fchdir.c: Likewise.
54888         * sysdeps/mach/hurd/rename.c: Likewise.
54889         * sysdeps/mach/hurd/rmdir.c: Likewise.
54890         * sysdeps/mach/hurd/seekdir.c: Likewise.
54891         * sysdeps/mach/hurd/setsid.c: Likewise.
54892         * sysdeps/posix/wait3.c: Likewise.
54894         * All files with FSF copyright notices: Update copyright dates
54895         using scripts/update-copyrights.
54896         * intl/plural.c: Regenerated.
54897         * locale/programs/charmap-kw.h: Likewise.
54898         * locale/programs/locfile-kw.h: Likewise.
54900 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54902         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54903         four values.
54905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54906         calculation loop and add branch prediction.
54908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54909         check access beyond bounds of m1np.
54911         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54912         MPTWO.
54913         (__inv): Remove local variable MPTWO to use the global
54914         constant.
54915         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54917         variable MPTWO.
54918         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54919         MP3HALFS static const.
54921 2013-01-01  David S. Miller  <davem@davemloft.net>
54923         * po/ca.po: Update from translation team.
54925 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54927         * scripts/update-copyrights: New file.
54928         * Makeconfig: Reformat copyright notice.
54929         * ctype/ctype.h: Likewise.
54930         * debug/swprintf_chk.c: Likewise.
54931         * elf/dl-cache.c: Likewise.
54932         * elf/dl-debug.c: Likewise.
54933         * elf/dl-object.c: Likewise.
54934         * grp/initgroups.c: Likewise.
54935         * hurd/Makefile: Likewise.
54936         * hurd/hurd/signal.h: Likewise.
54937         * hurd/hurdfault.c: Likewise.
54938         * hurd/hurdioctl.c: Likewise.
54939         * hurd/hurdlookup.c: Likewise.
54940         * hurd/intr-msg.c: Likewise.
54941         * iconv/gconv_open.c: Likewise.
54942         * libio/swprintf.c: Likewise.
54943         * locale/lc-ctype.c: Likewise.
54944         * locale/nl_langinfo.c: Likewise.
54945         * mach/Machrules: Likewise.
54946         * mach/Makefile: Likewise.
54947         * malloc/obstack.h: Likewise.
54948         * manual/Makefile: Likewise.
54949         * manual/tsort.awk: Likewise.
54950         * misc/bits/stab.def: Likewise.
54951         * nis/nis_print_group_entry.c: Likewise.
54952         * nis/nis_table.c: Likewise.
54953         * nis/nss_compat/compat-pwd.c: Likewise.
54954         * nis/nss_compat/compat-spwd.c: Likewise.
54955         * po/Makefile: Likewise.
54956         * posix/fnmatch.c: Likewise.
54957         * posix/regex.h: Likewise.
54958         * resolv/Makefile: Likewise.
54959         * resolv/nss_dns/dns-network.c: Likewise.
54960         * resolv/res_hconf.c: Likewise.
54961         * scripts/gen-sorted.awk: Likewise.
54962         * soft-fp/soft-fp.h: Likewise.
54963         * stdio-common/printf.h: Likewise.
54964         * stdlib/monetary.h: Likewise.
54965         * stdlib/random.c: Likewise.
54966         * stdlib/random_r.c: Likewise.
54967         * sysdeps/generic/Makefile: Likewise.
54968         * sysdeps/gnu/Makefile: Likewise.
54969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54971         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54976         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54977         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54979         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54980         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54981         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54982         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54983         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54985         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54987         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54989         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54990         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54991         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54992         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54993         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54997         * sysdeps/mach/hurd/errnos.awk: Likewise.
54998         * sysdeps/mach/hurd/fork.c: Likewise.
54999         * sysdeps/mach/hurd/getcwd.c: Likewise.
55000         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55001         * sysdeps/mach/hurd/mmap.c: Likewise.
55002         * sysdeps/mach/hurd/utimes.c: Likewise.
55003         * sysdeps/mach/hurd/xmknod.c: Likewise.
55004         * sysdeps/posix/profil.c: Likewise.
55005         * sysdeps/posix/readdir_r.c: Likewise.
55006         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55007         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55008         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55009         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55011         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55012         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55013         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55015         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55016         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55017         * sysdeps/pthread/lio_listio.c: Likewise.
55018         * sysdeps/sparc/dl-procinfo.h: Likewise.
55019         * sysdeps/unix/i386/sysdep.S: Likewise.
55020         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55021         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55022         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55023         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55025         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55026         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55027         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55028         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55029         * sysdeps/wordsize-32/divdi3.c: Likewise.
55030         * time/sys/time.h: Likewise.
55031         * wcsmbs/Makefile: Likewise.
55033 2013-01-01  David S. Miller  <davem@davemloft.net>
55035         * po/fr.po: Update from translation team.
55037         * catgets/gencat.c: Update copyright year.
55038         * csu/version.c: Likewise.
55039         * debug/catchsegv.sh: Likewise.
55040         * debug/pcprofiledump.c: Likewise.
55041         * debug/xtrace.sh: Likewise.
55042         * elf/ldconfig.c: Likewise.
55043         * elf/ldd.bash.in: Likewise.
55044         * elf/pldd.c: Likewise.
55045         * elf/sotruss.ksh: Likewise.
55046         * elf/sprof.c: Likewise.
55047         * iconv/iconv_prog.c: Likewise.
55048         * iconv/iconvconfig.c: Likewise.
55049         * locale/programs/locale.c: Likewise.
55050         * locale/programs/localedef.c: Likewise.
55051         * login/programs/pt_chown.c: Likewise.
55052         * malloc/memusage.sh: Likewise.
55053         * malloc/memusagestat.c: Likewise.
55054         * malloc/mtrace.pl: Likewise.
55055         * nscd/nscd.c: Likewise.
55056         * nss/getent.c: Likewise.
55057         * nss/makedb.c: Likewise.
55058         * posix/getconf.c: Likewise.
55060 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55062         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55063         numbers.
55065 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55067         * math/bits/mathcalls.h (modf): Use __nonnull.
55069 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55071         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55072         (split): Use macro CN instead of the bare value.
55073         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55074         could be used.
55075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55076         instead of the bare value.
55077         (power1): Likewise.
55079 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55082         __ATAN_TWOM.
55083         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55085         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55086         their values.
55087         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55088         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55089         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55090         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55092 2012-12-28  Andreas Jaeger  <aj@suse.de>
55094         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55095         values are from Linux 3.7.
55097         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55098         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55100 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55102         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55103         TRUE case.
55105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55106         (norm): Likewise.
55107         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55108         variables with preprocessor constants.
55109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55110         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55111         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55113 2012-12-27  Bruno Haible  <bruno@clisp.org>
55115         [BZ #14317]
55116         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55117         only if needed.
55119 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55122         and use variable directly.
55123         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55125         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55126         MPONE.
55127         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55128         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55129         variable MPONE.
55130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55132         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55133         include directive.  Remove local variable MPONE.
55134         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55136         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55138 2012-12-25  David S. Miller  <davem@davemloft.net>
55140         * version.h (RELEASE): Set to "development".
55141         (VERSION): Set to "2.17.90".
55142         * NEWS: Add 2.18 section.
55144 2012-12-21  David S. Miller  <davem@davemloft.net>
55146         * po/hr.po: Update from translation team.
55148 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55150         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55152 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55154         * NEWS:  Mention new memcpy for MIPS.
55156 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55158         * manual/contrib.texi (Contributors): Spelling correction.
55160 2012-12-15  David S. Miller  <davem@davemloft.net>
55162         * po/ru.po: Update from translation team.
55164 2012-12-13  David S. Miller  <davem@davemloft.net>
55166         * NEWS: Mention IFUNC testsuite enhancements.
55168         * po/pl.po: Update from translation team.
55169         * po/bg.po: Likewise.
55171         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55172         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55174 2012-12-11  David S. Miller  <davem@davemloft.net>
55176         * po/sv.po: Update from translation team.
55178         * po/vi.po: Update from translation team.
55180         * po/cs.po: Update from translation team.
55182         * po/de.po: Update from translation team.
55183         * po/eo.po: Likewise.
55184         * po/nl.po: Likewise.
55186 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55188         [BZ #14246]
55189         * manual/argp.texi (Argp Helper Functions): Move node to follow
55190         Argp Parsing State.
55192         [BZ #14872]
55193         * manual/conf.texi (Limits on File System Capacity): Mention if
55194         terminating null is included in the max size.
55196 2012-12-10  Andreas Jaeger  <aj@suse.de>
55198         * po/cs.po: Update from translation team.
55200 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55202         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55203         void pointer and cast to uintptr_t.
55204         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55205         path.
55206         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55207         * sysdeps/s390/s390-64/memset.S: Likewise.
55209 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55211         [BZ #14833]
55212         * menual/message.texi (Message Translation): Fix typos.
55213         (Helper programs for gettext): Likewise.
55215 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55217         [BZ #14898]
55218         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55219         Change to -1.
55221 2012-12-07  David S. Miller  <davem@davemloft.net>
55223         * po/libc.pot: Update.
55225 2012-12-07  Richard Henderson  <rth@redhat.com>
55227         [BZ #10114]
55228         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55229         normal/normal case to before the switch.
55230         (_FP_DIV): Likewise.
55232 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55233             Mike Frysinger  <vapier@gentoo.org>
55235         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55236         check for __NR_fadvise64_64.
55238 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55240         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55241         0, not just to plain "0" as a statement.
55242         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55243         with cw.
55245 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55247         * NEWS: Use sourceware.org in Bugzilla URL.
55249 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55252         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55254         * stdio-common/tst-put-error.c (do_test): Add newline to the
55255         padded test to ensure flush.
55257 2012-12-05  Jeff Law  <law@redhat.com>
55259         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55261 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55263         * README: Don't refer to ports add-on as distributed separately.
55264         Mention AArch64 in list of systems supported in the ports add-on.
55266         * LICENSES: Add more non-FSF copyright and license notices.
55268         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55269         ((unused)).
55271         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55273         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55274         10000 as width of padded output.
55276 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55278         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55281         variable LX with __attribute__ ((unused)).
55282         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55283         Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55287         with __attribute__ ((unused)).
55289 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55291         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55293 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55295         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55296         (CFLAGS-nldbl-acos.c): New variable.
55297         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55298         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55299         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55300         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55301         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55302         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55303         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55304         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55305         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55306         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55307         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55308         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55309         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55310         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55311         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55312         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55313         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55314         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55315         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55316         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55317         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55318         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55319         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55320         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55321         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55322         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55323         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55324         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55325         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55326         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55327         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55328         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55329         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55330         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55331         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55332         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55333         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55334         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55335         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55336         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55337         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55338         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55339         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55340         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55341         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55342         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55343         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55344         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55345         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55346         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55347         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55348         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55349         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55350         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55351         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55352         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55353         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55354         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55355         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55356         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55357         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55358         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55359         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55360         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55361         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55362         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55363         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55364         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55365         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55366         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55367         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55368         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55369         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55370         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55371         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55372         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55373         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55374         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55375         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55376         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55377         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55378         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55379         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55380         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55381         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55382         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55383         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55384         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55385         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55386         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55387         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55388         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55389         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55390         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55391         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55392         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55393         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55396         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55398         [BZ #14914]
55399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55400         whole low double instead of just low 47 bits when splitting values
55401         into two parts.
55403 2012-12-03  Allan McRae  <allan@archlinux.org>
55405         * manual/stdio.texi (Predefined Printf Handlers): Remove
55406         @hsep and @vsep usage.
55408 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55410         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55411         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55413 2012-12-03  Jeff Law  <law@redhat.com>
55415         * time/sys/time.h (settimeofday): Do not mark TV argument
55416         as __nonnull.
55418 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55420         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55421         when currently writing and seek to current position when not.
55422         * libio/Makefile (tests): Remove bug-fclose1.
55423         * libio/bug-fclose1.c: Delete.
55425 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55427         * manual/arith.texi (feenableexcept): Fix typo.
55428         (fedisableexcept): Likewise.
55430 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55432         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55433         second, differently-typed declaration, rather than a cast.
55435 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55437         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55438         * include/rpc/svc.h: ... here.
55440 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55442         [BZ #13013]
55443         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55444         depending n and resplen2 to catch cases where answer
55445         equals answerp2.
55447 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55449         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55450         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55452 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55456 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55458         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55460 2012-11-28  Jeff Law  <law@redhat.com>
55462         [BZ #13761]
55463         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55464         dataset_temporary.  Track alloca usage into alloca_used.
55465         If dataset is large allocate and release it via malloc/free.
55467 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55469         [BZ #14197]
55470         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55472 2012-11-28  David S. Miller  <davem@davemloft.net>
55474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55476 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55478         [BZ #14803]
55479         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55480         of pi/2 rounded to nearest to 64 bits.
55481         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55482         nearest to 64 bits.
55483         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55484         bits.
55486 2012-11-28  Jeff Law <law@redhat.com>
55487             Martin Osvald <mosvald@redhat.com>
55489         [BZ #14889]
55490         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55491         * sunrpc/svc.c: Include time.h.
55492         (__svc_accept_failed): New function.
55493         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55494         any reason other than EINTR, call __svc_accept_failed.
55495         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55496         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55498 2012-11-28  Andreas Schwab  <schwab@suse.de>
55500         * scripts/abilist.awk: Also handle indirect functions in .opd
55501         section.
55503 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55505         [BZ #13881]
55506         * sysdeps/x86/fpu/powl_helper.c: New file.
55507         * sysdeps/x86/fpu/Makefile: Likewise.
55508         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55509         (p3): New object.
55510         (__ieee754_powl): Use __powl_helper for finite arguments except
55511         integer exponents below 8.
55512         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55513         (p3): New object.
55514         (__ieee754_powl): Use __powl_helper for finite arguments except
55515         integer exponents below 8.
55516         * math/libm-test.inc (pow_test): Add more tests and enable some
55517         previously disabled tests.
55518         * sysdeps/i386/fpu/libm-test-ulps: Update.
55519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55521 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55522             Carlos O'Donell  <carlos_odonell@mentor.com>
55524         * nss/makedb.c (is_prime): Assert that input is odd and greater
55525         than 4.  Note that fact in a comment too.
55526         (next_prime): Add 4 to input.
55528 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55530         [BZ #11741]
55531         * libio/Makefile (tests): Add test case tst-fwrite-error.
55532         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55533         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55534         * libio/tst-fwrite-error.c: New test case.
55536 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55538         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55539         before casting to void *.
55540         * include/libc-internal.h (__pointer_type): New macro.
55541         (__integer_if_pointer_type_sub): Likewise.
55542         (__integer_if_pointer_type): Likewise.
55543         (cast_to_integer): Likewise.
55544         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55545         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55546         before casting to atomic64_t.
55547         (atomic_exchange_acq): Likewise.
55548         (__arch_exchange_and_add_body): Likewise.
55549         (__arch_add_body): Likewise.
55550         (atomic_add_negative): Likewise.
55551         (atomic_add_zero): Likewise.
55553 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55555         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55556         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55557         (add_fdes): Likewise.
55558         (linear_search_fdes): Likewise.
55559         (binary_search_unencoded_fdes): Likewise.
55561 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55563         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55565 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55567         * configure.in: Autodetect C++ header directories.
55568         * configure: Regenerated.
55570 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55572         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55574 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55578 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55580         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55581         LDBL_MANT_DIG == 106]: Disable some tests.
55582         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55583         Likewise.
55584         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55585         Likewise.
55587         [BZ #14871]
55588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55589         input for small inputs.  Return +/- pi/2 for large inputs.
55590         * math/libm-test.inc (atan_test): Add more tests.
55592         * sysdeps/generic/unwind-dw2-fde-glibc.c
55593         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55594         __attribute__ ((unused)).
55596         [BZ #14645]
55597         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55598         x * y if x and y are nonzero and z is zero.
55600         [BZ #14811]
55601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55602         nonzero exponents with absolute value below 0x1p-117 to +/-
55603         0x1p-117.
55605         [BZ #14869]
55606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55607         up arguments below 2**-450, not just those below 2**-500.
55608         * math/libm-test.inc (hypot_test): Add another test.
55610         [BZ #14868]
55611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55612         Return a+b for ratio over 2**120, not 2**60.
55613         * math/libm-test.inc (hypot_test): Add another test.
55615         * math/libm-test.inc (clog_test): Use
55616         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55617         (clog10_test): Likewise.
55619         [BZ #6778]
55620         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55622 2012-11-22  Andreas Schwab  <schwab@suse.de>
55624         * sysdeps/i386/fpu/libm-test-ulps: Update.
55626 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55628         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55629         printf output with newline.
55631 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55633         [BZ #14865]
55634         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55635         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55636         -z nodlopen, -z initfirst and -z execstack support.
55637         * configure: Regenerated.
55639         * elf/elf.h (DF_1_NODIRECT): New macro.
55640         (DF_1_IGNMULDEF): Likewise.
55641         (DF_1_NOKSYMS): Likewise.
55642         (DF_1_NOHDR): Likewise.
55643         (DF_1_EDITED): Likewise.
55644         (DF_1_NORELOC): Likewise.
55645         (DF_1_SYMINTPOSE): Likewise.
55646         (DF_1_GLOBAUDIT): Likewise.
55647         (DF_1_SINGLETON): Likewise.
55648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55649         DT_1_SUPPORTED_MASK bits.
55650         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55652 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55654         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55656 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55658         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55659         macro.
55661         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55662         (sendmmsg): Move declarations...
55663         * socket/sys/socket.h: ... here.
55664         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55665         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55666         include it from...
55667         * socket/recvmmsg.c: ... this new file.
55668         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55669         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55670         definition of __sendmmsg hidden.
55671         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55672         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55673         Move ENOSYS stub into and include it from...
55674         * socket/sendmmsg.c: ... this new file.
55675         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55676         (sysdep_routines): Move recvmmsg and sendmmsg...
55677         * socket/Makefile (routines): ... here.
55678         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55679         (GLIBC_PRIVATE): Add __sendmmsg.
55680         * include/sys/socket.h (__sendmmsg): Add declarations.
55681         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55682         sendmmsg.
55684 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55687         variable I1 with __attribute__ ((unused)).
55688         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55690 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55692         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55693         DUMMY variables with __attribute__ ((unused)).
55695         * bits/byteswap.h: Include <bits/types.h>.
55696         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55698 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55700         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55701         string_t.  Do not manually set errno.
55702         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55703         length with __strnlen.  Make sure to both set errno and return it on
55704         failure.
55706 2012-11-19  David S. Miller  <davem@davemloft.net>
55708         With help from Joseph Myers.
55709         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55710         very large arguments properly.
55711         * math/libm-test.inc (atan_test): New tests.
55712         (atan2_test): New tests.
55713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55716 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55718         [BZ #14856]
55719         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55720         Define to 3.
55722         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55723         [POSIX] (EADDRNOTAVAIL): Likewise.
55724         [POSIX] (EAFNOSUPPORT): Likewise.
55725         [POSIX] (EALREADY): Likewise.
55726         [POSIX] (ECONNABORTED): Likewise.
55727         [POSIX] (ECONNREFUSED): Likewise.
55728         [POSIX] (ECONNRESET): Likewise.
55729         [POSIX] (EDESTADDRREQ): Likewise.
55730         [POSIX] (EDQUOT): Likewise.
55731         [POSIX] (EHOSTUNREACH): Likewise.
55732         [POSIX] (EIDRM): Likewise.
55733         [POSIX] (EISCONN): Likewise.
55734         [POSIX] (ELOOP): Likewise.
55735         [POSIX] (EMULTIHOP): Likewise.
55736         [POSIX] (ENETDOWN): Likewise.
55737         [POSIX] (ENETUNREACH): Likewise.
55738         [POSIX] (ENOBUFS): Likewise.
55739         [POSIX] (ENODATA): Likewise.
55740         [POSIX] (ENOLINK): Likewise.
55741         [POSIX] (ENOMSG): Likewise.
55742         [POSIX] (ENOPROTOOPT): Likewise.
55743         [POSIX] (ENOSR): Likewise.
55744         [POSIX] (ENOSTR): Likewise.
55745         [POSIX] (ENOTCONN): Likewise.
55746         [POSIX] (ENOTSOCK): Likewise.
55747         [POSIX] (EOPNOTSUPP): Likewise.
55748         [POSIX] (EOVERFLOW): Likewise.
55749         [POSIX] (EPROTO): Likewise.
55750         [POSIX] (EPROTONOSUPPORT): Likewise.
55751         [POSIX] (EPROTOTYPE): Likewise.
55752         [POSIX] (ESTALE): Likewise.
55753         [POSIX] (ETIME): Likewise.
55754         [POSIX] (ETXTBSY): Likewise.
55755         [POSIX] (EWOULDBLOCK): Likewise.
55756         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55757         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55758         [POSIX] (SEEK_CUR): Likewise.
55759         [POSIX] (SEEK_END): Likewise.
55760         [POSIX || UNIX98] (mode_t): Do not require.
55761         [POSIX] (off_t): Likewise.
55762         [POSIX] (pid_t): Likewise.
55763         [POSIX] (sys/stat.h): Do not allow header.
55764         [POSIX] (unistd.h): Likewise.
55765         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55766         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55767         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55768         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55769         require.
55770         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55771         sigevent): Specify elements.
55772         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55773         entry.
55774         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55775         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55777         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55778         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55779         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55780         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55781         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55782         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55783         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55784         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55785         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55786         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55787         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55788         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55789         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55791         Likewise.
55792         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55793         Likewise.
55794         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55795         Likewise.
55796         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55797         Likewise.
55798         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55799         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55800         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55801         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55802         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55803         Specify lower bound on value.
55804         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55805         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55806         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55807         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55808         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55809         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55810         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55811         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55812         value.
55813         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55814         as optional.
55815         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55816         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55817         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55818         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55819         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55820         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55821         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55822         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55823         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55824         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55825         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55826         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55827         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55828         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55829         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55831         entry.
55832         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55833         optional.
55834         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55835         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55836         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55837         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55838         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55840         Likewise.
55841         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55842         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55843         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55844         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55845         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55846         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55848         as optional.
55849         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55850         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55851         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55852         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55853         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55854         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55855         specify as optional.
55856         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55857         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55858         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55859         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55860         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55861         [XPG3] (NL_LANGMAX): Likewise.
55862         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55863         [POSIX || XPG3] (NL_NMAX): Likewise.
55864         [POSIX || XPG3] (NL_SETMAX): Likewise.
55865         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55866         [XPG3] (NZERO): Likewise.
55867         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55868         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55869         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55870         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55871         (REG_ERANGE): Expect.
55872         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55873         optional-constant.
55874         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55875         Use (void) in prototype.
55876         [POSIX] (*_t): Allow.
55877         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55878         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55879         (WRDE_BADVAL): Expect.
55881         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55882         expect.
55883         [XPG3 || XPG4] (O_RSYNC): Likewise.
55884         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55885         Likewise.
55886         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55887         [XPG3 || XPG4] (sigqueue): Likewise.
55888         [XPG3 || XPG4] (sigtimedwait): Likewise.
55889         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55890         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55891         [XPG3 || XPG4] (vsnprintf): Likewise.
55892         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55893         Likewise.
55894         [XPG3 || XPG4] (blksize_t): Likewise.
55895         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55896         Likewise.
55897         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55898         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55899         [XPG3 || XPG4] (struct itimerspec): Likewise.
55900         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55901         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55902         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55903         [XPG3 || XPG4] (clockid_t): Likewise.
55904         [XPG3 || XPG4] (timer_t): Likewise.
55905         [XPG3 || XPG4] (clock_getres): Likewise.
55906         [XPG3 || XPG4] (clock_gettime): Likewise.
55907         [XPG3 || XPG4] (clock_settime): Likewise.
55908         [XPG3 || XPG4] (nanosleep): Likewise.
55909         [XPG3 || XPG4] (timer_create): Likewise.
55910         [XPG3 || XPG4] (timer_delete): Likewise.
55911         [XPG3 || XPG4] (timer_gettime): Likewise.
55912         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55913         [XPG3 || XPG4] (timer_settime): Likewise.
55914         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55915         [XPG3 || XPG4] (getlogin_r): Likewise.
55916         [XPG3 || XPG4] (pread): Likewise.
55917         [XPG3 || XPG4] (pthread_atfork): Likewise.
55918         [XPG3 || XPG4] (pwrite): Likewise.
55920         [BZ #14835]
55921         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55922         <bits/siginfo.h>.
55924 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55926         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55927         finalizing MALLSTREAM.
55929         * sysdeps/mach/hurd/syncfs.c: New file.
55931 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55933         [BZ #14719]
55934         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55935         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55936         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55937         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55938         (_nss_dns_gethostbyname4_r): Likewise.
55939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55940         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55942 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55944         [BZ #13763]
55945         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55947 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55949         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55950         * elf/cache.c (print_entry): Print ",AArch64" for
55951         FLAG_AARCH64_LIB64
55953         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55954         * elf/cache.c (print_entry): Print ",hard-float" for
55955         FLAG_ARM_LIBHF.
55957 2012-11-18  David S. Miller  <davem@davemloft.net>
55959         With help from Joseph Myers.
55960         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55961         cutoff to 2**-13.
55962         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55963         cutoff to 2**-25.
55964         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55965         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55966         small.
55967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55968         * math/libm-test.inc (y0_test): New tests.
55969         (y1_test): New tests.
55970         * sysdeps/i386/fpu/libm-test-ulps: Update.
55971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55974 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55976         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55977         64-bit targets.
55978         * configure: Regenerated.
55980 2012-11-17  David S. Miller  <davem@davemloft.net>
55982         [BZ #14811]
55983         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55984         nonzero exponents with absolute value below 0x1p-128 to +/-
55985         0x1p-128.
55987 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55989         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55991         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55993         * posix/getconf-speclist.c: New file.
55994         * posix/posix-envs.def: Likewise.
55995         * posix/confstr.c (START_ENV_GROUP): New macro.
55996         (END_ENV_GROUP): Likewise.
55997         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55998         (KNOWN_PRESENT_ENV_STRING): Likewise.
55999         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56000         (UNKNOWN_ENVIRONMENT): Likewise.
56001         (confstr): Include posix-envs.def instead of handling
56002         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56003         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56004         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56005         (END_ENV_GROUP): Likewise.
56006         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56007         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56008         (UNKNOWN_ENVIRONMENT): Likewise.
56009         (__sysconf): Include posix-envs.def instead of handling associated
56010         cases directly here.
56011         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56012         preprocessing getconf-speclist.c rather than running getconf or
56013         generating empty file.
56015 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56017         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56019 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56021         [BZ #14672]
56022         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56024 2012-11-16  David S. Miller  <davem@davemloft.net>
56026         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56027         smaller than LDBL_EPSILON/2.0L, just return xm1.
56029 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56031         * elf/tst-array1.c (init): Set constructor priority to 1000.
56032         (fini): Set destructor priority to 1000.
56033         * elf/tst-array2dep.c: Likewise.
56035 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56037         [BZ #11741]
56038         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56039         (_IO_new_file_xsputn): Also return EOF if none of the input
56040         data was written when overflow failed.
56041         * libio/iopadn.c (_IO_padn): Likewise.
56042         * libio/iowpadn.c (_IO_wpadn): Likewise.
56043         * stdio-common/tst-put-error.c: Add copyright notice.
56044         (do_test): Add case for printing padded string.
56045         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56046         _IO_padn returned error.
56047         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56048         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56049         return EOF.
56051 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56053         * libio/libioP.h: Add comment note that the references to C++
56054         bits are now obsolete.
56056 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56058         * math/libm-test.inc (check_complex): Use asprintf.
56060 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56062         * debug/pcprofiledump.c (print_version): Update copyright year.
56063         * malloc/memusagestat.c (print_version): Likewise.
56065 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56067         [BZ #14831]
56068         * elf/Makefile (tests): Add tst-audit8.
56069         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56070         ($(objpfx)tst-audit8.out): New target.
56071         (tst-audit8-ENV): New variable.
56072         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56073         audit if l_reloc_result is NULL.
56074         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56075         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56076         * elf/tst-audit8.c: New file.
56078 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56080         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56081         * misc/Makefile (CFLAGS-select.c): Define.
56082         * posix/Makefile (CFLAGS-pause.c): Define.
56084 2012-11-13  David S. Miller  <davem@davemloft.net>
56086         * crypt/Makefile: Move test targets after toplevel Rules
56087         inclusion.  Grab any necessary sysdep routines when linking.
56088         * crypt/md5.c (md5_process_block): Remove define, we will always
56089         name it __md5_process_block.
56090         (md5_finish_ctx): Update md5_process_block call.
56091         (md5_stream): Likewise.
56092         (md5_process_bytes): Likewise.
56093         (md5_process_block): Rename to __md5_process_block and move to ...
56094         * crypt/md5-block.c: ... here.
56095         * crypt/sha256.c (sha256_process_block): Move to ...
56096         * crypt/sha256-block.c: ... here.
56097         * crypt/sha512.c (sha512_process_block): Move to ...
56098         * crypt/sha512-block.c: ... here.
56099         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56100         path.
56101         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56102         * sysdeps/sparc/sparc64/multiarch/Makefile
56103         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56104         crypt subdir.
56105         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56106         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56107         multiarch changes.
56108         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56109         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56110         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56111         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56112         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56113         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56114         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56115         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56117         file.
56118         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56120         file.
56121         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56123 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56125         * timezone/tzselect.ksh: Update from tzcode git revision
56126         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56127         * timezone/zdump.c: Likewise.
56128         * timezone/zic.c: Likewise.
56129         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56130         in TZVERSION setting, not $(PKGVERSION).
56131         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56132         REPORT_BUGS_TO settings.
56134         [BZ #14838]
56135         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56136         macro.
56138 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56140         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56141         detection to immediately after _FP_ROUND().
56142         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56143         bits are 0.
56145 2012-11-11  David S. Miller  <davem@davemloft.net>
56147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56148         inttypes.h
56149         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56150         __close rather than their public counterparts.
56152 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56154         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56155         file.
56156         [UNIX98] (sem_timedwait): Do not expect.
56157         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56158         [XPG4 || UNIX98] (sockatmark): Do not expect.
56159         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56160         (clock_getcpuclockid): Do not expect.
56161         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56162         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56163         Do not expect.
56164         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56165         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56166         [UNIX98] (vwscanf): Likewise.
56167         [UNIX98] (vswscanf): Likewise.
56169 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56171         * timezone/version.h: Remove file.
56172         * timezone/README: Do not refer to version.h.
56173         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56174         $(objpfx)version.h.
56175         ($(objpfx)zdump.o): Likewise.
56176         ($(objpfx)version.h): New target.
56178         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56179         2012i.
56180         * timezone/README: Don't mention modification to tzselect.ksh.
56181         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56182         work on unmodified tzselect.ksh.  Substitute version numbers in
56183         tzselect.ksh.
56185         * Makefile (format-me): Remove.
56186         (INSTALL): Adjust indentation.  Use commands directly instead of
56187         using $(format-me).
56189         * aclocal.m4 (ACX_PKGVERSION): New macro.
56190         (ACX_BUGURL): Likewise.
56191         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56192         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56193         (REPORT_BUGS_TO): Likewise.
56194         * configure: Regenerated.
56195         * config.h.in (PKGVERSION): New macro.
56196         (REPORT_BUGS_TO): Likewise.
56197         * config.make.in (PKGVERSION): New variable.
56198         (PKGVERSION_TEXI): Likewise.
56199         (REPORT_BUGS_TO): Likewise.
56200         (REPORT_BUGS_TEXI): Likewise.
56201         * Makefile (format-me): Use -I$(common-objpfx)manual.
56202         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56203         ($(common-objpfx)manual/%): New target.
56204         (manual/%): Remove target.
56205         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56206         (print_version): Use PKGVERSION.
56207         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56208         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56209         and REPORT_BUGS_TO.
56210         ($(objpfx)xtrace): Likewise.
56211         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56212         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56213         (print_version): Use PKGVERSION.
56214         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56215         (do_version): Use PKGVERSION.
56216         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56217         REPORT_BUGS_TO.
56218         (common-ldd-rewrite): Likewise.
56219         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56220         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56221         (print_version): Use PKGVERSION.
56222         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56223         * elf/pldd.c (argp_program_bug_address): Remove variable.
56224         (more_help): New function.
56225         (argp): Use more_help.
56226         (print_version): Use PKGVERSION.
56227         * elf/sln.c (main): Use PKGVERSION.
56228         (usage): Use REPORT_BUGS_TO.
56229         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56230         (top level): Use PKGVERSION.
56231         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56232         (print_version): Use PKGVERSION.
56233         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56234         (print_version): Use PKGVERSION.
56235         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56236         (print_version): Use PKGVERSION.
56237         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56238         (print_version): Use PKGVERSION.
56239         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56240         (print_version): Use PKGVERSION.
56241         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56242         (print_version): Use PKGVERSION.
56243         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56244         and BUGURL.
56245         ($(objpfx)memusage): Likewise.
56246         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56247         (do_version): Use PKGVERSION.
56248         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56249         (print_version): Use PKGVERSION.
56250         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56251         ($PKGVERSION): New variable.
56252         ($REPORT_BUGS_TO): Likewise.
56253         (usage): Use $REPORT_BUGS_TO.
56254         (top level): Use $PKGVERSION.
56255         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56256         ($(objpfx)pkgvers.texi): New rule.
56257         ($(objpfx)stamp-pkgvers): Likewise.
56258         * manual/install.texi: Include pkgvers.texi.
56259         (--with-pkgversion): Document new configure option.
56260         (--with-bugurl): Likewise.
56261         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56262         than necessarily for this particular distribution.  Use
56263         REPORT_BUGS_TO for where to report bugs.
56264         * INSTALL: Regenerated.
56265         * manual/libc.texinfo: Include pkgvers.texi.
56266         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56267         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56268         (print_version): Use PKGVERSION.
56269         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56270         (print_version): Use PKGVERSION.
56271         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56272         (print_version): Use PKGVERSION.
56273         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56274         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56275         macro.
56276         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56277         (print_version): Use PKGVERSION.
56278         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56279         (print_version): Use PKGVERSION.
56280         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56281         and PKGVERSION.
56283         * timezone/checktab.awk: Update from tzcode 2012i.
56284         * timezone/ialloc.c: Likewise.
56285         * timezone/private.h: Likewise.
56286         * timezone/scheck.c: Likewise.
56287         * timezone/tzfile.h: Likewise.
56288         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56289         (TZVERSION): Hardcode tzcode version number.
56290         * timezone/zdump.c: Update from tzcode 2012i.
56291         * timezone/zic.c: Likewise.
56292         * timezone/version.h: New file.
56293         * timezone/README: Describe version.h.  Update upstream location.
56295         [BZ #14824]
56296         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56297         (mktemp): Enable declaration.
56298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56302         Likewise.
56303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56304         Likewise.
56305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56306         Likewise.
56307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56308         Likewise.
56309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56310         Likewise.
56311         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56312         Likewise.
56314         [BZ #14821]
56315         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56316         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56317         for copies of such integer values.
56318         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56319         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56321 2012-11-09  Andreas Jaeger  <aj@suse.de>
56323         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56324         definitions and declarations that are provided by
56325         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56327 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56329         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56330         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56331         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56332         definition.
56334 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56336         * elf/elf.h: Update comment before AArch64 relocations.
56338 2012-11-07  David S. Miller  <davem@davemloft.net>
56340         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56341         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56342         (__start_context): Declare.
56343         (__makecontext_ret): Delete.
56344         (__makecontext): Hook up __start_context instead of
56345         __makecontext_ret.
56346         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56347         (sysdep_routines): Add __start_context when in stdlib.
56349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56351         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56352         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56353         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56354         hardcoded "nm".
56355         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56356         (READELF): New variable.  Use it instead of hardcoded "readelf".
56358 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56360         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56361         * sysdeps/x86/Makefile: Here.
56362         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56363         * sysdeps/x86/tst-xmmymm.sh: This.
56365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56367         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56368         expectations.
56369         [UNIX98] (pthread_barrier_t): Do not expect.
56370         [UNIX98] (pthread_barrierattr_t): Likewise.
56371         [UNIX98] (pthread_spinlock_t): Likewise.
56372         [UNIX98] (pthread_barrier_destroy): Likewise.
56373         [UNIX98] (pthread_barrier_init): Likewise.
56374         [UNIX98] (pthread_barrier_wait): Likewise.
56375         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56376         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56377         [UNIX98] (pthread_barrierattr_init): Likewise.
56378         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56379         [UNIX98] (pthread_getcpuclockid): Likewise.
56380         [UNIX98] (pthread_mutex_timedlock): Likewise.
56381         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56382         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56383         [UNIX98] (pthread_sigmask): Likewise.
56384         [UNIX98] (pthread_spin_destroy): Likewise.
56385         [UNIX98] (pthread_spin_init): Likewise.
56386         [UNIX98] (pthread_spin_lock): Likewise.
56387         [UNIX98] (pthread_spin_trylock): Likewise.
56388         [UNIX98] (pthread_spin_unlock): Likewise.
56389         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56390         Do not expect.
56391         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56392         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56393         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56394         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56395         [XPG3 || XPG4] (pthread_key_t): Likewise.
56396         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56397         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56398         [XPG3 || XPG4] (pthread_once_t): Likewise.
56399         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56400         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56401         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56402         [XPG3 || XPG4] (pthread_t): Likewise.
56404         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56405         not expect.
56406         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56408         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56409         Change function return type to int.
56411         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56412         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56413         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56414         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56415         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56416         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56417         [!POSIX] (posix_madvise): Likewise.
56418         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56419         && !UNIX98].
56420         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56421         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56422         (mode_t): Likewise.
56423         (posix_mem_offset): Likewise.
56424         (posix_typed_mem_get_info): Likewise.
56425         (posix_typed_mem_open): Likewise.
56427         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56428         Change condition to [XOPEN2K8].
56430         * conform/conformtest.pl: Preprocess allow-header data with -x c
56431         instead of from stdin.
56432         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56433         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56434         [C99-based standards] (cerfc): Likewise.
56435         [C99-based standards] (cexp2): Likewise.
56436         [C99-based standards] (cexpm1): Likewise.
56437         [C99-based standards] (clog10): Likewise.
56438         [C99-based standards] (clog1p): Likewise.
56439         [C99-based standards] (clog2): Likewise.
56440         [C99-based standards] (clgamma): Likewise.
56441         [C99-based standards] (ctgamma): Likewise.
56442         [C99-based standards] (cerff): Likewise.
56443         [C99-based standards] (cerfcf): Likewise.
56444         [C99-based standards] (cexp2f): Likewise.
56445         [C99-based standards] (cexpm1f): Likewise.
56446         [C99-based standards] (clog10f): Likewise.
56447         [C99-based standards] (clog1pf): Likewise.
56448         [C99-based standards] (clog2f): Likewise.
56449         [C99-based standards] (clgammaf): Likewise.
56450         [C99-based standards] (ctgammaf): Likewise.
56451         [C99-based standards] (cerfl): Likewise.
56452         [C99-based standards] (cerfcl): Likewise.
56453         [C99-based standards] (cexp2l): Likewise.
56454         [C99-based standards] (cexpm1l): Likewise.
56455         [C99-based standards] (clog10l): Likewise.
56456         [C99-based standards] (clog1pl): Likewise.
56457         [C99-based standards] (clog2l): Likewise.
56458         [C99-based standards] (clgammal): Likewise.
56459         [C99-based standards] (ctgammal): Likewise.
56460         * conform/data/inttypes.h-data [C99-based standards]: Include
56461         stdint.h-data.  Remove all expectations for stdint.h contents.
56462         [C99-based standards] (PRI*): Do not allow.
56463         [C99-based standards] (SCN*): Likewise.
56464         [C99-based standards] (*_t): Likewise.
56465         [C99-based-standards] (PRId8): Expect macro.
56466         [C99-based-standards] (PRIi8): Likewise.
56467         [C99-based-standards] (PRIo8): Likewise.
56468         [C99-based-standards] (PRIu8): Likewise.
56469         [C99-based-standards] (PRIx8): Likewise.
56470         [C99-based-standards] (PRIX8): Likewise.
56471         [C99-based-standards] (SCNd8): Likewise.
56472         [C99-based-standards] (SCNi8): Likewise.
56473         [C99-based-standards] (SCNo8): Likewise.
56474         [C99-based-standards] (SCNu8): Likewise.
56475         [C99-based-standards] (SCNx8): Likewise.
56476         [C99-based-standards] (PRIdLEAST8): Likewise.
56477         [C99-based-standards] (PRIiLEAST8): Likewise.
56478         [C99-based-standards] (PRIoLEAST8): Likewise.
56479         [C99-based-standards] (PRIuLEAST8): Likewise.
56480         [C99-based-standards] (PRIxLEAST8): Likewise.
56481         [C99-based-standards] (PRIXLEAST8): Likewise.
56482         [C99-based-standards] (SCNdLEAST8): Likewise.
56483         [C99-based-standards] (SCNiLEAST8): Likewise.
56484         [C99-based-standards] (SCNoLEAST8): Likewise.
56485         [C99-based-standards] (SCNuLEAST8): Likewise.
56486         [C99-based-standards] (SCNxLEAST8): Likewise.
56487         [C99-based-standards] (PRIdFAST8): Likewise.
56488         [C99-based-standards] (PRIiFAST8): Likewise.
56489         [C99-based-standards] (PRIoFAST8): Likewise.
56490         [C99-based-standards] (PRIuFAST8): Likewise.
56491         [C99-based-standards] (PRIxFAST8): Likewise.
56492         [C99-based-standards] (PRIXFAST8): Likewise.
56493         [C99-based-standards] (SCNdFAST8): Likewise.
56494         [C99-based-standards] (SCNiFAST8): Likewise.
56495         [C99-based-standards] (SCNoFAST8): Likewise.
56496         [C99-based-standards] (SCNuFAST8): Likewise.
56497         [C99-based-standards] (SCNxFAST8): Likewise.
56498         [C99-based-standards] (PRId16): Likewise.
56499         [C99-based-standards] (PRIi16): Likewise.
56500         [C99-based-standards] (PRIo16): Likewise.
56501         [C99-based-standards] (PRIu16): Likewise.
56502         [C99-based-standards] (PRIx16): Likewise.
56503         [C99-based-standards] (PRIX16): Likewise.
56504         [C99-based-standards] (SCNd16): Likewise.
56505         [C99-based-standards] (SCNi16): Likewise.
56506         [C99-based-standards] (SCNo16): Likewise.
56507         [C99-based-standards] (SCNu16): Likewise.
56508         [C99-based-standards] (SCNx16): Likewise.
56509         [C99-based-standards] (PRIdLEAST16): Likewise.
56510         [C99-based-standards] (PRIiLEAST16): Likewise.
56511         [C99-based-standards] (PRIoLEAST16): Likewise.
56512         [C99-based-standards] (PRIuLEAST16): Likewise.
56513         [C99-based-standards] (PRIxLEAST16): Likewise.
56514         [C99-based-standards] (PRIXLEAST16): Likewise.
56515         [C99-based-standards] (SCNdLEAST16): Likewise.
56516         [C99-based-standards] (SCNiLEAST16): Likewise.
56517         [C99-based-standards] (SCNoLEAST16): Likewise.
56518         [C99-based-standards] (SCNuLEAST16): Likewise.
56519         [C99-based-standards] (SCNxLEAST16): Likewise.
56520         [C99-based-standards] (PRIdFAST16): Likewise.
56521         [C99-based-standards] (PRIiFAST16): Likewise.
56522         [C99-based-standards] (PRIoFAST16): Likewise.
56523         [C99-based-standards] (PRIuFAST16): Likewise.
56524         [C99-based-standards] (PRIxFAST16): Likewise.
56525         [C99-based-standards] (PRIXFAST16): Likewise.
56526         [C99-based-standards] (SCNdFAST16): Likewise.
56527         [C99-based-standards] (SCNiFAST16): Likewise.
56528         [C99-based-standards] (SCNoFAST16): Likewise.
56529         [C99-based-standards] (SCNuFAST16): Likewise.
56530         [C99-based-standards] (SCNxFAST16): Likewise.
56531         [C99-based-standards] (PRId32): Likewise.
56532         [C99-based-standards] (PRIi32): Likewise.
56533         [C99-based-standards] (PRIo32): Likewise.
56534         [C99-based-standards] (PRIu32): Likewise.
56535         [C99-based-standards] (PRIx32): Likewise.
56536         [C99-based-standards] (PRIX32): Likewise.
56537         [C99-based-standards] (SCNd32): Likewise.
56538         [C99-based-standards] (SCNi32): Likewise.
56539         [C99-based-standards] (SCNo32): Likewise.
56540         [C99-based-standards] (SCNu32): Likewise.
56541         [C99-based-standards] (SCNx32): Likewise.
56542         [C99-based-standards] (PRIdLEAST32): Likewise.
56543         [C99-based-standards] (PRIiLEAST32): Likewise.
56544         [C99-based-standards] (PRIoLEAST32): Likewise.
56545         [C99-based-standards] (PRIuLEAST32): Likewise.
56546         [C99-based-standards] (PRIxLEAST32): Likewise.
56547         [C99-based-standards] (PRIXLEAST32): Likewise.
56548         [C99-based-standards] (SCNdLEAST32): Likewise.
56549         [C99-based-standards] (SCNiLEAST32): Likewise.
56550         [C99-based-standards] (SCNoLEAST32): Likewise.
56551         [C99-based-standards] (SCNuLEAST32): Likewise.
56552         [C99-based-standards] (SCNxLEAST32): Likewise.
56553         [C99-based-standards] (PRIdFAST32): Likewise.
56554         [C99-based-standards] (PRIiFAST32): Likewise.
56555         [C99-based-standards] (PRIoFAST32): Likewise.
56556         [C99-based-standards] (PRIuFAST32): Likewise.
56557         [C99-based-standards] (PRIxFAST32): Likewise.
56558         [C99-based-standards] (PRIXFAST32): Likewise.
56559         [C99-based-standards] (SCNdFAST32): Likewise.
56560         [C99-based-standards] (SCNiFAST32): Likewise.
56561         [C99-based-standards] (SCNoFAST32): Likewise.
56562         [C99-based-standards] (SCNuFAST32): Likewise.
56563         [C99-based-standards] (SCNxFAST32): Likewise.
56564         [C99-based-standards] (PRId64): Likewise.
56565         [C99-based-standards] (PRIi64): Likewise.
56566         [C99-based-standards] (PRIo64): Likewise.
56567         [C99-based-standards] (PRIu64): Likewise.
56568         [C99-based-standards] (PRIx64): Likewise.
56569         [C99-based-standards] (PRIX64): Likewise.
56570         [C99-based-standards] (SCNd64): Likewise.
56571         [C99-based-standards] (SCNi64): Likewise.
56572         [C99-based-standards] (SCNo64): Likewise.
56573         [C99-based-standards] (SCNu64): Likewise.
56574         [C99-based-standards] (SCNx64): Likewise.
56575         [C99-based-standards] (PRIdLEAST64): Likewise.
56576         [C99-based-standards] (PRIiLEAST64): Likewise.
56577         [C99-based-standards] (PRIoLEAST64): Likewise.
56578         [C99-based-standards] (PRIuLEAST64): Likewise.
56579         [C99-based-standards] (PRIxLEAST64): Likewise.
56580         [C99-based-standards] (PRIXLEAST64): Likewise.
56581         [C99-based-standards] (SCNdLEAST64): Likewise.
56582         [C99-based-standards] (SCNiLEAST64): Likewise.
56583         [C99-based-standards] (SCNoLEAST64): Likewise.
56584         [C99-based-standards] (SCNuLEAST64): Likewise.
56585         [C99-based-standards] (SCNxLEAST64): Likewise.
56586         [C99-based-standards] (PRIdFAST64): Likewise.
56587         [C99-based-standards] (PRIiFAST64): Likewise.
56588         [C99-based-standards] (PRIoFAST64): Likewise.
56589         [C99-based-standards] (PRIuFAST64): Likewise.
56590         [C99-based-standards] (PRIxFAST64): Likewise.
56591         [C99-based-standards] (PRIXFAST64): Likewise.
56592         [C99-based-standards] (SCNdFAST64): Likewise.
56593         [C99-based-standards] (SCNiFAST64): Likewise.
56594         [C99-based-standards] (SCNoFAST64): Likewise.
56595         [C99-based-standards] (SCNuFAST64): Likewise.
56596         [C99-based-standards] (SCNxFAST64): Likewise.
56597         [C99-based-standards] (PRIdMAX): Likewise.
56598         [C99-based-standards] (PRIiMAX): Likewise.
56599         [C99-based-standards] (PRIoMAX): Likewise.
56600         [C99-based-standards] (PRIuMAX): Likewise.
56601         [C99-based-standards] (PRIxMAX): Likewise.
56602         [C99-based-standards] (PRIXMAX): Likewise.
56603         [C99-based-standards] (SCNdMAX): Likewise.
56604         [C99-based-standards] (SCNiMAX): Likewise.
56605         [C99-based-standards] (SCNoMAX): Likewise.
56606         [C99-based-standards] (SCNuMAX): Likewise.
56607         [C99-based-standards] (SCNxMAX): Likewise.
56608         [C99-based-standards] (PRIdPTR): Likewise.
56609         [C99-based-standards] (PRIiPTR): Likewise.
56610         [C99-based-standards] (PRIoPTR): Likewise.
56611         [C99-based-standards] (PRIuPTR): Likewise.
56612         [C99-based-standards] (PRIxPTR): Likewise.
56613         [C99-based-standards] (PRIXPTR): Likewise.
56614         [C99-based-standards] (SCNdPTR): Likewise.
56615         [C99-based-standards] (SCNiPTR): Likewise.
56616         [C99-based-standards] (SCNoPTR): Likewise.
56617         [C99-based-standards] (SCNuPTR): Likewise.
56618         [C99-based-standards] (SCNxPTR): Likewise.
56619         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56620         allow.
56621         * conform/data/stdint.h-data: Update comments to clarify
56622         requirements.
56623         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56624         type.
56625         [C99-based standards] (INT8_MAX): Likewise.
56626         [C99-based standards] (INT16_MIN): Likewise.
56627         [C99-based standards] (INT16_MAX): Likewise.
56628         [C99-based standards] (INT32_MIN): Likewise.
56629         [C99-based standards] (INT32_MAX): Likewise.
56630         [C99-based standards] (INT64_MIN): Likewise.
56631         [C99-based standards] (INT64_MAX): Likewise.
56632         [C99-based standards] (UINT8_MAX): Likewise.
56633         [C99-based standards] (UINT16_MAX): Likewise.
56634         [C99-based standards] (UINT32_MAX): Likewise.
56635         [C99-based standards] (UINT64_MAX): Likewise.
56636         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56637         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56638         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56639         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56640         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56641         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56642         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56643         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56644         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56645         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56646         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56647         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56648         [C99-based standards] (INT_FAST8_MIN): Likewise.
56649         [C99-based standards] (INT_FAST8_MAX): Likewise.
56650         [C99-based standards] (INT_FAST16_MIN): Likewise.
56651         [C99-based standards] (INT_FAST16_MAX): Likewise.
56652         [C99-based standards] (INT_FAST32_MIN): Likewise.
56653         [C99-based standards] (INT_FAST32_MAX): Likewise.
56654         [C99-based standards] (INT_FAST64_MIN): Likewise.
56655         [C99-based standards] (INT_FAST64_MAX): Likewise.
56656         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56657         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56658         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56659         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56660         [C99-based standards] (INTPTR_MIN): Likewise.
56661         [C99-based standards] (INTPTR_MAX): Likewise.
56662         [C99-based standards] (UINTPTR_MAX): Likewise.
56663         [C99-based standards] (INTMAX_MIN): Likewise.
56664         [C99-based standards] (INTMAX_MAX): Likewise.
56665         [C99-based standards] (UINTMAX_MAX): Likewise.
56666         [C99-based standards] (PTRDIFF_MIN): Likewise.
56667         [C99-based standards] (PTRDIFF_MAX): Likewise.
56668         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56669         [C99-based standards] (SIZE_MAX): Likewise.
56670         [C99-based standards] (WCHAR_MAX): Likewise.
56671         [C99-based standards] (WINT_MAX): Likewise.
56672         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56673         constraint on value.
56674         [C99-based standards] (WCHAR_MIN): Likewise.
56675         [C99-based standards] (WINT_MIN): Likewise.
56676         [C99-based standards] (*_t): Allow.
56677         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56678         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56679         Include math.h-data and complex.h-data.  Remove all expectations
56680         of math.h and complex.h contents.
56681         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56682         at end of line.
56683         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56684         (struct tm): Expect tag.
56685         [C99-based-standards] (wcstof): Expect function.
56686         [C99-based-standards] (wcstold): Likewise.
56687         [C99-based-standards] (wcstoll): Likewise.
56688         [C99-based-standards] (wcstoull): Likewise.
56689         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56690         macro-int-constant.  Specify type.
56691         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56692         constraint on value.
56693         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56694         Specify type.
56695         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56696         Specify value.
56697         [ISO C standards]: Do not allow headers.
56698         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56699         wcs[abcdefghijklmnopqrstuvwxyz]*.
56700         [ISO C standards] (*_t): Do not allow.
56701         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56702         Expect function.
56703         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56704         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56705         Specify type.
56706         [ISO C standards]: Do not allow headers.
56707         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56708         is[abcdefghijklmnopqrstuvwxyz]*.
56709         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56710         to[abcdefghijklmnopqrstuvwxyz]*.
56711         [ISO C standards] (*_t): Do not allow.
56712         * conform/data/stdalign.h-data: New file.
56713         * conform/data/stdbool.h-data: Likewise.
56714         * conform/data/stdnoreturn.h-data: Likewise.
56716 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56718         [BZ #14815]
56719         * manual/filesys.texi (Directory Entries): Typo fix.
56720         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56722 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56724         * elf/elf.h (EM_AARCH64): New macro.
56725         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56726         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56727         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56728         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56729         (R_AARCH64_TLSDESC): Likewise.
56730         (NT_ARM_TLS): Likewise.
56731         (NT_ARM_HW_BREAK): Likewise.
56732         (NT_ARM_HW_WATCH): Likewise.
56734 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56736         [BZ #14811]
56737         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56738         (__ieee754_powl): Saturate nonzero exponents with absolute value
56739         below 0x1p-79 to +/- 0x1p-79.
56740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56741         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56742         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56743         nonzero exponents with absolute value below 0x1p-32 to +/-
56744         0x1p-32.
56745         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56746         (__ieee754_powl): Saturate nonzero exponents with absolute value
56747         below 0x1p-79 to +/- 0x1p-79.
56748         * math/libm-test.inc (pow_test): Add more tests.
56750 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56752         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56753         _dl_s390_cap_flags with kernel. Increase string length.
56754         (_dl_s390_platforms): Add z196 and zEC12.
56756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56758         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56759         Change XOPEN21K to XOPEN2K.
56761 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56763         * string/memmove.c: Use memcpy when possible.
56765 2012-11-06  Andreas Jaeger  <aj@suse.de>
56767         * po/eo.po: Update from translation team.
56769 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56771         [BZ #14793]
56772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56773         exponent and small x and y exponents, scale x or y up.  Increase
56774         by 2 the exponent used in scaling up.
56775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56777         * math/libm-test.inc (fma_test): Add more tests.
56778         (fma_test_towardzero): Likewise.
56779         (fma_test_downward): Likewise.
56780         (fma_test_upward): Likewise.
56782 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56784         [BZ #14805]
56785         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56786         fenv_t *.
56788         [BZ #14801]
56789         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56790         namespace for names of struct fields.
56791         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56792         fenv_t fields.
56793         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56794         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56796 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56798         [BZ #3665]
56799         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56801 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56803         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56804         PTR_DEMANGLE.
56806         [BZ #5246]
56807         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56808         PTR_DEMANGLE.
56810 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56812         [BZ #14797]
56813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56814         definitely overflow as x * y not x * y + z.
56815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56817         * math/libm-test.inc (fma_test): Add more tests.
56818         (fma_test_towardzero): Likewise.
56819         (fma_test_downward): Likewise.
56820         (fma_test_upward): Likewise.
56822 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56824         [BZ #157]
56826         * include/stub-tag.h: Remove file.
56827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56828         '#include' of it.
56829         * manual/maint.texi (Porting): Don't reference it.
56830         * Makerules ($(objpfx)stubs): Likewise.
56831         * dirent/closedir.c: Don't include <stub-tag.h>.
56832         * dirent/dirfd.c: Likewise.
56833         * dirent/fdopendir.c: Likewise.
56834         * dirent/getdents.c: Likewise.
56835         * dirent/getdents64.c: Likewise.
56836         * dirent/opendir.c: Likewise.
56837         * dirent/readdir.c: Likewise.
56838         * dirent/readdir64.c: Likewise.
56839         * dirent/readdir64_r.c: Likewise.
56840         * dirent/readdir_r.c: Likewise.
56841         * dirent/rewinddir.c: Likewise.
56842         * dirent/seekdir.c: Likewise.
56843         * dirent/telldir.c: Likewise.
56844         * gmon/profil.c: Likewise.
56845         * grp/setgroups.c: Likewise.
56846         * inet/if_index.c: Likewise.
56847         * io/access.c: Likewise.
56848         * io/chdir.c: Likewise.
56849         * io/chmod.c: Likewise.
56850         * io/chown.c: Likewise.
56851         * io/close.c: Likewise.
56852         * io/dup.c: Likewise.
56853         * io/dup2.c: Likewise.
56854         * io/dup3.c: Likewise.
56855         * io/euidaccess.c: Likewise.
56856         * io/faccessat.c: Likewise.
56857         * io/fchdir.c: Likewise.
56858         * io/fchmod.c: Likewise.
56859         * io/fchmodat.c: Likewise.
56860         * io/fchown.c: Likewise.
56861         * io/fchownat.c: Likewise.
56862         * io/fcntl.c: Likewise.
56863         * io/flock.c: Likewise.
56864         * io/fstatfs.c: Likewise.
56865         * io/fstatfs64.c: Likewise.
56866         * io/fstatvfs.c: Likewise.
56867         * io/fstatvfs64.c: Likewise.
56868         * io/futimens.c: Likewise.
56869         * io/fxstat.c: Likewise.
56870         * io/fxstat64.c: Likewise.
56871         * io/fxstatat.c: Likewise.
56872         * io/fxstatat64.c: Likewise.
56873         * io/getcwd.c: Likewise.
56874         * io/isatty.c: Likewise.
56875         * io/lchmod.c: Likewise.
56876         * io/lchown.c: Likewise.
56877         * io/link.c: Likewise.
56878         * io/linkat.c: Likewise.
56879         * io/lseek.c: Likewise.
56880         * io/lseek64.c: Likewise.
56881         * io/lxstat64.c: Likewise.
56882         * io/mkdir.c: Likewise.
56883         * io/mkdirat.c: Likewise.
56884         * io/mkfifo.c: Likewise.
56885         * io/mkfifoat.c: Likewise.
56886         * io/open.c: Likewise.
56887         * io/open64.c: Likewise.
56888         * io/openat.c: Likewise.
56889         * io/openat64.c: Likewise.
56890         * io/pipe.c: Likewise.
56891         * io/pipe2.c: Likewise.
56892         * io/poll.c: Likewise.
56893         * io/posix_fadvise.c: Likewise.
56894         * io/posix_fadvise64.c: Likewise.
56895         * io/posix_fallocate.c: Likewise.
56896         * io/posix_fallocate64.c: Likewise.
56897         * io/read.c: Likewise.
56898         * io/readlink.c: Likewise.
56899         * io/readlinkat.c: Likewise.
56900         * io/rmdir.c: Likewise.
56901         * io/sendfile.c: Likewise.
56902         * io/sendfile64.c: Likewise.
56903         * io/statfs.c: Likewise.
56904         * io/statfs64.c: Likewise.
56905         * io/statvfs.c: Likewise.
56906         * io/statvfs64.c: Likewise.
56907         * io/symlink.c: Likewise.
56908         * io/symlinkat.c: Likewise.
56909         * io/ttyname.c: Likewise.
56910         * io/ttyname_r.c: Likewise.
56911         * io/umask.c: Likewise.
56912         * io/unlink.c: Likewise.
56913         * io/unlinkat.c: Likewise.
56914         * io/utime.c: Likewise.
56915         * io/utimensat.c: Likewise.
56916         * io/write.c: Likewise.
56917         * io/xmknod.c: Likewise.
56918         * io/xmknodat.c: Likewise.
56919         * io/xstat.c: Likewise.
56920         * io/xstat64.c: Likewise.
56921         * login/getpt.c: Likewise.
56922         * login/grantpt.c: Likewise.
56923         * login/unlockpt.c: Likewise.
56924         * math/e_acoshl.c: Likewise.
56925         * math/e_acosl.c: Likewise.
56926         * math/e_asinl.c: Likewise.
56927         * math/e_atan2l.c: Likewise.
56928         * math/e_atanhl.c: Likewise.
56929         * math/e_coshl.c: Likewise.
56930         * math/e_expl.c: Likewise.
56931         * math/e_fmodl.c: Likewise.
56932         * math/e_gammal_r.c: Likewise.
56933         * math/e_hypotl.c: Likewise.
56934         * math/e_j0l.c: Likewise.
56935         * math/e_j1l.c: Likewise.
56936         * math/e_jnl.c: Likewise.
56937         * math/e_lgammal_r.c: Likewise.
56938         * math/e_log10l.c: Likewise.
56939         * math/e_log2l.c: Likewise.
56940         * math/e_logl.c: Likewise.
56941         * math/e_powl.c: Likewise.
56942         * math/e_rem_pio2l.c: Likewise.
56943         * math/e_sinhl.c: Likewise.
56944         * math/e_sqrtl.c: Likewise.
56945         * math/fclrexcpt.c: Likewise.
56946         * math/fedisblxcpt.c: Likewise.
56947         * math/feenablxcpt.c: Likewise.
56948         * math/fegetenv.c: Likewise.
56949         * math/fegetexcept.c: Likewise.
56950         * math/fegetround.c: Likewise.
56951         * math/feholdexcpt.c: Likewise.
56952         * math/fesetenv.c: Likewise.
56953         * math/fesetround.c: Likewise.
56954         * math/feupdateenv.c: Likewise.
56955         * math/fgetexcptflg.c: Likewise.
56956         * math/fraiseexcpt.c: Likewise.
56957         * math/fsetexcptflg.c: Likewise.
56958         * math/ftestexcept.c: Likewise.
56959         * math/k_cosl.c: Likewise.
56960         * math/k_rem_pio2l.c: Likewise.
56961         * math/k_sinl.c: Likewise.
56962         * math/k_tanl.c: Likewise.
56963         * math/s_asinhl.c: Likewise.
56964         * math/s_atanl.c: Likewise.
56965         * math/s_cbrtl.c: Likewise.
56966         * math/s_erfl.c: Likewise.
56967         * math/s_expm1l.c: Likewise.
56968         * math/s_log1pl.c: Likewise.
56969         * math/s_tanhl.c: Likewise.
56970         * misc/acct.c: Likewise.
56971         * misc/brk.c: Likewise.
56972         * misc/chflags.c: Likewise.
56973         * misc/chroot.c: Likewise.
56974         * misc/fchflags.c: Likewise.
56975         * misc/fgetxattr.c: Likewise.
56976         * misc/flistxattr.c: Likewise.
56977         * misc/fremovexattr.c: Likewise.
56978         * misc/fsetxattr.c: Likewise.
56979         * misc/fsync.c: Likewise.
56980         * misc/ftruncate.c: Likewise.
56981         * misc/futimes.c: Likewise.
56982         * misc/futimesat.c: Likewise.
56983         * misc/getdomain.c: Likewise.
56984         * misc/getdtsz.c: Likewise.
56985         * misc/gethostid.c: Likewise.
56986         * misc/gethostname.c: Likewise.
56987         * misc/getloadavg.c: Likewise.
56988         * misc/getpagesize.c: Likewise.
56989         * misc/getsysstats.c: Likewise.
56990         * misc/getxattr.c: Likewise.
56991         * misc/gtty.c: Likewise.
56992         * misc/ioctl.c: Likewise.
56993         * misc/lgetxattr.c: Likewise.
56994         * misc/listxattr.c: Likewise.
56995         * misc/llistxattr.c: Likewise.
56996         * misc/lremovexattr.c: Likewise.
56997         * misc/lsetxattr.c: Likewise.
56998         * misc/lutimes.c: Likewise.
56999         * misc/madvise.c: Likewise.
57000         * misc/mincore.c: Likewise.
57001         * misc/mlock.c: Likewise.
57002         * misc/mlockall.c: Likewise.
57003         * misc/mmap.c: Likewise.
57004         * misc/mprotect.c: Likewise.
57005         * misc/msync.c: Likewise.
57006         * misc/munlock.c: Likewise.
57007         * misc/munlockall.c: Likewise.
57008         * misc/munmap.c: Likewise.
57009         * misc/preadv.c: Likewise.
57010         * misc/preadv64.c: Likewise.
57011         * misc/ptrace.c: Likewise.
57012         * misc/pwritev.c: Likewise.
57013         * misc/pwritev64.c: Likewise.
57014         * misc/readv.c: Likewise.
57015         * misc/reboot.c: Likewise.
57016         * misc/remap_file_pages.c: Likewise.
57017         * misc/removexattr.c: Likewise.
57018         * misc/revoke.c: Likewise.
57019         * misc/select.c: Likewise.
57020         * misc/setdomain.c: Likewise.
57021         * misc/setegid.c: Likewise.
57022         * misc/seteuid.c: Likewise.
57023         * misc/sethostid.c: Likewise.
57024         * misc/sethostname.c: Likewise.
57025         * misc/setregid.c: Likewise.
57026         * misc/setreuid.c: Likewise.
57027         * misc/setxattr.c: Likewise.
57028         * misc/sstk.c: Likewise.
57029         * misc/stty.c: Likewise.
57030         * misc/swapoff.c: Likewise.
57031         * misc/swapon.c: Likewise.
57032         * misc/sync.c: Likewise.
57033         * misc/syncfs.c: Likewise.
57034         * misc/syscall.c: Likewise.
57035         * misc/truncate.c: Likewise.
57036         * misc/ualarm.c: Likewise.
57037         * misc/usleep.c: Likewise.
57038         * misc/ustat.c: Likewise.
57039         * misc/utimes.c: Likewise.
57040         * misc/vhangup.c: Likewise.
57041         * misc/writev.c: Likewise.
57042         * posix/_exit.c: Likewise.
57043         * posix/alarm.c: Likewise.
57044         * posix/execve.c: Likewise.
57045         * posix/fexecve.c: Likewise.
57046         * posix/fork.c: Likewise.
57047         * posix/fpathconf.c: Likewise.
57048         * posix/getaddrinfo.c: Likewise.
57049         * posix/getegid.c: Likewise.
57050         * posix/geteuid.c: Likewise.
57051         * posix/getgid.c: Likewise.
57052         * posix/getgroups.c: Likewise.
57053         * posix/getlogin.c: Likewise.
57054         * posix/getlogin_r.c: Likewise.
57055         * posix/getpgid.c: Likewise.
57056         * posix/getpid.c: Likewise.
57057         * posix/getppid.c: Likewise.
57058         * posix/getresgid.c: Likewise.
57059         * posix/getresuid.c: Likewise.
57060         * posix/getsid.c: Likewise.
57061         * posix/getuid.c: Likewise.
57062         * posix/glob64.c: Likewise.
57063         * posix/nanosleep.c: Likewise.
57064         * posix/pathconf.c: Likewise.
57065         * posix/pause.c: Likewise.
57066         * posix/posix_madvise.c: Likewise.
57067         * posix/pread.c: Likewise.
57068         * posix/pread64.c: Likewise.
57069         * posix/pwrite.c: Likewise.
57070         * posix/pwrite64.c: Likewise.
57071         * posix/sched_getaffinity.c: Likewise.
57072         * posix/sched_getp.c: Likewise.
57073         * posix/sched_gets.c: Likewise.
57074         * posix/sched_primax.c: Likewise.
57075         * posix/sched_primin.c: Likewise.
57076         * posix/sched_rr_gi.c: Likewise.
57077         * posix/sched_setaffinity.c: Likewise.
57078         * posix/sched_setp.c: Likewise.
57079         * posix/sched_sets.c: Likewise.
57080         * posix/sched_yield.c: Likewise.
57081         * posix/setgid.c: Likewise.
57082         * posix/setlogin.c: Likewise.
57083         * posix/setpgid.c: Likewise.
57084         * posix/setresgid.c: Likewise.
57085         * posix/setresuid.c: Likewise.
57086         * posix/setsid.c: Likewise.
57087         * posix/setuid.c: Likewise.
57088         * posix/sleep.c: Likewise.
57089         * posix/spawni.c: Likewise.
57090         * posix/sysconf.c: Likewise.
57091         * posix/times.c: Likewise.
57092         * posix/wait.c: Likewise.
57093         * posix/wait3.c: Likewise.
57094         * posix/wait4.c: Likewise.
57095         * posix/waitpid.c: Likewise.
57096         * resolv/gai_sigqueue.c: Likewise.
57097         * resource/getpriority.c: Likewise.
57098         * resource/getrlimit.c: Likewise.
57099         * resource/getrusage.c: Likewise.
57100         * resource/nice.c: Likewise.
57101         * resource/setpriority.c: Likewise.
57102         * resource/setrlimit.c: Likewise.
57103         * resource/ulimit.c: Likewise.
57104         * rt/aio_cancel.c: Likewise.
57105         * rt/aio_fsync.c: Likewise.
57106         * rt/aio_read.c: Likewise.
57107         * rt/aio_sigqueue.c: Likewise.
57108         * rt/aio_suspend.c: Likewise.
57109         * rt/aio_write.c: Likewise.
57110         * rt/clock_getres.c: Likewise.
57111         * rt/clock_gettime.c: Likewise.
57112         * rt/clock_nanosleep.c: Likewise.
57113         * rt/clock_settime.c: Likewise.
57114         * rt/lio_listio.c: Likewise.
57115         * rt/mq_close.c: Likewise.
57116         * rt/mq_getattr.c: Likewise.
57117         * rt/mq_notify.c: Likewise.
57118         * rt/mq_open.c: Likewise.
57119         * rt/mq_receive.c: Likewise.
57120         * rt/mq_send.c: Likewise.
57121         * rt/mq_setattr.c: Likewise.
57122         * rt/mq_timedreceive.c: Likewise.
57123         * rt/mq_timedsend.c: Likewise.
57124         * rt/mq_unlink.c: Likewise.
57125         * rt/shm_open.c: Likewise.
57126         * rt/shm_unlink.c: Likewise.
57127         * rt/timer_create.c: Likewise.
57128         * rt/timer_delete.c: Likewise.
57129         * rt/timer_getoverr.c: Likewise.
57130         * rt/timer_gettime.c: Likewise.
57131         * rt/timer_settime.c: Likewise.
57132         * setjmp/__longjmp.c: Likewise.
57133         * setjmp/setjmp.c: Likewise.
57134         * signal/kill.c: Likewise.
57135         * signal/killpg.c: Likewise.
57136         * signal/raise.c: Likewise.
57137         * signal/sigaction.c: Likewise.
57138         * signal/sigaltstack.c: Likewise.
57139         * signal/sigblock.c: Likewise.
57140         * signal/sigignore.c: Likewise.
57141         * signal/sigintr.c: Likewise.
57142         * signal/signal.c: Likewise.
57143         * signal/sigpause.c: Likewise.
57144         * signal/sigpending.c: Likewise.
57145         * signal/sigqueue.c: Likewise.
57146         * signal/sigreturn.c: Likewise.
57147         * signal/sigset.c: Likewise.
57148         * signal/sigsetmask.c: Likewise.
57149         * signal/sigstack.c: Likewise.
57150         * signal/sigsuspend.c: Likewise.
57151         * signal/sigtimedwait.c: Likewise.
57152         * signal/sigvec.c: Likewise.
57153         * signal/sigwait.c: Likewise.
57154         * signal/sigwaitinfo.c: Likewise.
57155         * signal/sysv_signal.c: Likewise.
57156         * socket/accept.c: Likewise.
57157         * socket/accept4.c: Likewise.
57158         * socket/bind.c: Likewise.
57159         * socket/connect.c: Likewise.
57160         * socket/getpeername.c: Likewise.
57161         * socket/getsockname.c: Likewise.
57162         * socket/getsockopt.c: Likewise.
57163         * socket/isfdtype.c: Likewise.
57164         * socket/listen.c: Likewise.
57165         * socket/recv.c: Likewise.
57166         * socket/recvfrom.c: Likewise.
57167         * socket/recvmsg.c: Likewise.
57168         * socket/send.c: Likewise.
57169         * socket/sendmsg.c: Likewise.
57170         * socket/sendto.c: Likewise.
57171         * socket/setsockopt.c: Likewise.
57172         * socket/shutdown.c: Likewise.
57173         * socket/sockatmark.c: Likewise.
57174         * socket/socket.c: Likewise.
57175         * socket/socketpair.c: Likewise.
57176         * stdio-common/ctermid.c: Likewise.
57177         * stdio-common/cuserid.c: Likewise.
57178         * stdio-common/remove.c: Likewise.
57179         * stdio-common/rename.c: Likewise.
57180         * stdio-common/renameat.c: Likewise.
57181         * stdio-common/tempname.c: Likewise.
57182         * stdlib/getcontext.c: Likewise.
57183         * stdlib/makecontext.c: Likewise.
57184         * stdlib/setcontext.c: Likewise.
57185         * stdlib/swapcontext.c: Likewise.
57186         * stdlib/system.c: Likewise.
57187         * streams/fattach.c: Likewise.
57188         * streams/fdetach.c: Likewise.
57189         * streams/getmsg.c: Likewise.
57190         * streams/getpmsg.c: Likewise.
57191         * streams/putmsg.c: Likewise.
57192         * streams/putpmsg.c: Likewise.
57193         * sysdeps/unix/bsd/getpt.c: Likewise.
57194         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57195         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57196         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57198         Likewise.
57199         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57200         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57201         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57202         * sysvipc/msgctl.c: Likewise.
57203         * sysvipc/msgget.c: Likewise.
57204         * sysvipc/msgrcv.c: Likewise.
57205         * sysvipc/msgsnd.c: Likewise.
57206         * sysvipc/semctl.c: Likewise.
57207         * sysvipc/semget.c: Likewise.
57208         * sysvipc/semop.c: Likewise.
57209         * sysvipc/semtimedop.c: Likewise.
57210         * sysvipc/shmat.c: Likewise.
57211         * sysvipc/shmctl.c: Likewise.
57212         * sysvipc/shmdt.c: Likewise.
57213         * sysvipc/shmget.c: Likewise.
57214         * termios/tcdrain.c: Likewise.
57215         * termios/tcflow.c: Likewise.
57216         * termios/tcflush.c: Likewise.
57217         * termios/tcgetattr.c: Likewise.
57218         * termios/tcgetpgrp.c: Likewise.
57219         * termios/tcsendbrk.c: Likewise.
57220         * termios/tcsetattr.c: Likewise.
57221         * termios/tcsetpgrp.c: Likewise.
57222         * time/adjtime.c: Likewise.
57223         * time/clock.c: Likewise.
57224         * time/getitimer.c: Likewise.
57225         * time/gettimeofday.c: Likewise.
57226         * time/setitimer.c: Likewise.
57227         * time/settimeofday.c: Likewise.
57228         * time/stime.c: Likewise.
57229         * time/time.c: Likewise.
57231 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57233         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57234         /usr/old/bin.
57236         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57237         instead of spaces.
57238         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57240 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57242         [BZ #14796]
57243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57244         FE_TONEAREST before applying Dekker multiplication and Knuth
57245         addition.  Clear inexact exceptions and check for exact zero
57246         results afterwards.
57247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57248         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57250         * math/libm-test.inc (fma_test): Add more tests.
57251         (fma_test_towardzero): Likewise.
57252         (fma_test_downward): Likewise.
57253         (fma_test_upward): Likewise.
57254         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57255         function.
57256         (libc_fesetround): New macro.
57257         (libc_fesetroundf): Likewise.
57258         (libc_fesetroundl): Likewise.
57259         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57260         function.
57261         (libc_fesetround_387): Likewise.
57262         (libc_fesetroundf): New macro.
57263         (libc_fesetround): Likewise.
57264         (libc_fesetroundl): Likewise.
57265         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57266         function.
57267         (libc_fesetroundf): New macro.
57268         (libc_fesetround): Likewise.
57269         (libc_fesetroundl): Likewise.
57270         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57271         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57272         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57273         libm_hidden_ver.
57274         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57275         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57276         libm_hidden_def.
57277         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57278         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57279         libm_hidden_ver.
57280         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57281         libm_hidden_def.
57283         [BZ #3439]
57284         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57285         integer constant usable in #if and use that to give value to enum
57286         constant.
57287         (FE_DIVBYZERO): Likewise.
57288         (FE_UNDERFLOW): Likewise.
57289         (FE_OVERFLOW): Likewise.
57290         (FE_INVALID): Likewise.
57291         (FE_INVALID_SNAN): Likewise.
57292         (FE_INVALID_ISI): Likewise.
57293         (FE_INVALID_IDI): Likewise.
57294         (FE_INVALID_ZDZ): Likewise.
57295         (FE_INVALID_IMZ): Likewise.
57296         (FE_INVALID_COMPARE): Likewise.
57297         (FE_INVALID_SOFTWARE): Likewise.
57298         (FE_INVALID_SQRT): Likewise.
57299         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57300         (FE_TONEAREST): Likewise.
57301         (FE_TOWARDZERO): Likewise.
57302         (FE_UPWARD): Likewise.
57303         (FE_DOWNWARD): Likewise.
57304         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57305         (FE_DIVBYZERO): Likewise.
57306         (FE_OVERFLOW): Likewise.
57307         (FE_UNDERFLOW): Likewise.
57308         (FE_INEXACT): Likewise.
57309         (FE_TONEAREST): Likewise.
57310         (FE_DOWNWARD): Likewise.
57311         (FE_UPWARD): Likewise.
57312         (FE_TOWARDZERO): Likewise.
57313         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57314         (FE_UNDERFLOW): Likewise.
57315         (FE_OVERFLOW): Likewise.
57316         (FE_DIVBYZERO): Likewise.
57317         (FE_INVALID): Likewise.
57318         (FE_TONEAREST): Likewise.
57319         (FE_TOWARDZERO): Likewise.
57320         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57321         (FE_OVERFLOW): Likewise.
57322         (FE_UNDERFLOW): Likewise.
57323         (FE_DIVBYZERO): Likewise.
57324         (FE_INEXACT): Likewise.
57325         (FE_TONEAREST): Likewise.
57326         (FE_TOWARDZERO): Likewise.
57327         (FE_UPWARD): Likewise.
57328         (FE_DOWNWARD): Likewise.
57329         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57330         (FE_DIVBYZERO): Likewise.
57331         (FE_OVERFLOW): Likewise.
57332         (FE_UNDERFLOW): Likewise.
57333         (FE_INEXACT): Likewise.
57334         (FE_TONEAREST): Likewise.
57335         (FE_DOWNWARD): Likewise.
57336         (FE_UPWARD): Likewise.
57337         (FE_TOWARDZERO): Likewise.
57339 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57341         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57343 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57345         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57346         commands.  Quote $PWD.
57347         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57348         -x" by "export".
57349         (remove_newlines): Remove.
57351 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57353         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57354         * stdlib/stdlib.h (atof): Moved to ...
57355         * include/bits/stdlib-float.h: Here.  New file.
57356         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57357         * stdlib/bits/stdlib-float.h: New file.
57358         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57359         -mno-sse -mno-mmx.
57360         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57361         <xmmintrin.h>.
57363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57365         * conform/conformtest.pl (@headers): Add fenv.h.
57366         * conform/data/fenv.h-data: New file.
57367         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57368         include of <math/fenv.h>.
57370         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57371         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57372         && !UNIX98].  Enables tests for XOPEN2K8.
57373         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57374         POSIX2008]: Likewise.
57376         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57377         (struct rusage): Do not expect type or its members.
57379         [BZ #3439]
57380         * math/math.h (FP_NAN): Define macro to integer constant usable in
57381         #if and use that to give value to enum constant.
57382         (FP_INFINITE): Likewise.
57383         (FP_ZERO): Likewise.
57384         (FP_SUBNORMAL): Likewise.
57385         (FP_NORMAL): Likewise.
57387 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57389         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57390         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57391         arguments.
57393 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57395         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57396         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57397         autoconf-time if not.
57398         * configure.in: Remove AC_PREREQ.
57400 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57402         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57403         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57404         of the internal implementation.
57406 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57408         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57409         except include of <misc/sys/syslog.h>.
57411 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57414         function returns with a NULL context exit with zero.
57416 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57418         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57420 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57422         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57423         (run_program_cmd): This.
57424         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57425         (tst_langinfo): New variable.  Use it.
57427 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57429         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57430         floating point opcodes.
57432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57434         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57435         variable.
57437         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57439         * sysdeps/mach/hurd/powerpc: Remove directory.
57440         * sysdeps/mach/powerpc: Likewise.
57442 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57444         * scripts/check-local-headers.sh: Ignore c++ headers.
57446 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57448         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57449         __libc_cleanup_region_start argument.
57451 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57453         [BZ #14784]
57454         [BZ #14785]
57455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57456         x * y using scaling, not as x * y + z.
57457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57459         * math/libm-test.inc (fma_test): Add more tests.
57460         (fma_test_towardzero): Likewise.
57461         (fma_test_downward): Likewise.
57462         (fma_test_upward): Likewise.
57464 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57466         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57468 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57470         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57471         New variable.
57473 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57475         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57477 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57480         Fix sort order.
57481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57482         Likewise.
57484 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57487         Fix the order of the list for glibc 2.17.
57488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57489         Likewise.
57491 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57495 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57497         [BZ #14610]
57498         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57499         for low part of x being zero before using __atanl (y).
57500         * math/libm-test.inc (atan2_test): Add another test.
57502         * manual/install.texi (Configuring and compiling): Document
57503         general use of test-wrapper and test-wrapper-env.
57504         * INSTALL: Regenerated.
57506         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57507         (__fma): Do not extract and scale down low bits on after-rounding
57508         systems when result rounded to normal precision would have normal
57509         exponent.
57510         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57511         (__fmal): Do not extract and scale down low bits on after-rounding
57512         systems when result rounded to normal precision would have normal
57513         exponent.
57514         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57515         (__fmal): Do not extract and scale down low bits on after-rounding
57516         systems when result rounded to normal precision would have normal
57517         exponent.
57518         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57519         macro.
57520         (fma_test): Add more tests.
57521         (fma_test_towardzero): Likewise.
57522         (fma_test_downward): Likewise.
57523         (fma_test_upward): Likewise.
57525 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57527         * sysdeps/i386/tininess.h: Renamed to ...
57528         * sysdeps/x86/tininess.h: This.
57529         * sysdeps/x86_64/tininess.h: Removed.
57531 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57533         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57534         input.  Use $(build-program-cmd).
57535         ($(objpfx)tst-array1-static.out): Likewise.
57536         ($(objpfx)tst-array2.out): Likewise.
57537         ($(objpfx)tst-array3.out): Likewise.
57538         ($(objpfx)tst-array4.out): Likewise.
57539         ($(objpfx)tst-array5.out): Likewise.
57540         ($(objpfx)tst-array5-static.out): Likewise.
57542 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57544         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57545         if defined.
57547         * nss/nsswitch.h (nss_interface_function): Provide new
57548         macro for use with NSS functions.
57549         * grp/initgroups.c: Use new macro.
57550         * nss/getXXbyYY.c: Likewise.
57551         * nss/getXXbyYY_r.c: Likewise.
57552         * nss/getXXent.c: Likewise.
57553         * nss/getXXent_r.c: Likewise.
57554         * sysdeps/posix/getaddrinfo.c: Likewise.
57556 2012-10-30  Andreas Jaeger  <aj@suse.de>
57558         * po/ru.po: Update Russion translation from translation project.
57560 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57562         [BZ #14152]
57563         [BZ #14783]
57564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57565         result and shift together with sticky bit instead of replicating
57566         round-to-nearest rounding.
57567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57569         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57570         missing underflow exceptions.
57571         (fma_test_towardzero): Add more tests.
57572         (fma_test_downward): Likewise.
57573         (fma_test_upward): Likewise.
57575         [BZ #14047]
57576         * sysdeps/generic/tininess.h: New file.
57577         * sysdeps/i386/tininess.h: Likewise.
57578         * sysdeps/sh/tininess.h: Likewise.
57579         * sysdeps/x86_64/tininess.h: Likewise.
57580         * stdlib/tst-strtod-underflow.c: Likewise.
57581         * stdlib/tst-tininess.c: Likewise.
57582         * stdlib/strtod_l.c: Include <tininess.h>.
57583         (round_and_return): Do not set errno for exact underflow cases.
57584         Force an underflow exception when setting errno for underflow.
57585         Determine underflow based on rounding to normal precision if
57586         TININESS_AFTER_ROUNDING.
57587         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57588         ERANGE for exact underflow cases.
57589         * stdlib/Makefile (tests): Add tst-tininess and
57590         tst-strtod-underflow.
57591         ($(objpfx)tst-tininess): Use $(link-libm).
57592         ($(objpfx)tst-strtod-underflow): Likewise.
57594 2012-10-30  Andreas Jaeger  <aj@suse.de>
57596         [BZ#14767]
57597         * elf/Makefile (tests): Remove conditional for have-initfini-array
57598         since this is now always required and the variable does not exist
57599         anymore.
57600         (tests-static): Likewise.
57601         (modules-names): Likewise.
57603         * po/eo.po: Add Esperanto translation from translation project.
57605         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57606         merged with constructor/destructor.
57607         (init_array): Likewise.
57608         * elf/tst-array2dep.c (fini_array): Likewise.
57609         (init_array): Likewise.
57611 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57613         * manual/message.texi: Delete @cartouche tags.
57615 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57617         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57618         EOPNOTSUPP.
57619         * sysdeps/mach/hurd/fsync.c: Likewise.
57621         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57622         [_POSIX_REALTIME_SIGNALS]: Change condition to
57623         [_POSIX_REALTIME_SIGNALS > 0].
57625 2012-10-27  Andreas Jaeger  <aj@suse.de>
57627         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57628         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57630         [__WORDSIZE != 64]: Likewise.
57632 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57634         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57635         *  iconvdata/tst-tables.sh: Likewise.
57637 2012-10-25  David S. Miller  <davem@davemloft.net>
57639         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57640         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57641         of strtoull.
57643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57644         ifunc-impl-list.c
57645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57646         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57647         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57648         file.
57650 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57652         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57653         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57654         __getdirentries.
57656 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57657             Jim Blandy  <jimb@codesourcery.com>
57659         * scripts/cross-test-ssh.sh: New file.
57660         * manual/install.texi (Configuring and compiling): Document use of
57661         cross-test-ssh.sh.
57662         * INSTALL: Regenerated.
57664 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57666         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57667         EOPNOTSUPP.
57669 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57671         * Makeconfig (run-program-prefix): Fix comment.
57673 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57674             Jim Blandy  <jimb@codesourcery.com>
57676         * Makeconfig (test-wrapper): New variable,
57677         (test-wrapper-env): Likewise.
57678         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57679         (run-built-tests): Define to yes.
57680         (run-program-prefix): Use $(test-wrapper).
57681         (built-program-cmd): Likewise.
57682         * Rules (make-test-out): Use $(test-wrapper-env) and
57683         $(host-built-program-cmd).
57684         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57685         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57686         tst-pathopt.sh.
57687         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57688         $(test-wrapper-env) to tst-rtld-load-self.sh.
57689         ($(objpfx)order2.out): Use $(test-wrapper).
57690         ($(objpfx)tst-initorder.out): Likewise.
57691         ($(objpfx)tst-initorder2.out): Likewise.
57692         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57693         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57694         (test_wrapper_env): New variable.  Use it to run ld.so.
57695         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57696         Use it to run ld.so.
57697         (test_wrapper_env): Likewise.
57698         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57699         $(test-wrapper) to run-iconv-test.sh.
57700         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57701         (ICONV): Use $test_wrapper.
57702         * posix/Makefile ($(objpfx)globtest.out): Pass
57703         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57704         globtest.sh, not $(run-program-prefix).
57705         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57706         (test_wrapper): Likewise.
57707         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57708         set together with run_via_rtld_prefix.
57709         (run_program_prefix): Define in terms of test_wrapper and
57710         run_via_rtld_prefix.
57712 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57714         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57715         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57716         Targets removed.
57718         [BZ #14743]
57719         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57720         Declare __clock_getres, __clock_gettime, __clock_settime,
57721         __clock_nanosleep, and __clock_getcpuclockid.
57722         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57723         Remove librt_hidden_def (clock_gettime).
57724         * sysdeps/unix/clock_gettime.c: Likewise.
57725         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57726         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57727         * rt/clock_getres.c: Define __clock_getres as an alias.
57728         * sysdeps/posix/clock_getres.c: Likewise.
57729         * rt/clock_settime.c: Define __clock_settime as an alias.
57730         * sysdeps/unix/clock_settime.c: Likewise.
57731         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57732         * sysdeps/unix/clock_nanosleep.c: Likewise.
57733         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57734         * rt/clock-compat.c: New file.
57735         * rt/Makefile (librt-routines): Add clock-compat and move
57736         $(clock-routines) to ...
57737         (routines): ... here, new variable.
57738         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57739         Don't add get_clockfreq here.
57740         * rt/Versions (libc: GLIBC_2.17): New version set.
57741         Add clock_* symbols here.
57742         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57744         (GLIBC_2.17): Add clock_* symbols.
57745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57749         Likewise.
57750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57751         Likewise.
57752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57756         * NEWS: Mention the move.
57758         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57759         Use __open, __read, __close rather than their public counterparts.
57760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57761         (__get_clockfreq_via_cpuinfo): Likewise.
57762         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57763         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57765         * config.h.in (HAVE_IFUNC): New #undef.
57766         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57767         was successful.
57768         * configure: Regenerated.
57770 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57772         * configure.in: Move READELF check to start of file.
57773         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57774         libc_cv_asm_gnu_indirect_function in the process.
57775         * configure: Regenerated.
57777 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57779         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57780         send the output to /dev/null.
57781         (libc_cv_cc_with_libunwind): Likewise.
57782         (libc_cv_as_noexecstack): Likewise.
57783         * configure: Regenerate.
57785 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57787         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57789         * posix/globtest.sh (TMPDIR): Do not set.
57790         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57791         (testout): Likewise.
57793 2012-10-24  Andreas Jaeger  <aj@suse.de>
57795         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57796         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57797         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57798         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57799         posix_fadvise64, posix_fallocate64.
57801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57802         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57803         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57804         Likewise.
57805         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57806         Likewise.
57807         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57810         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57811         <bits/fcntl-linux.h>.
57812         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57815         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57816         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57817         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57818         [__WORDSIZE != 64]: Likewise.
57820 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57822         * Makeconfig (run-built-tests): New variable.
57823         * Rules [$(cross-compiling) = yes]: Change condition to
57824         [$(run-built-tests) = no].
57825         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57826         to [$(run-built-tests) = yes].
57827         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57828         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57829         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57830         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57831         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57832         * io/Makefile [$(cross-compiling) = no]: Likewise.
57833         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57834         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57835         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57836         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57837         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57838         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57839         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57840         * string/Makefile [$(cross-compiling) = no]: Likewise.
57842         * posix/Makefile ($(objpfx)globtest.out): Pass
57843         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57844         $(rtld-installed-name).
57845         * posix/globtest.sh (elf_objpfx): Remove variable.
57846         (rtld_installed_name): Likewise.
57847         (library_path): Likewise.
57848         (run_program_prefix): New variable.  Use for running globtest
57849         binary.
57851 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57852             Joseph Myers  <joseph@codesourcery.com>
57854         * Makeconfig (host-built-program-cmd): New variable.
57855         * elf/Makefile (tst-stackguard1-ARGS): Use
57856         $(host-built-program-cmd).
57857         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57858         (tst-spawn-ARGS): Likewise.
57859         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57861 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57862             Jim Blandy  <jimb@codesourcery.com>
57864         * Makeconfig (run-via-rtld-prefix): New variable.
57865         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57866         (built-program-cmd): Likewise.
57868 2012-10-22  Andreas Jaeger  <aj@suse.de>
57870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57871         __O_RSYNC if it exists, otherwise to O_SYNC.
57873 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57874             Joseph Myers  <joseph@codesourcery.com>
57876         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57877         /dev/null.
57878         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57879         from /dev/null
57880         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57881         /dev/null.
57883 2012-10-22  Andreas Jaeger  <aj@suse.de>
57885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57886         Define always.
57887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57890         bits/fcntl-linux.h.
57892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57893         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57896         to __O_LARGEFILE.
57897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57898         to __O_LARGEFILE.
57900 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57901             Joseph Myers  <joseph@codesourcery.com>
57903         * config.make.in (NM): New variable.
57905 2012-10-21  Andreas Jaeger  <aj@suse.de>
57907         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57908         definitions and declarations that are provided by
57909         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57911 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57913         [BZ #14683]
57914         * elf/Makefile (tests-static): Add tst-leaks1-static.
57915         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57916         ($(objpfx)tst-leaks1-static): New rule.
57917         ($(objpfx)tst-leaks1-static-mem): Likewise.
57918         (tst-leaks1-static-ENV): New macro.
57919         * elf/dl-open.c (dl_open_worker): Check the main application
57920         only if SHARED is defined.
57921         * elf/tst-leaks1-static.c: New file.
57923 2012-10-20  Andreas Jaeger  <aj@suse.de>
57925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57926         generic values for Linux.
57927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57928         and declarations that are provided by <bits/fcntl-linux.h> and
57929         include <bits/fcntl-linux.h>.
57930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57933 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57935         * io/fcntl.h: Move include of <bits/types.h> to the top and
57936         include it unconditionally.
57938 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57940         * wcsmbs/Makefile (tests-ifunc): New variable.
57941         (tests): Add $(tests-ifunc).
57942         * wcsmbs/test-wcschr-ifunc.c: New file.
57943         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57944         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57945         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57946         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57947         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57949         * string/Makefile (tests-ifunc): New variable.
57950         (tests): Add $(tests-ifunc).
57951         * string/test-memccpy.c (TEST_NAME): New macro.
57952         * string/test-memchr.c (TEST_NAME): Likewise.
57953         * string/test-memcmp.c (TEST_NAME): Likewise.
57954         * string/test-memcpy.c (TEST_NAME): Likewise.
57955         * string/test-memmem.c (TEST_NAME): Likewise.
57956         * string/test-memmove.c (TEST_NAME): Likewise.
57957         * string/test-memset.c (TEST_NAME): Likewise.
57958         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57959         * string/test-stpcpy.c (TEST_NAME): Likewise.
57960         * string/test-stpncpy.c (TEST_NAME): Likewise.
57961         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57962         * string/test-strcasestr.c (TEST_NAME): Likewise.
57963         * string/test-strcat.c (TEST_NAME): Likewise.
57964         * string/test-strchr.c (TEST_NAME): Likewise.
57965         * string/test-strcmp.c(TEST_NAME): Likewise.
57966         * string/test-strcpy.c (TEST_NAME): Likewise.
57967         * string/test-strcspn.c (TEST_NAME): Likewise.
57968         * string/test-strlen.c (TEST_NAME): Likewise.
57969         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57970         * string/test-strncmp.c (TEST_NAME): Likewise.
57971         * string/test-strncpy.c (TEST_NAME): Likewise.
57972         * string/test-strnlen.c (TEST_NAME): Likewise.
57973         * string/test-strpbrk.c (TEST_NAME): Likewise.
57974         * string/test-strrchr.c (TEST_NAME): Likewise.
57975         * string/test-strspn.c (TEST_NAME): Likewise.
57976         * string/test-strstr.c (TEST_NAME): Likewise.
57977         * string/test-bcopy-ifunc.c: New file.
57978         * string/test-bzero-ifunc.c: Likewise.
57979         * string/test-memccpy-ifunc.c: Likewise.
57980         * string/test-memchr-ifunc.c: Likewise.
57981         * string/test-memcmp-ifunc.c: Likewise.
57982         * string/test-memcpy-ifunc.c: Likewise.
57983         * string/test-memmem-ifunc.c: Likewise.
57984         * string/test-memmove-ifunc.c: Likewise.
57985         * string/test-mempcpy-ifunc.c: Likewise.
57986         * string/test-memset-ifunc.c: Likewise.
57987         * string/test-rawmemchr-ifunc.c: Likewise.
57988         * string/test-stpcpy-ifunc.c: Likewise.
57989         * string/test-stpncpy-ifunc.c: Likewise.
57990         * string/test-strcasecmp-ifunc.c: Likewise.
57991         * string/test-strcasestr-ifunc.c: Likewise.
57992         * string/test-strcat-ifunc.c: Likewise.
57993         * string/test-strchr-ifunc.c: Likewise.
57994         * string/test-strchrnul-ifunc.c: Likewise.
57995         * string/test-strcmp-ifunc.c: Likewise.
57996         * string/test-strcpy-ifunc.c: Likewise.
57997         * string/test-strcspn-ifunc.c: Likewise.
57998         * string/test-strlen-ifunc.c: Likewise.
57999         * string/test-strncasecmp-ifunc.c: Likewise.
58000         * string/test-strncat-ifunc.c: Likewise.
58001         * string/test-strncmp-ifunc.c: Likewise.
58002         * string/test-strncpy-ifunc.c: Likewise.
58003         * string/test-strnlen-ifunc.c: Likewise.
58004         * string/test-strpbrk-ifunc.c: Likewise.
58005         * string/test-strrchr-ifunc.c: Likewise.
58006         * string/test-strspn-ifunc.c: Likewise.
58007         * string/test-strstr-ifunc.c: Likewise.
58009         * debug/Makefile (tests-ifunc): New variable.
58010         (tests): Add $(tests-ifunc).
58011         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58012         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58013         * debug/test-stpcpy_chk-ifunc.c: New file.
58014         * debug/test-strcpy_chk-ifunc.c: Likewise.
58016 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58018         [BZ #13601]
58019         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58020         header is not read in.
58022 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58024         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58025         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58026         directly.  Pass built executable to script as
58027         $(built-program-cmd).
58028         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58029         $testprogram without using LD_LIBRARY_PATH and $ldso.
58031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58032         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58033         $(rtld-installed-name).
58034         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58035         (rtld_installed_name): Likewise.
58036         (library_path): Likewise.
58037         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58038         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58039         $(run-program-prefix) to tst-tables.sh.
58040         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58041         it to run tst-table-from and tst-table-to.
58042         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58043         Pass it to tst-table.sh.
58044         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58045         $(run-program-prefix) to tst-gettext.sh.
58046         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58047         tst-translit.sh.
58048         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58049         tst-gettext2.sh.
58050         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58051         to run tst-gettext.
58052         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58053         to run tst-gettext2.
58054         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58055         to run tst-translit.
58056         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58057         $(run-program-prefix) to tst-mtrace.sh.
58058         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58059         to run tst-mtrace.
58060         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58061         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58062         $(rtld-installed-name).
58063         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58064         (rtld_installed_name): Likewise.
58065         (run_program_prefix): New variable.  Use it to run wordexp-test.
58067         * Makeconfig (ARCH): Remove all definitions.
58068         (machine): Likewise.
58069         [ARCH]: Remove conditional code.
58070         [!objdir]: Give error.
58071         [!objdir] (objpfx): Remove.
58072         [!objdir] (common-objpfx): Likewise.
58073         [!objdir] (common-objdir): Likewise.
58074         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58075         AC_CONFIG_FILES call.
58076         * configure: Regenerated.
58078         [BZ #13888]
58079         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58080         or TMPDIR.
58081         (testout): Likewise.
58083         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58084         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58085         $(rtld-installed-name).
58086         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58087         (rtld_installed_name): Likwise.
58088         (runit): Remove function.
58089         (run_getconf): New variable,  Use it for running getconf binary.
58091 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58093         [BZ #14716]
58094         * string/test-memmem.c (check_result): New function.
58095         (do_one_test): Use it.
58096         (check1): New function.
58097         (test_main): Use it.
58099 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58101         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58103 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58105         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58106         (_G_LSEEK64): Likewise.
58107         (_G_MMAP64): Likewise.
58108         (_G_FSTAT64): Likewise.
58109         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58110         (_G_LSEEK64): Likewise.
58111         (_G_MMAP64): Likewise.
58112         (_G_FSTAT64): Likewise.
58113         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58114         unconditional.  Call __mmap64 directly.
58115         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58116         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58117         __lseek64 directly.
58118         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58119         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58120         __mmap64 directly.
58121         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58122         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58123         __lseek64 directly.
58124         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58125         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58126         __lseek64 directly.
58127         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58128         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58129         __lseek64 directly.
58130         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58131         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58132         __fxstat64 directly.
58133         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58134         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58135         unconditional.
58136         (freopen64) [!_G_OPEN64]: Remove conditional code.
58137         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58138         unconditional.
58139         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58140         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58141         unconditional.
58142         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58143         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58144         unconditional.
58145         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58146         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58147         unconditional.
58148         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58149         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58150         unconditional.
58151         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58152         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58153         unconditional.
58154         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58155         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58156         unconditional.
58157         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58159 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58161         [BZ #12140]
58162         * manual/memory.texi (Malloc Tunable Parameters): Add note
58163         about free list pointers overwriting some perturb bytes.
58164         Wording suggested by Roland McGrath.
58166 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58168         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58169         (lgamma_test): Likewise.
58170         (tgamma_test): Likewise.
58172 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58174         [BZ #14700]
58175         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58176         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58178 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58180         * NEWS: Mention BZ #14716.
58181         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58182         when removing AVAILABLE1_USES_J macro.
58184 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58186         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58187         (__bswap_64): __uint64_t for unsigned 64-bit int.
58189 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58191         * include/string.h (memmem): Declare libc hidden alias.
58192         * string/memmem.c (memmem): Define libc hidden alias.
58193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58194         __read, __close instead of open, read, close.
58196 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58199         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58200         global and hidden.
58201         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58202         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58203         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58204         Likewise.
58205         (__rawmemchr_sse2): Likewise.
58206         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58207         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58208         (__strchr_sse2): Likewise.
58209         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58210         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58211         (__strcasecmp_sse2): Likewise.
58212         (__strncasecmp_sse2): Likewise.
58213         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58214         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58215         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58216         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58217         (__strrchr_sse2): Likewise.
58218         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58219         ifunc-impl-list.c.
58220         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58221         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58222         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58224         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58226         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58227         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58228         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58229         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58230         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58231         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58232         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58233         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58234         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58235         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58236         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58237         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58238         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58239         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58240         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58241         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58242         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58243         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58244         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58245         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58246         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58247         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58248         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58249         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58251         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58252         global and hidden.
58253         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58254         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58255         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58256         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58257         Likewise.
58258         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58259         Likewise.
58260         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58261         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58262         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58263         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58264         ifunc-impl-list.c.
58265         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58266         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58267         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58268         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58269         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58270         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58271         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58272         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58273         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58274         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58275         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58276         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58277         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58278         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58279         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58280         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58281         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58282         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58283         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58284         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58286         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58287         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58288         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58289         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58290         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58291         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58292         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58293         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58294         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58295         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58296         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58297         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58298         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58300         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58301         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58302         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58303         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58304         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58305         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58307         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58308         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58309         * include/ifunc-impl-list.h: New file.
58310         * misc/ifunc-impl-list.c: Likewise.
58311         * misc/Makefile (routines): Add ifunc-impl-list.
58312         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58313         * string/test-string.h: Include <ifunc-impl-list.h>.
58314         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58315         TEST_NAME]: New variables.
58316         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58317         are defined.
58318         (test_init): Call __libc_ifunc_impl_list to initialize
58319         func_list if TEST_IFUNC and TEST_NAME are defined.
58321         * string/Makefile (strop-tests): Add bcopy and bzero.
58322         * string/test-bcopy.c: New file.
58323         * string/test-bzero.c: Likewise.
58324         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58325         defined.
58326         * string/test-memset.c: Support bzero test if TEST_BZERO is
58327         defined.
58328         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58329         __libc_memmove.
58330         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58331         __libc_memset.
58332         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58333         of memset.
58335 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58337         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58338         * configure: Regenerated.
58340         * Makeconfig (+link-static-before-libc): Don't include
58341         $(link-static-libc).
58343         * libio/libio.h (_IO_pos_t): Remove.
58345 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58347         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58348         McGrath.
58350 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58352         * crypt/crypt-entry.c: Include fips-private.h.
58353         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58354         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58355         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58356         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58358 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58360         * crypt/crypt-private.h: Include stdbool.h.
58361         (_ufc_setup_salt_r): Return bool.
58362         * crypt/crypt-entry.c: Include errno.h.
58363         (__crypt_r): Return NULL with EINVAL for bad salt.
58364         * crypt/crypt_util.c (bad_for_salt): New.
58365         (_ufc_setup_salt_r): Check that salt is long enough and within
58366         the specified alphabet.
58367         * crypt/badsalttest.c: New file.
58368         * crypt/Makefile (tests): Add it.
58369         ($(objpfx)badsalttest): New.
58371 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58373         * NEWS: Add entry for BZ #14602.
58375 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58377         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58378         type-generic.
58379         * math/libm-test.inc: Update comment listing what functions and
58380         macros are tested.
58381         (isgreater_test): New function.
58382         (isgreaterequal_test): Likewise.
58383         (isless_test): Likewise.
58384         (islessequal_test): Likewise.
58385         (islessgreater_test): Likewise.
58386         (isunordered_test): Likewise.
58387         (main): Call the new functions.
58389 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58391         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58392         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58393         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58394         * sysdeps/i386/configure: Regenerated.
58395         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58396         * sysdeps/mach/configure: Regenerated.
58397         * sysdeps/mach/hurd/configure: Regenerated.
58398         * sysdeps/powerpc/configure: Regenerated.
58399         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58400         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58401         * sysdeps/s390/s390-32/configure: Regenerated.
58402         * sysdeps/s390/s390-64/configure: Regenerated.
58403         * sysdeps/sh/configure: Regenerated.
58404         * sysdeps/sparc/configure: Regenerated.
58405         * sysdeps/unix/sysv/linux/configure: Regenerated.
58406         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58407         * sysdeps/x86_64/configure: Regenerated.
58409         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58410         defined.  Don't check if MAP is NULL.
58412 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58414         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58415         (_G_stat64): Likewise.
58416         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58417         (_G_stat64): Likewise.
58418         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58419         instead of struct _G_stat64.
58420         * libio/fileops.c (mmap_remap_check): Likewise.
58421         (decide_maybe_mmap): Likewise.
58422         (_IO_new_file_seekoff): Likewise.
58423         (_IO_file_stat): Likewise.
58424         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58425         _G_off64_t.
58426         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58427         instead of struct _G_stat64.
58428         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58430 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58432         [BZ #14602]
58433         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58434         Replace with ...
58435         (CHECK_EOL): New macro.
58436         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58437         CHECK_EOL.
58438         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58439         Replace with CHECK_EOL.
58440         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58441         Replace with CHECK_EOL.
58443 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58445         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58446         type-generic.
58447         * math/libm-test.inc: Update comment listing what functions and
58448         macros are tested.
58449         (finite_test): New function.
58450         (isinf_test): Likewise.
58451         (isnan_test): Likewise.
58452         (fpclassify_test): Test subnormal input.
58453         (isfinite_test): Likewise.
58454         (isnormal_test): Likewise.
58455         (main): Call the new functions.
58457 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58459         [BZ #14660]
58460         * Makerules (%.dynsym): Force C locale when running
58461         $(OBJDUMP) --dynamic-syms.
58463 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58465         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58466         <stdint.h>.
58468 2012-10-06  David S. Miller  <davem@davemloft.net>
58470         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58471         upper 32-bits of the length value in %o2 since we use branch-on-register
58472         tests which consider the entire 64-bit register.
58474 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58476         * string/test-strstr.c (check2): Add a test for page boundary.
58478 2012-10-05  David S. Miller  <davem@davemloft.net>
58480         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58481         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58482         file.
58483         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58484         sysdep_routines.
58485         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58486         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58487         and bzero when HWCAP_SPARC_CRYPTO is present.
58489 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58491         [BZ #14602]
58492         * string/test-strstr.c (check2): New function.
58493         (test_main): Call check2.
58495         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58496         and bug-strchr1.
58497         * string/bug-strcasestr1.c (do_test): Moved to ...
58498         * string/test-strcasestr.c (check1): Here.  New function.
58499         (do_one_test): Break out result checking code into ...
58500         (check_result): This.  New function.
58501         (do_one_test): Call check_result.
58502         (test_main): Call check1.
58503         * string/bug-strchr1.c (do_test): Moved to ...
58504         * string/test-strchr.c (check1): Here.  New function.
58505         (do_one_test): Break out result checking code into ...
58506         (check_result): This.  New function.
58507         (do_one_test): Call check_result.
58508         (test_main): Call check1.
58509         * string/bug-strstr1.c (main): Moved to ...
58510         * string/test-strstr.c (check1): Here.  New function.
58511         (do_one_test): Break out result checking code into ...
58512         (check_result): This.  New function.
58513         (do_one_test): Call check_result.
58514         (test_main): Call check1.
58515         * string/bug-strcasestr1.c: Removed.
58516         * string/bug-strchr1.c: Likewise.
58517         * string/bug-strstr1.c: Likewise.
58519         * elf/Makefile (dl-routines): Add hwcaps.
58520         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58521         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58522         (_dl_important_hwcaps): Moved to ...
58523         * elf/dl-hwcaps.c: Here.  New file.
58524         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58526         [BZ #14557]
58527         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58528         if IS_IN_rtld isn't defined.
58530         * elf/dl-support.c (_dl_sysinfo_map): New.
58531         Include "get-dynamic-info.h" and "setup-vdso.h".
58532         (_dl_non_dynamic_init): Call setup_vdso.
58533         * elf/dynamic-link.h: Don't include <assert.h>.
58534         (elf_get_dynamic_info): Moved to ...
58535         * elf/get-dynamic-info.h: Here.  New file.
58536         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58537         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58538         * elf/setup-vdso.h: Here.  New file.
58539         * elf/rtld.c: Include "setup-vdso.h".
58540         (dl_main): Call setup_vdso.
58542 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58544         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58545         creal in comment listing functions tested.  List finite, isinf,
58546         isnan, isless, islessequal, isgreater, isgreaterequal,
58547         islessgreater, isunordered, lgamma_r and pow10 as functions and
58548         macros not tested.  Mention which functions not tested are aliases
58549         for other functions.  Fix typo.  Note that signs of NaNs are not
58550         tested.
58552         * scripts/config.guess: Update from config.git.
58553         * scripts/config.sub: Likewise.
58555 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58557         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58558         * misc/madvise.c (madvise): Renamed to __madvise.
58559         Make madvise a weak alias.
58560         * include/sys/mman.h: Declare __madvise.
58561         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58562         * sysdeps/unix/syscalls.list
58563         (madvise): Make __madvise the strong name, and madvise a weak alias.
58564         * sysdeps/unix/sysv/linux/syscalls.list
58565         (madvise, mmap): Remove redundant entries.
58566         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58567         * malloc/malloc.c (mtrim): Likewise.
58568         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58572         * sysdeps/mach/hurd/dl-cache.c: File removed.
58573         * config.h.in (USE_LDCONFIG): New #undef.
58574         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58575         * configure: Regenerated.
58576         * elf/Makefile (dl-routines): Add dl-cache only under
58577         [$(use-ldconfig) = yes].
58578         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58579         cache on [USE_LDCONFIG].
58580         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58581         [USE_LDCONFIG].
58582         * elf/rtld.c (dl_main): Likewise.
58584 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58586         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58587         _SC_LEVEL4_CACHE_LINESIZE.
58589 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58591         * sysdeps/unix/bsd/confstr.h: File removed.
58593 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58595         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58596         sys/sdt-config.h.
58598 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58600         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58601         Make 'mapoff' field ElfW(Off) rather than off_t.
58603 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58605         * nscd/Makefile: Remove nscd-cflags and all its users.
58606         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58607         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58609         [BZ #10631]
58610         * malloc.c (malloc_printerr): Clarify error message.
58612 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58614         [BZ #14648]
58615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58616         Set bit_FMA_Usable if FMA is supported.
58617         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58618         macro.
58619         (bit_FMA4_Usable): Updated.
58620         (index_FMA_Usable): New macro.
58621         (CPUID_FMA): Likewise.
58622         (HAS_FMA): Defined with bit_FMA_Usable.
58624 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58626         * bits/types.h (__swblk_t): Type removed.
58627         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58628         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58630         (__SWBLK_T_TYPE): Likewise.
58631         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58632         (__SWBLK_T_TYPE): Likewise.
58633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58634         (__SWBLK_T_TYPE): Likewise.
58635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58636         (__SWBLK_T_TYPE): Likewise.
58638 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58639             Honza Horak <hhorak@redhat.com>
58641         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58642         (xdr_mapname): Use YPMAXMAP as maxsize.
58643         (xdr_peername): Use YPMAXPEER as maxsize.
58644         (xdr_keydat): Use YPAXRECORD as maxsize.
58645         (xdr_valdat): Use YPMAXRECORD as maxsize.
58647 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58649         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58651         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58652         * csu/init-first.c: ... here.
58653         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58654         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58655         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58656         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58657         * sysdeps/i386/init-first.c: File removed.
58658         * sysdeps/sh/init-first.c: File removed.
58660 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58662         [BZ #14645]
58663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58664         if x * y might underflow to zero and z is zero.
58665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58667         * math/libm-test.inc (min_subnorm_value): New variable.
58668         (fma_test): Add more tests.
58669         (fma_test_towardzero): Likewise.
58670         (fma_test_downward): Likewise.
58671         (fma_test_upward): Likewise.
58672         (initialize): Set min_subnorm_value.
58674 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58676         [BZ #14638]
58677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58678         0 + 0.
58679         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58680         mode for addition resulting in exact zero.
58681         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58683         exact 0 + 0.
58684         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58686         * math/libm-test.inc (fma_test): Add more tests.
58687         (fma_test_towardzero): New function.
58688         (fma_test_downward): Likewise.
58689         (fma_test_upward): Likewise.
58690         (main): Call the new functions.
58692 2012-09-28  David S. Miller  <davem@davemloft.net>
58694         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58696 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58698         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58699         instead of SIGALRM.
58701         * sysdeps/gnu/_G_config.h: Moved to ...
58702         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58703         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58704         * sysdeps/generic/_G_config.h: ... here.
58706         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58708         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58710         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58711         Conditionalize target on [libnss_test1.so-version].
58713         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58715         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58716         (elfobjdir): Move out of conditionals.
58718         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58719         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58720         (__nss_lookup_function): Conditionalize label remove_from_tree on
58721         [!DO_STATIC_NSS || SHARED], matching its only use.
58723 2012-09-28  David S. Miller  <davem@davemloft.net>
58725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58726         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58727         file.
58728         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58729         sysdep_routines.
58730         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58732         when HWCAP_SPARC_CRYPTO is present.
58734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58736         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58738 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58740         [BZ #6530]
58741         * stdio-common/vfprintf.c (process_string_arg): Revert
58742         2000-07-22 change.
58744 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58746         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58747         for testcase.
58748         * stdio-common/tst-sprintf.c: Include <locale.h>
58749         (main): Test sprintf's handling of incomplete multibyte
58750         characters.
58752 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58754         * elf/dl-runtime.c (VERSYMIDX): Removed.
58755         * elf/dl-version.c (VERSYMIDX): Likewise.
58756         * elf/do-rel.h (VERSYMIDX): Likewise.
58757         (VALIDX): Likewise.
58758         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58759         * elf/rtld.c (VALIDX): Likewise.
58760         (ADDRIDX): Likewise.
58761         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58762         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58763         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58764         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58765         (VALIDX): Likewise.
58766         (ADDRIDX): Likewise.
58768 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58770         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58772 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58774         [BZ #11438]
58775         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58776         to global scope.
58777         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58778         addresses are in the same scope as 192.0.2/24.
58779         * posix/gai.conf: Document new scope table defaults.
58781 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58783         [BZ #5298]
58784         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58785         for ftell.  Compute offsets from write pointers instead.
58786         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58788 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58790         [BZ #14543]
58791         * libio/Makefile (tests): New test case tst-fseek.
58792         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58793         combination works in wide mode.
58794         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58795         state when the external buffer state changes.
58797 2012-09-27  David S. Miller  <davem@davemloft.net>
58799         [BZ #14376]
58800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58801         pass reloc->r_addend in as the 'high' argument to
58802         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58806 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58808         * rt/tst-aio2.c: Include <pthread.h>.
58809         * rt/tst-aio3.c: Likewise.
58811 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58813         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58815 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58817         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58818         contents on [SHARED].
58820 2012-09-26  Marek Polacek  <polacek@redhat.com>
58822         [BZ #14530]
58823         [BZ #13741]
58824         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58825         for C++ and GCC <4.3 as well as for non GCC compilers.
58827 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58831 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58833         * Makefile.in (all, install): Declare with .PHONY.
58834         Reported by Michael Hope <michael.hope@linaro.org>.
58836 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58838         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58839         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58840         system header.
58841         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58842         Likewise.
58843         (sydep_routines): Add the new and the internal functions.
58844         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58845         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58847         (GLIBC_2.17): Add the new function.
58848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58849         (GLIBC_2.17): Likewise.
58850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58851         (GLIBC_2.17): Likewise.
58852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58853         (GLIBC_2.17): Likewise.
58854         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58856 2012-09-25  Alan Modra  <amodra@gmail.com>
58858         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58859         Add release barrier before setting once_control to say
58860         initialisation is done.  Add hints on lwarx.  Use macro in
58861         place of isync.
58862         (clear_once_control): Add release barrier.
58864 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58866         [BZ #13629]
58867         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58868         specially.
58869         * math/s_clog10.c (__clog10): Likewise.
58870         * math/s_clog10f.c (__clog10f): Likewise.
58871         * math/s_clog10l.c (__clog10l): Likewise.
58872         * math/s_clogf.c (__clogf): Likewise.
58873         * math/s_clogl.c (__clogl): Likewise.
58874         * math/Makefile (libm-calls): Add x2y2m1.
58875         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58876         (__x2y2m1): Likewise.
58877         (__x2y2m1l): Likewise.
58878         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58879         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58880         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58881         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58882         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58883         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58884         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58885         * sysdeps/i386/fpu/libm-test-ulps: Update.
58886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58888         [BZ #14621]
58889         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58890         int as type of variable DEPTH.
58891         (glob): Use size_t instead of int as type of variables NEWCOUNT
58892         and OLD_PATHC.
58894 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58896         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58897         Add s_sincosf-sse2.
58898         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58899         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58900         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58901         macros for using routine as __sincosf_ia32.
58902         Use macro for function declaration and weak_alias.
58903         * sysdeps/i386/fpu/libm-test-ulps: Update.
58905         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58908         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58909         subnormal argument.
58910         * math/s_cexpf.c (__cexpf): Likewise.
58911         * math/s_csinf.c (__csinf): Likewise.
58912         * math/s_csinhf.c (__csinhf): Likewise.
58913         * math/s_ctanf.c (__ctanf): Likewise.
58914         * math/s_ctanhf.c (__ctanhf): Likewise.
58915         * math/s_ccosh.c (__ccoshf): Likewise.
58916         * math/s_cexp.c (__cexpl): Likewise.
58917         * math/s_csin.c (__csin): Likewise.
58918         * math/s_csinh.c (__csinh): Likewise.
58919         * math/s_ctan.c (__ctan): Likewise.
58920         * math/s_ctanh.c (ctanh): Likewise.
58921         * math/s_ccoshl.c (__ccoshl): Likewise.
58922         * math/s_cexpl.c (__cexpl): Likewise.
58923         * math/s_csinl.c (__csinl): Likewise.
58924         * math/s_csinhl.c (__csinhl): Likewise.
58925         * math/s_ctanl.c (__ctanl): Likewise.
58926         * math/s_ctanhl.c (__ctanhl): Likewise.
58928 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58930         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58931         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58932         (_IO_off_t): Define to __off_t, not _G_off_t.
58933         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58934         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58935         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58936         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58937         type of __dummy and __dummy2 fields.
58938         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58939         (_G_ssize_t): Likewise.
58940         (_G_off_t): Likewise.
58941         (_G_pid_t): Likewise.
58942         (_G_uid_t): Likewise.
58943         (_G_wchar_t): Likewise.
58944         (_G_wint_t): Likewise.
58945         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58946         (_G_ssize_t): Likewise.
58947         (_G_off_t): Likewise.
58948         (_G_pid_t): Likewise.
58949         (_G_uid_t): Likewise.
58950         (_G_wchar_t): Likewise.
58951         (_G_wint_t): Likewise.
58952         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58953         (_G_ssize_t): Likewise.
58954         (_G_off_t): Likewise.
58955         (_G_pid_t): Likewise.
58956         (_G_uid_t): Likewise.
58957         (_G_wchar_t): Likewise.
58958         (_G_wint_t): Likewise.
58960 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58962         * malloc/arena.c: Include malloc-sysdep.h.
58963         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58964         is sufficient to shrink the heap or an unmap is needed.
58965         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58966         new function check_may_shrink_heap.
58967         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58968         new function check_may_shrink_heap.
58970 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58972         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58973         comments.
58975 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58977         * catgets/test-gencat.sh: Add "set -e".
58978         * elf/tst-pathopt.sh: Likewise.
58979         * grp/tst_fgetgrent.sh: Likewise.
58980         * iconvdata/run-iconv-test.sh: Likewise.
58981         * intl/tst-gettext.sh: Likewise.
58982         * intl/tst-gettext2.sh: Likewise.
58983         * intl/tst-gettext4.sh: Likewise.
58984         * intl/tst-gettext6.sh: Likewise.
58985         * intl/tst-translit.sh: Likewise.
58986         * io/ftwtest-sh: Likewise.
58987         * libio/test-freopen.sh: Likewise.
58988         * malloc/tst-mtrace.sh: Likewise.
58989         * posix/globtest.sh: Likewise.
58990         * posix/tst-getconf.sh: Likewise.
58991         * posix/wordexp-tst.sh: Likewise.
58992         * stdio-common/tst-printf.sh: Likewise.
58993         * stdio-common/tst-unbputc.sh: Likewise.
58994         * stdlib/tst-fmtmsg.sh: Likewise.
58995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58996         * catgets/Makefile: Do not specify -e option when running
58997         testsuite shell scripts.
58998         * elf/Makefile: Likewise.
58999         * grp/Makefile: Likewise.
59000         * iconvdata/Makefile: Likewise.
59001         * intl/Makefile: Likewise.
59002         * io/Makefile: Likewise.
59003         * libio/Makefile: Likewise.
59004         * malloc/Makefile: Likewise.
59005         * posix/Makefile: Likewise.
59006         * stdio-common/Makefile: Likewise.
59007         * stdlib/Makefile: Likewise.
59008         * sysdeps/x86_64/Makefile: Likewise.
59010         * io/ftwtest-sh: Add copyright header.
59011         * posix/globtest.sh: Likewise.
59012         * posix/tst-getconf.sh: Likewise.
59013         * posix/wordexp-tst.sh: Likewise.
59014         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59016 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59018         [BZ #13679]
59019         * Makeconfig (+link): Defined as $(+link-static) if
59020         $(build-shared) isn't yes.
59021         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59022         isn't yes.
59023         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59025         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59027         [BZ #14562]
59028         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59029         new chunk size with MALLOC_ALIGN_MASK.
59031 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59033         [BZ #5044]
59034         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59035         <rounding-mode.h>.
59036         (__printf_fphex): Determine rounding using get_rounding_mode and
59037         round_away.
59038         * stdio-common/tst-printf-round.c (struct hex_test): New
59039         structure.
59040         (hex_tests): New variable.
59041         (test_hex_in_one_mode): New function.
59042         (do_test): Also run tests for hex float output.
59044 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59046         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59047         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59048         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59049         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59050         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59051         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59052         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59055 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59057         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59058         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59059         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59060         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59062 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59064         [BZ #14579]
59065         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59066         mode only.
59067         * elf/tst-rtld-load-self.sh: New test.
59068         * elf/Makefile: Run it.
59070 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59072         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59073         (tst-writev-ENV): Remove.
59074         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59076 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59078         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59080 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59082         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59083         unconditional.
59084         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59085         Likewise.
59086         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59087         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59088         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59089         Likewise.
59091 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59093         [BZ #14587]
59094         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59095         * config.make.in (have-cpp-asm-debuginfo): Removed.
59096         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59097         * configure: Regenerated.
59099 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59101         [BZ #5044]
59102         * stdio-common/printf_fp.c: Include <stdbool.h> and
59103         <rounding-mode.h>.
59104         (___printf_fp): Determine rounding using get_rounding_mode and
59105         round_away.
59106         * stdio-common/tst-printf-round.c: New file.
59107         * stdio-common/Makefile (tests): Add tst-printf-round.
59108         (link-libm): New variable.
59109         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59111 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59113         [BZ #14576]
59114         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59115         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59116         Likewise.
59117         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59118         Likewise.
59120 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59122         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59123         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59124         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59125         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59127 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59129         [BZ #14518]
59130         * include/rounding-mode.h: New file.
59131         * sysdeps/generic/get-rounding-mode.h: Likewise.
59132         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59133         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59134         (MAX_VALUE): New macro.
59135         (MIN_VALUE): Likewise.
59136         (overflow_value): New function.
59137         (underflow_value): Likewise.
59138         (round_and_return): Use overflow_value and underflow_value to
59139         determine return values in overflow and underflow cases.  Use
59140         round_away to determine rounding depending on rounding mode.
59141         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59142         determine return values in overflow and underflow cases.
59143         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59144         (struct test_results): New structure.
59145         (struct test): Use struct test_results to store expected results
59146         for all rounding modes.
59147         (TEST): Include expected results for all rounding modes.
59148         (test_in_one_mode): New function.
59149         (do_test): Use test_in_one_mode to compute and check results.
59150         Check results for all rounding modes.
59151         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59152         $(link-libm).
59154 2012-12-09  Allan McRae  <allan@archlinux.org>
59156         * sysdeps/i386/fpu/libm-test-ulps: Update
59158 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59160         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59161         (_G_int32_t): Likewise.
59162         (_G_uint16_t): Likewise.
59163         (_G_uint32_t): Likewise.
59164         (_G_HAVE_BOOL): Likewise.
59165         (_G_HAVE_ATEXIT): Likewise.
59166         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59167         (_G_HAVE_IO_FILE_OPEN): Likewise.
59168         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59169         (_G_int32_t): Likewise.
59170         (_G_uint16_t): Likewise.
59171         (_G_uint32_t): Likewise.
59172         (_G_HAVE_BOOL): Likewise.
59173         (_G_HAVE_ATEXIT): Likewise.
59174         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59175         (_G_HAVE_IO_FILE_OPEN): Likewise.
59176         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59177         (_G_int32_t): Likewise.
59178         (_G_uint16_t): Likewise.
59179         (_G_uint32_t): Likewise.
59180         (_G_HAVE_BOOL): Likewise.
59181         (_G_HAVE_ATEXIT): Likewise.
59182         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59183         (_G_HAVE_IO_FILE_OPEN): Likewise.
59185 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59187         * csu/libc-tls.c: Update copyright years.
59189 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59191         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59192         [!_G_USING_THUNKS]: Remove conditional code.
59193         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59194         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59196         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59197         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59198         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59199         (_G_VTABLE_LABEL_PREFIX): Likewise.
59200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59201         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59202         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59203         (_G_VTABLE_LABEL_PREFIX): Likewise.
59204         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59205         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59206         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59207         (_G_VTABLE_LABEL_PREFIX): Likewise.
59208         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59210 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59212         * libio/Makefile: Include ../Makeconfig before tests.
59213         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59214         only if $(build-shared) is yes.
59216         * iconv/gconv_db.c: Update copyright years.
59218 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59220         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59221         unwind info if defined PIC. Fix special cases description.
59222         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59224         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59225         DP_HI_MASK entry.
59226         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59228 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59230         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59232         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59233         is NULL.
59235         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59236         (LDLIBS-tst-chk4): This.
59237         (LDFLAGS-tst-chk5): Renamed to ...
59238         (LDLIBS-tst-chk5): This.
59239         (LDFLAGS-tst-chk6): Renamed to ...
59240         (LDLIBS-tst-chk6): This.
59241         (LDFLAGS-tst-lfschk4): Renamed to ...
59242         (LDLIBS-tst-lfschk4): This.
59243         (LDFLAGS-tst-lfschk5): Renamed to ...
59244         (LDLIBS-tst-lfschk5): This.
59245         (LDFLAGS-tst-lfschk6): Renamed to ...
59246         (LDLIBS-tst-lfschk6): This.
59248         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59249         on $(common-objpfx)soversions.mk.
59251 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59253         [BZ #10014]
59254         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59255         example host name.
59257 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59259         * malloc/arena.c (arena_get_retry): New function that gets
59260         another arena for the caller to try its request on.
59261         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59262         current arena cannot fulfill the request.
59263         (__libc_memalign): Likewise.
59264         (__libc_memalign): Likewise.
59265         (__libc_pvalloc): Likewise.
59266         (__libc_calloc): Likewise.
59268 2012-09-05  John Tobey  <john.tobey@gmail.com>
59270         [BZ #13542]
59271         * manual/arith.texi (Operations on Complex): Fix description
59272         of carg branch cut.
59274 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59276         [BZ #10014]
59277         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59278         host name.
59280         [BZ #10038]
59281         * manual/memory.texi (Memory): Make order of menu items match
59282         order of sections.
59284 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59286         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59287         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59288         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59290 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59292         * csu/libc-tls.c (static_dtv): Renamed to ...
59293         (_dl_static_dtv): This.  Make it global.
59294         (_dl_initial_dtv): Removed.
59295         (__libc_setup_tls): Updated.
59296         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59297         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59298         DL_INITIAL_DTV.
59300 2012-09-06  Petr Machata  <pmachata@redhat.com>
59302         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59303         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59304         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59305         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59307 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59309         [BZ #14545]
59310         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59311         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59312         freeing dtv[-1].
59314 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59316         [BZ #14544]
59317         * Makeconfig (link-static-before-libc): Replace $(+prector)
59318         with $(+prectorT).
59319         (link-static-after-libc): Replace $(+postctor) with
59320         $(+postctorT).
59321         (link-bounded): Replace $(+prector)/$(+postctor) with
59322         $(+prectorT)/$(+postctorT).
59323         (+prectorT): New macro.
59324         (+postctorT): Likewise.
59326 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59328         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59329         (round_str): Handle values above the maximum for IBM long double
59330         as inexact.
59331         * stdlib/tst-strtod-round.c (tests): Regenerated.
59333 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59335         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59336         assembler flag.
59337         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59338         zarch_nohighgprs around the zarch optimized routines.
59339         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59340         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59342         for zarch.
59344 2012-09-05  David S. Miller  <davem@davemloft.net>
59346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59348         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59349         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59350         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59351         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59352         entries.
59354 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59356         * malloc/arena.c: Fold copyright years.
59357         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59359 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59361         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59363 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59365         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59367 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59369         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59370         change internal state upon failure.
59372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59374         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59375         * malloc/memusage.c (mmap): Likewise.
59376         (mmap64, mremap): Likewise.  Adjust name in comment.
59378 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59380         * libio/fileops.c: Fix typos in comments.
59381         * libio/oldfileops.c: Likewise.
59382         * libio/wfileops.c: Likewise.
59384 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59386         [BZ #1349]
59387         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59388         (tst-malloc-usable-ENV): Set environment for test case.
59389         * malloc/hooks.c (malloc_check_get_size): New function to get
59390         requested size.
59391         * malloc/malloc.c (musable): Use malloc_check_get_size.
59392         * malloc/tst-malloc-usable.c: New test case.
59394 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59396         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59398 2012-09-05  Allan McRae  <allan@archlinux.org>
59400         [BZ #13966]
59401         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59402         determine header location.
59403         * configure: Regenerated.
59405 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59407         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59408         float format.
59409         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59410         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59411         format.
59412         (test): Regenerate.
59414 2012-09-04  David S. Miller  <davem@davemloft.net>
59416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59420 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59422         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59423         failures.
59425         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59427 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59429         [BZ #9914]
59430         * libio/iogetdelim.c: Include <limits.h>.
59431         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59432         + len + 1 would overflow.
59434 2012-09-03  Andreas Jaeger  <aj@suse.de>
59436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59437         * sysdeps/i386/fpu/libm-test-ulps: Update.
59439 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59441         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59442         Add s_sinf-sse2, s_conf-sse2.
59444         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59445         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59446         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59447         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59449         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59450         for using routine as __sinf_ia32.
59451         Use macro for function declaration and weak_alias.
59452         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59453         for using routine as __cosf_ia32.
59454         Use macro for function declaration and weak_alias.
59456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59457         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59459         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59460         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59463         * math/libm-test.inc (cos_test): Add more test cases.
59464         (sin_test): Likewise.
59465         (sincos_test): Likewise.
59467 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59470         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59471         hidden.
59472         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59474 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59476         [BZ #14538]
59477         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59478         first element of the GOT.
59479         (elf_machine_load_address): Return the difference between
59480         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59482 2012-09-01  Allan McRae  <allan@archlinux.org>
59484         [BZ #13412]
59485         * configure.in (AWK): Require gawk version 3.0 or later.
59486         * configure: Regenerated.
59488 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59490         * sysdeps/unix/sysv/linux/kernel-features.h
59491         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59493         [__NR_clock_getres]: Make code unconditional.
59494         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59495         (clock_getcpuclockid): Remove code left unreachable by removal of
59496         conditionals.
59497         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59498         code unconditional.
59499         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59500         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59501         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59502         Make code unconditional.
59503         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59504         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59505         * sysdeps/unix/sysv/linux/clock_settime.c
59506         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59507         conditional code.
59508         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59509         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59511 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59513         [BZ #14476]
59514         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59515         scripts/test-installation.pl.
59517         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59518         and $ld_so_version if it is set.
59520 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59522         [BZ #14516]
59523         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59524         failure if reading from procfs failed.
59525         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59527 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59529         * sysdeps/unix/sysv/linux/kernel-features.h
59530         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59531         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59532         Remove conditional code.
59533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59534         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59535         Remove conditional code.
59536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59537         * sysdeps/unix/sysv/linux/i386/fxstat.c
59538         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59540         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59541         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59543         * sysdeps/unix/sysv/linux/i386/lxstat.c
59544         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59545         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59546         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59547         Remove conditional code.
59548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59549         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59550         Remove conditional code.
59551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59552         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59553         <kernel-features.h>.
59554         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59555         Remove.
59556         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59557         Remove conditional code.
59558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59559         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59560         Remove conditional.
59562 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59564         [BZ #5400]
59565         * NEWS: Add fixed bug number.
59567 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59569         [BZ #14519]
59570         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59571         underflowing exponent in case of negative sign.
59572         * stdlib/tst-strtod-round-data: Add more tests.
59573         * stdlib/tst-strtod-round.c (tests): Regenerated.
59575         [BZ #3479]
59576         * stdlib/strtod_l.c (NDIG): Remove.
59577         (HEXNDIG): Likewise.
59578         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59579         smallest representable value.
59580         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59581         lie within an exact representation of 1/2 ulp of the result.
59582         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59583         unconditionally.
59584         (TENS_P9_IDX): Define unconditionally.
59585         (TENS_P9_SIZE): Likewise.
59586         (TENS_P10_IDX): Likewise.
59587         (TENS_P10_SIZE): Likewise.
59588         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59589         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59590         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59591         entries for 10^2^13 and 10^2^14.
59592         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59593         (TENS_P13_IDX): Define.
59594         (TENS_P13_SIZE): Likewise.
59595         (TENS_P14_IDX): Likewise.
59596         (TENS_P14_SIZE): Likewise.
59597         (_fpioconst_pow10): Change array size to
59598         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59599         unconditional.
59600         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59601         1024]: Add entries for 10^2^13 and 10^2^14.
59602         [LAST_POW10 > _LAST_POW10]: Remove #error.
59603         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59604         (_fpioconst_pow10): Change array size to
59605         FPIOCONST_POW10_ARRAY_SIZE.
59606         * stdlib/gen-fpioconst.c: New file.
59607         * stdlib/gen-tst-strtod-round.c: Likewise.
59608         * stdlib/tst-strtod-round-data: Likewise.
59609         * stdlib/tst-strtod-round.c: Likewise.
59610         * stdlib/Makefile (tests): Add tst-strtod-round.
59612         [BZ #14459]
59613         * stdlib/strtod_l.c: Include <stdint.h>.
59614         (NDEBUG): Do not define.
59615         (round_and_return): Change EXPONENT parameter to type intmax_t.
59616         Rearrange calculations to avoid internal overflow possibilities.
59617         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59618         Rearrange calculations to avoid internal overflow possibilities.
59619         Assert that number fits inside MPNSIZE limbs.
59620         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59621         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59622         calculations and add assertions to avoid internal overflow
59623         possibilities.  Add casts to avoid signed/unsigned operations.
59624         * stdlib/tst-strtod-overflow.c: New file.
59625         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59627 2012-08-25  Marek Polacek  <polacek@redhat.com>
59629         * time/time.h: Fix some typos in comments.
59631 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59633         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59634         * posix/tst-rfc3484-2.c: Likewise.
59635         * posix/tst-rfc3484-3.c: Likewise.
59637 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59639         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59640         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59642 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59644         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59645         #include of fxstatat64.c.
59647 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59649         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59650         * shadow/getspent_r.c: Likewise.
59651         * shadow/getspnam.c: Likewise.
59652         * shadow/getspnam_r.c: Likewise.
59653         * gshadow/getsgent.c: Likewise.
59654         * gshadow/getsgent_r.c: Likewise.
59655         * gshadow/getsgnam.c: Likewise.
59656         * gshadow/getsgnam_r.c: Likewise.
59657         * inet/getnetbyad.c: Likewise.
59658         * inet/getnetbyad_r.c: Likewise.
59659         * inet/getnetbynm.c: Likewise.
59660         * inet/getnetbynm_r.c: Likewise.
59661         * inet/getnetent.c: Likewise.
59662         * inet/getnetent_r.c: Likewise.
59663         * inet/getproto.c: Likewise.
59664         * inet/getproto_r.c: Likewise.
59665         * inet/getprtent.c: Likewise.
59666         * inet/getprtent_r.c: Likewise.
59667         * inet/getprtname.c: Likewise.
59668         * inet/getprtname_r.c: Likewise.
59669         * inet/getrpcbyname.c: Likewise.
59670         * inet/getrpcbyname_r.c: Likewise.
59671         * inet/getrpcbynumber.c: Likewise.
59672         * inet/getrpcbynumber_r.c: Likewise.
59673         * inet/getrpcent.c: Likewise.
59674         * inet/getrpcent_r.c: Likewise.
59675         * inet/getaliasent.c: Likewise.
59676         * inet/getaliasent_r.c: Likewise.
59677         * inet/getaliasname.c: Likewise.
59678         * inet/getaliasname_r.c: Likewise.
59679         * nscd/getgrgid_r.c: Likewise.
59680         * nscd/getgrnam_r.c: Likewise.
59681         * nscd/gethstbyad_r.c: Likewise.
59682         * nscd/gethstbynm3_r.c: Likewise.
59683         * nscd/getpwnam_r.c: Likewise.
59684         * nscd/getpwuid_r.c: Likewise.
59685         * nscd/getsrvbynm_r.c: Likewise.
59686         * nscd/getsrvbypt_r.c: Likewise.
59687         * nscd/gai.c: Likewise.
59689         * configure.in (build_nscd): New substituted variable, set
59690         by --disable-build-nscd and defaults to $use_nscd.
59691         * configure: Regenerated.
59692         * config.make.in (build-nscd): New substituted variable.
59693         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59694         Change conditional to require [$(build-nscd) = yes] as well.
59695         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59697         [BZ# 13696]
59698         * configure.in (use_nscd): New substituted variable, set by
59699         --disable-nscd.  If enabled, define USE_NSCD.
59700         * configure: Regenerated.
59701         * config.h.in: Add USE_NSCD.
59702         * config.make.in (use-nscd): New substituted variable.
59703         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59704         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59705         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59706         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59707         (CFLAGS-getgrnam_r.c): Likewise.
59708         (CFLAGS-initgroups.c): Likewise.
59709         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59710         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59711         Variables removed.
59712         * inet/getnetgrent_r.c
59713         (nscd_setnetgrent): New function, broken out of ...
59714         (setnetgrent): ... here.  Call it.
59715         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59716         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59717         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59718         * nscd/Makefile (routines, aux): Move definitions after include of
59719         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59720         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59721         Conditionalize on [USE_NSCD].
59722         (is_nscd, nscd_init_cb): Likewise.
59723         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59724         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59725         * nss/nss_db/db-init.c: Likewise.
59726         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59727         [USE_NSCD].
59728         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59729         (make_request): Use it.
59730         (cache_valid_p): New function.
59731         (__check_pf): Use it.
59732         * NEWS: Add item for --disable-nscd.
59734 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59736         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59737         to support sed >= 4.2.1-20-ga9bf076.
59738         * configure: Regenerated.
59740 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59742         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59743         Conditionalize whole body on [IREL].
59745 2012-08-22  Jeff Law <law@redhat.com>
59747         [BZ #14505]
59748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59749         if the family is PF_UNSPEC.
59751 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59753         * Makerules (lib-version): Rename from V.
59754         (install-lib-nosubdir): Change V to lib-version.
59756 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59758         [BZ #14252]
59759         * powerpc32/power6/wcschr.c: New file.
59760         * powerpc32/power6/wcscpy.c: New file.
59761         * powerpc32/power6/wcsrchr.c: New file.
59762         * powerpc64/power6/wcschr.c: New file.
59763         * powerpc64/power6/wcscpy.c: New file.
59764         * powerpc64/power6/wcsrchr.c: New file.
59766 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59768         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59769         (two_way_short_needle): Use it.
59770         * string/strstr.c (AVAILABLE1_USES_J): Define.
59771         * string/strcasestr.c: Likewise.
59773         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59774         array references.
59775         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59777         [BZ #11607]
59778         * NEWS: Add an entry.
59779         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59780         define their defaults.
59781         (two_way_short_needle): Detect end-of-string on-the-fly.
59782         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59783         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59784         * string/bug-strcasestr1.c: New test.
59785         * string/Makefile: Run it.
59787 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59789         [BZ #11607]
59790         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59791         the first character.
59793 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59795         * csu/elf-init.c (__libc_csu_irel): Function removed.
59796         * csu/libc-start.c (apply_irel): New function.
59797         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59799 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59801         * sysdeps/unix/sysv/linux/kernel-features.h
59802         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59803         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59804         <kernel-features.h>.
59805         [__NR_fadvise64_64]: Make code unconditional.
59806         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59807         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59808         !__NR_fadvise64_64)]: Likewise.
59809         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59810         !__NR_fadvise64_64))]: Likewise.
59811         [__NR_fadvise64]: Make code unconditional.
59812         [!__NR_fadvise64]: Remove conditional code.
59813         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59814         <kernel-features.h>.
59815         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59816         unconditional.
59817         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59818         conditional code.
59819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59820         not include <kernel-features.h>.
59821         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59822         unconditional.
59823         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59824         conditional code.
59825         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59826         include <kernel-features.h>.
59827         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59828         unconditional.
59829         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59830         conditional code.
59832 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59835         slight instruction rearrangements per scrollpipe analysis.
59836         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59838 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59840         * manual/syslog.texi (syslog; vsyslog, closelog):
59841         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59842         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59844         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59845         DSOCAPS to match condition on defining it.
59847 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59849         * sysdeps/unix/sysv/linux/kernel-features.h
59850         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59852         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59853         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59855         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59856         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59858         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59859         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59861         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59862         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59864         * sysdeps/unix/sysv/linux/kernel-features.h
59865         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59866         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59867         unconditional.
59868         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59869         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59870         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59871         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59872         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59873         Make code unconditional.
59874         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59875         (__mmap64) [!__NR_mmap2]: Likewise.
59876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59877         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59878         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59879         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59880         [__NR_mmap2]: Make code unconditional.
59881         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59882         (__mmap64) [!__NR_mmap2]: Likewise.
59884 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59886         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59888 2012-08-18  Andreas Jaeger  <aj@suse.de>
59890         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59892 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59894         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59895         * include/unistd.h (__have_sock_cloexec): Likewise.
59896         (__have_pipe2): Likewise.
59897         (__have_dup3): Likewise.
59899 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59901         [BZ #9685]
59902         * include/unistd.h (__have_pipe2): Change define into an extern int.
59903         (__have_dup3): Likewise.
59904         * socket/have_sock_cloexec.c: Include fcntl.h.
59905         (__have_pipe2): New variable.
59906         (__have_dup3): Likewise.
59908 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59910         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59912 2012-08-17  Marek Polacek  <polacek@redhat.com>
59914         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59915         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59917 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59919         * configure.in: Add AC_SUBST for sysheaders.
59920         * configure: Regenerated.
59921         * config.make.in (sysheaders): New substituted variable.
59923         * sysdeps/unix/mkfifo.c: Moved ...
59924         * sysdeps/posix/mkfifo.c: ... here.
59925         * sysdeps/unix/mkfifoat.c: Moved ...
59926         * sysdeps/posix/mkfifoat.c: ... here.
59928         * sysdeps/unix/utime.c: Moved ...
59929         * sysdeps/posix/utime.c: ... here.
59931         * sysdeps/unix/time.c: Moved ...
59932         * sysdeps/posix/time.c: ... here.
59933         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59934         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59936         * sysdeps/unix/nice.c: Moved ...
59937         * sysdeps/posix/nice.c: ... here.
59939         * sysdeps/unix/alarm.c: Moved ...
59940         * sysdeps/posix/alarm.c: ... here.
59942         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59944 2012-08-17  Jeff Law <law@redhat.com>
59946         * intl/Makefile (codeset_mo): New variable.
59947         ($(codeset_mo)): New target.
59948         (tst-codeset.out): Depend on that.  Remove explicit rule.
59949         (tst-gettext3.out, tst-gettext5.out): Likewise.
59950         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59951         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59952         * intl/tst-codeset.sh: Remove.
59953         * intl/tst-gettext3.sh: Likewise.
59954         * intl/tst-gettext5.sh: Likewise.
59956 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59958         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59959         * sysdeps/unix/syscalls.list: ... here.
59961         * sysdeps/posix/getaddrinfo.c
59962         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59963         (gaiconf_init, gaiconf_reload): Use them.
59964         [!_STATBUF_ST_NSEC]
59965         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59966         Define using time_t rather than struct timespec.
59968         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59969         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59970         Macros removed.
59971         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59972         [!NO_THREADS].
59973         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59974         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59975         Likewise.
59977         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59978         __libc_cleanup_push argument.
59980         * bits/param.h: New file.
59981         * misc/sys/param.h: New file.
59982         * include/sys/param.h: New file.
59983         * misc/Makefile (headers): Add bits/param.h.
59984         * sysdeps/generic/sys/param.h: File removed.
59985         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59986         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59987         * sysdeps/mach/hurd/bits/param.h: New file.
59988         * sysdeps/mach/hurd/sys/param.h: File removed.
59990         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59991         last change.
59993         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59994         [_IO_MTSAFE_IO].
59995         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59996         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59997         New macros.
59999         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60000         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60001         rather than -D_IO_MTSAFE_IO conditionally.
60002         * stdio-common/Makefile (CPPFLAGS): Likewise.
60003         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60004         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60005         Use $(libio-mtsafe).
60006         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60007         of -D_IO_MTSAFE_IO.
60008         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60009         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60010         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60011         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60012         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60013         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60014         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60015         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60016         (CFLAGS-fread_u_chk.c): Likewise.
60017         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60018         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60019         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60020         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60021         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60022         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60023         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60024         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60025         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60027         * libio/Makefile: Test [$(libc-reentrant) = yes]
60028         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60030         * Makeconfig
60031         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60032         * sysdeps/pthread/configure: File removed.
60033         * sysdeps/pthread/Makeconfig: New file.
60034         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60035         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60037 2012-08-16  Gary Benson  <gbenson@redhat.com>
60039         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60040         unmapping the first object in a namespace.
60042 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60044         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60045         (__internal_setnetgrent): ... this.  Add internal_function to
60046         definition.  Add libc_hidden_def.
60047         (setnetgrent): Update caller.
60048         (internal_endnetgrent): Renamed to ...
60049         (__internal_endnetgrent): ... this.  Add internal_function to
60050         definition.  Add libc_hidden_def.
60051         (endnetgrent): Update caller.
60052         (internal_getnetgrent_r): Renamed to ...
60053         (__internal_getnetgrent_r): ... this.  Add internal_function to
60054         definition.  Add libc_hidden_def.
60055         (__getnetgrent_r): Update caller.
60056         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60058 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60060         * stdlib/longlong.h: Update from GCC.
60062 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60064         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60065         on _QL, which is set by umul_ppmm but never used.
60066         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60067         variables, which are set by GMP macros but never used.
60068         * stdio-common/_itowa.c (_itowa): Likewise.
60069         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60070         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60072 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60074         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60075         struct La_sh_regs is not constant.
60076         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60077         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60078         and struct La_sparc64_regs are not constant.
60080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60082         * sysdeps/unix/sysv/linux/kernel-features.h
60083         (__ASSUME_POSIX_TIMERS): Remove.
60084         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60085         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60086         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60087         Make code unconditional.
60088         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60089         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60090         Make code unconditional.
60091         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60092         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60093         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60094         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60095         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60096         Make code unconditional.
60097         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60098         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60099         (__libc_missing_posix_timers): Remove.
60101 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60103         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60104         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60106         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60108         * elf/dl-sym.c: Include <stdlib.h>.
60110         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60111         constants, which avoids warnings in 32-bit builds.
60113         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60114         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60116         * misc/lseek.c: File moved to ...
60117         * io/lseek.c: ... here.
60119         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60121         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60122         shifting LEN more than 31 bits at once.
60124 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60126         [BZ #14195]
60127         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60128         segmentation fault for a case of two empty input strings.
60129         * string/test-strncasecmp.c (check1): Renamed to...
60130         (bz12205): ...this.
60131         (bz14195): Add new testcase for two empty input strings and N > 0.
60132         (test_main): Call new testcase, adapt for renamed function.
60134 2012-08-15  Andreas Jaeger  <aj@suse.de>
60136         [BZ #14090]
60137         * crypt/md5test2.c: New test, based on test supplied by Serge
60138         Belyshev <belyshev@depni.sinp.msu.ru>.
60139         * crypt/Makefile (xtests): Add md5test-giant..
60140         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60142 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60144         [BZ #14090]
60145         * crypt/md5.c (md5_process_block): Don't assume the buffer
60146         length is less than 2**32.
60147         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60148         length is less than 2**64.
60150 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60152         * string/str-two-way.h: Include <sys/param.h>.
60153         (MAX): Macro removed.
60155         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60156         Move #define and #undef of memmove to just before and after
60157         including <string.h>.
60159         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60160         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60161         and after including <string.h>.  Move declarations of
60162         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60163         to before #include "string/memmove.c".
60165         * include/dirent.h: Declare __getdirentries.
60167         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60168         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60170 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60172         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60173         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60174         * sysdeps/i386/configure: Regenerated.
60175         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60176         STABS_CURRENT_FILE, and STABS_FUN.
60177         (END): Remove call to STABS_FUN_END.
60178         (STABS_CURRENT_FILE1): Delete.
60179         (STABS_CURRENT_FILE): Likewise.
60180         (STABS_FUN): Likewise.
60181         (STABS_FUN_END): Likewise.
60182         (STABS_FUN2): Likewise.
60183         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60184         * sysdeps/x86_64/configure: Regenerated.
60186 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60188         * elf/dl-open.c: Include <atomic.h>.
60189         * elf/dl-lookup.c: Likewise.
60191 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60193         * sysdeps/unix/sysv/linux/kernel-features.h
60194         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60195         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60196         unconditionally.
60197         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60198         unconditionally.
60199         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60200         condition on __ASSUME_CLONE_THREAD_FLAGS.
60202 2012-08-14  Andreas Jaeger  <aj@suse.de>
60204         * sysdeps/i386/fpu/libm-test-ulps: Update.
60206 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60208         * include/atomic.h (atomic_exchange_and_add): Split into ...
60209         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60210         New atomic macros.
60212 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60216 2012-08-13  Jeff Law <law@redhat.com>
60218         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60219         null byte in the output string.
60221 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60223         * sysdeps/unix/sysv/linux/kernel-features.h
60224         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60225         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60226         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60227         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60228         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60229         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60230         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60232 2012-08-09  Jeff Law <law@redhat.com>
60234         [BZ #13939]
60235         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60236         When avoid_arena is set, don't retry in the that arena.  Pick the
60237         next one, whatever it might be.
60238         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60239         (arena_lock): Pass in new parameter to arena_get2.
60240         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60241         arena_get2.
60242         (__libc_malloc): Unify retrying after main arena failure with
60243         __libc_memalign version.
60244         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60246 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60248         [BZ #14166]
60249         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60250         to __redirect_strstr.
60251         (__strstr_sse42): Use typeof __redirect_strstr.
60252         (__strstr_ia32): Likewise.
60253         (__libc_strstr): New prototype.
60254         (strstr): Renamed to ...
60255         (__libc_strstr): This.
60256         (strstr): New strong alias of __libc_strstr.
60257         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60258         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60259         __redirect_time.
60260         Include <time.h>.
60261         (__libc_time): New prototype.
60262         (time_ifunc): Replace time with __libc_time.
60263         (time): New strong alias and hidden definition of __libc_time.
60264         (__GI_time): Remove strong alias.
60265         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60266         Include <stddef.h>.
60267         (memmove): Redefined to __redirect_memmove.
60268         (__memmove_sse2): Use typeof __redirect_memmove.
60269         (__memmove_ssse3): Likewise.
60270         (__memmove_ssse3_back): Likewise.
60271         (__libc_memmove): New prototype.
60272         (memmove): Renamed to ...
60273         (__libc_memmove): This.
60274         (memmove): New strong alias of __libc_memmove.
60276 2012-08-08  Mark Salter  <msalter@redhat.com>
60278         * elf/elf.h
60279         (R_MN10300_TLS_GD): Define.
60280         (R_MN10300_TLS_LD): Likewise.
60281         (R_MN10300_TLS_LDO): Likewise.
60282         (R_MN10300_TLS_GOTIE): Likewise.
60283         (R_MN10300_TLS_IE): Likewise.
60284         (R_MN10300_TLS_LE): Likewise.
60285         (R_MN10300_TLS_DTPMOD): Likewise.
60286         (R_MN10300_TLS_DTPOFF): Likewise.
60287         (R_MN10300_TLS_TPOFF): Likewise.
60288         (R_MN10300_SYM_DIFF): Likewise.
60289         (R_MN10300_ALIGN): Likewise.
60290         (R_MN10300_NUM): Update.
60292 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60295         Remove.
60297 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60299         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60301         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60302         sysdeps/unix -> sysdeps/posix move.
60303         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60305 2012-08-07      Allan McRae     <allan@archlinux.org>
60307         [BZ #14303]
60308         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60309         (SUNOS_CPP): Likewise.
60310         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60311         not found.
60312         (open_input): Call CPP using execvp.
60314 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60316         * sysdeps/unix/sysv/linux/kernel-features.h
60317         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60318         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60319         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60320         (__ASSUME_WAITID_SYSCALL): Likewise.
60321         * sysdeps/unix/sysv/linux/dl-execstack.c
60322         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60323         code unconditional.
60324         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60325         conditional code.
60326         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60327         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60328         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60329         code.
60330         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60331         unconditional.
60332         [__ASSUME_WAITID_SYSCALL]: Likewise.
60333         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60335 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60337         * sysdeps/unix/closedir.c: Renamed to ...
60338         * sysdeps/posix/closedir.c: ... here.
60339         * sysdeps/unix/dirfd.c: Renamed to ...
60340         * sysdeps/posix/dirfd.c: ... here.
60341         * sysdeps/unix/dirstream.h: Renamed to ...
60342         * sysdeps/posix/dirstream.h: ... here.
60343         * sysdeps/unix/fdopendir.c: Renamed to ...
60344         * sysdeps/posix/fdopendir.c: ... here.
60345         * sysdeps/unix/opendir.c: Renamed to ...
60346         * sysdeps/posix/opendir.c: ... here.
60347         * sysdeps/unix/readdir.c: Renamed to ...
60348         * sysdeps/posix/readdir.c: ... here.
60349         * sysdeps/unix/readdir_r.c: Renamed to ...
60350         * sysdeps/posix/readdir_r.c: ... here.
60351         * sysdeps/unix/rewinddir.c: Renamed to ...
60352         * sysdeps/posix/rewinddir.c: ... here.
60353         * sysdeps/unix/seekdir.c: Renamed to ...
60354         * sysdeps/posix/seekdir.c: ... here.
60355         * sysdeps/unix/telldir.c: Renamed to ...
60356         * sysdeps/posix/telldir.c: ... here.
60357         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60358         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60359         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60360         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60362         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60363         * bits/fcntl.h: ... here.
60365         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60366         not 0.
60367         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60368         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60369         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60370         (struct flock): Move l_start, l_len to the beginning.
60371         Use __pid_t for l_pid.
60372         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60373         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60374         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60375         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60376         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60377         [__USE_LARGEFILE64] (struct flock64): New type.
60378         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60380         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60381         * bits/dirent.h: ... here.
60383         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60384         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60386 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60389         Change from 2.6.0 to 2.6.16.
60390         * sysdeps/unix/sysv/linux/configure: Regenerated.
60391         * sysdeps/unix/sysv/linux/kernel-features.h
60392         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60393         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60394         version.
60395         (__ASSUME_UTIMES): Likewise.
60396         (__ASSUME_CLONE_STOPPED): Remove.
60397         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60398         architectures, not kernel version.
60399         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60402         (__ASSUME_WAITID_SYSCALL): Likewise.
60403         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60404         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60405         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60406         refer to older versions.
60408 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60410         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60411         Define alphasort64 as an alias.
60412         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60413         Define versionsort64 as an alias.
60414         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60415         Define scandir64 as an alias.
60416         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60417         Define scandirat64 as an alias.
60418         * dirent/alphasort64.c (alphasort64):
60419         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60420         * dirent/versionsort64.c: Likewise.
60421         * dirent/scandir64.c: Likewise.
60422         * dirent/scandirat64.c: Likewise.
60423         * sysdeps/wordsize-64/alphasort.c: File removed.
60424         * sysdeps/wordsize-64/alphasort64.c: File removed.
60425         * sysdeps/wordsize-64/scandir.c: File removed.
60426         * sysdeps/wordsize-64/scandir64.c: File removed.
60427         * sysdeps/wordsize-64/scandirat.c: File removed.
60428         * sysdeps/wordsize-64/scandirat64.c: File removed.
60429         * sysdeps/wordsize-64/versionsort.c: File removed.
60430         * sysdeps/wordsize-64/versionsort64.c: File removed.
60431         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60437         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60438         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60440         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60442         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60444         [defined __arch64__ || defined __sparcv9]
60445         (__INO_T_MATCHES_INO64_T): New macro.
60446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60447         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60448         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60449         * sysdeps/unix/sysv/linux/bits/dirent.h
60450         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60451         (_DIRENT_MATCHES_DIRENT64): New macro.
60453         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60454         Define lockf64 as an alias.
60455         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60456         Define fseeko64 as an alias.
60457         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60458         Define ftello64 as an alias.
60459         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60460         Define _IO_fgetpos64 and fgetpos64 as aliases.
60461         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60462         Define _IO_fsetpos64 and fsetpos64 as aliases.
60463         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60464         Conditionalize body on this.
60465         * libio/fseeko64.c: Likewise.
60466         * libio/ftello64.c: Likewise.
60467         * libio/iofgetpos64.c: Likewise.
60468         * libio/iofsetpos64.c: Likewise.
60469         * sysdeps/wordsize-64/lockf.c: File removed.
60470         * sysdeps/wordsize-64/lockf64.c: File removed.
60471         * sysdeps/wordsize-64/fseeko.c: File removed.
60472         * sysdeps/wordsize-64/fseeko64.c: File removed.
60473         * sysdeps/wordsize-64/ftello.c: File removed.
60474         * sysdeps/wordsize-64/ftello64.c: File removed.
60475         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60476         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60477         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60478         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60479         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60480         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60481         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60482         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60483         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60484         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60485         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60486         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60490         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60492         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60494         [defined __arch64__ || defined __sparcv9]
60495         (__OFF_T_MATCHES_OFF64_T): New macro.
60496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60497         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60499         (__OFF_T_MATCHES_OFF64_T): New macro.
60501 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60503         * stdlib/secure-getenv.c (__secure_getenv): Replace
60504         GLIBC_2_16 with GLIBC_2_17.
60506 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60508         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60509         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60511 2012-08-03  David S. Miller  <davem@davemloft.net>
60513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60515 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60518         Remove.
60519         (__ASSUME_CORRECT_SI_PID): Likewise.
60520         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60521         (__ASSUME_TMPFS_NAME): Likewise.
60522         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60523         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60524         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60525         (HAVE_AUX_SECURE): Make definition unconditional.
60526         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60527         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60529 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60531         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60532         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60533         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60534         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60535         __eloop_threshold instead of SYMLOOP_MAX.
60537         * sysdeps/generic/eloop-threshold.h: New file.
60538         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60539         of MAXSYMLINKS.
60540         * elf/chroot_canon.c (chroot_canon): Likewise.
60542 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60544         [BZ #13717]
60545         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60546         Change to 2.6.0 everywhere.
60547         * sysdeps/unix/sysv/linux/configure: Regenerated.
60548         * sysdeps/unix/sysv/linux/kernel-features.h
60549         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60550         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60551         kernel versions.
60552         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60553         (__ASSUME_FUTEX_REQUEUE): Remove.
60554         (__ASSUME_STATFS64): Define unconditionally.
60555         (__ASSUME_AT_SECURE): Likewise.
60556         (__ASSUME_CORRECT_SI_PID): Likewise.
60557         (__ASSUME_TGKILL): Define without depending on kernel version for
60558         i386.
60559         (__ASSUME_UTIMES): Likewise.
60560         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60561         kernel version.
60562         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60563         (__ASSUME_TMPFS_NAME): Likewise.
60564         * README: Update reference to Linux kernel versions.
60566 2012-08-02  Marek Polacek  <polacek@redhat.com>
60568         [BZ# 14150]
60569         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60570         libc_cv_asm_type_prefix with %.
60571         * configure: Regenerated.
60572         * include/libc-symbols.h: Remove comment about
60573         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60574         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60575         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60576         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60577         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60578         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60579         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60580         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60581         * elf/tst-unique2mod1.c: Likewise.
60582         * elf/tst-unique1mod2.c: Likewise.
60583         * elf/tst-unique1mod1.c: Likewise.
60584         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60585         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60586         Replace ASM_TYPE_DIRECTIVE with .type.
60587         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60588         * sysdeps/i386/sysdep.h: Likewise.
60589         * sysdeps/x86_64/sysdep.h: Likewise.
60590         * sysdeps/sh/sysdep.h: Likewise.
60591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60592         Do not define ASM_TYPE_DIRECTIVE.
60593         * sysdeps/powerpc/sysdep.h: Likewise.
60594         * sysdeps/powerpc/powerpc32/sysdep.h:
60595         Replace ASM_TYPE_DIRECTIVE with .type.
60596         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60597         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60598         * sysdeps/i386/fpu/e_powf.S: Likewise.
60599         * sysdeps/i386/fpu/e_expl.S: Likewise.
60600         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60601         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60602         * sysdeps/i386/fpu/e_pow.S: Likewise.
60603         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60604         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60605         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60606         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60607         * sysdeps/i386/fpu/e_log2.S: Likewise.
60608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60609         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60610         * sysdeps/i386/fpu/e_powl.S: Likewise.
60611         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60612         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60613         * sysdeps/i386/fpu/e_logl.S: Likewise.
60614         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60615         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60616         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60617         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60618         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60619         * sysdeps/i386/fpu/e_log.S: Likewise.
60620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60621         * sysdeps/i386/fpu/e_logf.S: Likewise.
60622         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60623         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60624         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60625         * sysdeps/i386/fpu/e_log10.S: Likewise.
60626         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60627         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60628         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60629         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60630         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60631         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60632         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60633         * sysdeps/i386/i686/strtok.S: Likewise.
60634         * sysdeps/i386/i386-mcount.S: Likewise.
60635         * sysdeps/i386/strtok.S: Likewise.
60636         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60637         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60639         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60640         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60641         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60642         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60643         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60644         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60645         * sysdeps/x86_64/_mcount.S: Likewise.
60646         * sysdeps/x86_64/strtok.S: Likewise.
60647         * sysdeps/sh/_mcount.S: Likewise.
60649 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60651         * libio/iofopen.c: Include <fcntl.h>.
60652         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60653         (_IO_fopen64, fopen64): Define as aliases.
60654         * libio/iofopen64.c: Include <fcntl.h>.
60655         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60656         Conditionalize body on this.
60657         * sysdeps/wordsize-64/iofopen.c: File removed.
60658         * sysdeps/wordsize-64/iofopen64.c: File removed.
60660 2012-08-01  Marek Polacek  <polacek@redhat.com>
60662         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60663         Use dlfcn directly instead of a variable.
60664         (binfmt-subdir): Do not define.
60665         (dlfcn): Likewise.
60667 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60670         Remove all definitions.
60671         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60672         <kernel-features.h>.
60673         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60674         (miss_F_GETOWN_EX): Remove all definitions.
60675         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60676         macro definition.
60677         [!__ASSUME_FCNTL64]: Remove conditional code.
60678         [__ASSUME_FCNTL64]: Make code unconditional.
60679         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60680         <kernel-features.h>.
60681         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60682         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60683         (lockf64) [__NR_fcntl64]: Make code unconditional.
60684         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60686         * sysdeps/unix/sysv/linux/kernel-features.h
60687         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60688         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60689         Make code unconditional.
60690         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60691         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60693         [__NR_vfork]: Make code unconditional.
60694         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60695         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60697         [__NR_vfork]: Make code unconditional.
60698         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60699         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60701 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60703         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60704         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60706         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60707         Define mkstemp64 as an alias.
60708         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60709         Define mkstemps64 as an alias.
60710         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60711         Define mkostemp64 as an alias.
60712         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60713         Define mkostemps64 as an alias.
60714         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60715         Conditionalize body on this.
60716         * misc/mkostemp64.c: Likewise.
60717         * misc/mkostemps64.c: Likewise.
60718         * misc/mkstemps64.c: Likewise.
60719         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60720         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60721         * sysdeps/wordsize-64/mkostemp.c: File removed.
60722         * sysdeps/wordsize-64/mkstemp.c: File removed.
60723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60724         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60726         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60728         [BZ #14138]
60729         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60730         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60731         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60732         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60734         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60735         compat_symbol macros from <shlib-compat.h> rather than the underlying
60736         default_symbol_version and symbol_version macros, so that DEFAULT
60737         lines in shlib-versions are respected.
60738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60740 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60742         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60743         Declare with warn_unused_result.
60744         (setgid, setregid, setegid, setresgid): Likewise.
60745         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60746         Likewise.
60747         * WUR-REPORT: Remove set*id functions.
60749 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60751         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60753 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60755         [BZ #10191]
60756         * include/sys/socket.h (__libc_accept, __libc_accept4):
60757         Add attribute_hidden.
60758         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60760         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60761         use of PTR_MANGLE.
60762         * inet/getnetgrent_r.c (setup): Likewise.
60764         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60766 2012-07-31  David S. Miller  <davem@davemloft.net>
60768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60770 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60772         [BZ #13629]
60773         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60774         value between 1.0 and 2.0 and smaller part has absolute value less
60775         than 1.0.
60776         * math/s_clog10.c (__clog10): Likewise.
60777         * math/s_clog10f.c (__clog10f): Likewise.
60778         * math/s_clog10l.c (__clog10l): Likewise.
60779         * math/s_clogf.c (__clogf): Likewise.
60780         * math/s_clogl.c (__clogl): Likewise.
60781         * math/libm-test.inc (clog_test): Add more tests.
60782         (clog10_test): Likewise.
60783         * sysdeps/i386/fpu/libm-test-ulps: Update.
60784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60786 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60788         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60789         Exit with zero in case no suitable GID is found, and write a
60790         message to standard error.
60792 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60794         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60795         rather than to 1.
60796         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60797         (MAXPATHLEN): Removed.
60798         (NOGROUP, NODEV): New macros.
60799         (setbit, clrbit, isset, isclr): New macros.
60800         (howmany, roundup, powerof2): New macros.
60801         (DEV_BSIZE): New macro.
60803         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60804         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60806         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60807         definition on [!__NO_LONG_DOUBLE_MATH].
60809         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60810         PTR_MANGLE and PTR_DEMANGLE.
60812         * socket/accept4.c (accept4): Rename to __libc_accept4.
60813         Define accept4 as a weak alias.
60815         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60816         on [_DIRENT_HAVE_D_TYPE].
60817         * io/ftw.c (ftw_dir): Likewise.
60819         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60821         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60823         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60824         Use the BSD numbers rather than the arbitrary ones we had.
60825         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60826         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60827         (SIGXCPU, SIGXFSZ): New macros.
60828         (_NSIG): Now 32.
60830         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60831         initializer on [_LIBC_REENTRANT].
60833         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60834         definitions inside [_POSIX_MAPPED_FILES].
60836         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60838         * dirent/opendir.c: Include <fcntl.h>.
60840         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60841         (__libc_getspecific): Likewise.
60842         (__libc_key_create): Likewise.
60844         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60845         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60846         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60847         (tmpfile64): Define as alias.
60848         * sysdeps/wordsize-64/tmpfile.c: File removed.
60849         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60850         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60851         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60853         * stdio-common/vfscanf.c: Include <stdbool.h>.
60854         * nss/makedb.c: Likewise.
60855         * stdio-common/_i18n_number.h: Likewise.
60856         * argp/argp-help.c: Likewise.
60857         * posix/wordexp.c: Likewise.
60858         * sysdeps/posix/spawni.c: Likewise.
60859         * nss/nss_files/files-initgroups.c: Likewise.
60860         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60861         * nss/nss_files/files-initgroups.c: Likewise.
60862         * nss/nss_db/db-netgrp.c: Likewise.
60863         * nss/nss_db/db-initgroups.c: Likewise.
60864         * io/fchmodat.c: Include <sys/stat.h>.
60866         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60867         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60869         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60870         [HAVE_MMAP].
60872         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60873         Add multiple inclusion protection.
60875 2012-07-27  David S. Miller  <davem@davemloft.net>
60877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60879 2012-07-27  Gary Benson  <gbenson@redhat.com>
60881         [BZ #14298]
60882         * elf/rtld.c: Include <stap-probe.h>.
60883         (dl_main): Added static probes "init_start" and "init_complete".
60884         * elf/dl-load.c: Include <stap-probe.h>.
60885         (lose): Take new parameter "nsid".
60886         Added static probe "map_failed".
60887         (_dl_map_object_from_fd): Pass namespace id to lose.
60888         Added static probe "map_start".
60889         (open_verify): Pass namespace id to lose.
60890         * elf/dl-open.c: Include <stap-probe.h>.
60891         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60892         and "reloc_complete".
60893         * elf/dl-close.c: Include <stap-probe.h>.
60894         (_dl_close_worker): Added static probes "unmap_start" and
60895         "unmap_complete".
60896         * elf/rtld-debugger-interface.txt: New file documenting the above.
60898 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60900         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60901         rather than a string variable.
60902         * sunrpc/rpc_main.c (h_output): Likewise.
60903         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60905 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60907         * inet/check_native.c: New file.
60909 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60911         [BZ #13629]
60912         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60913         if larger part has absolute value 1.0.
60914         * math/s_clog10.c (__clog10): Likewise.
60915         * math/s_clog10f.c (__clog10f): Likewise.
60916         * math/s_clog10l.c (__clog10l): Likewise.
60917         * math/s_clogf.c (__clogf): Likewise.
60918         * math/s_clogl.c (__clogl): Likewise.
60919         * math/libm-test.inc (clog_test): Add more tests.
60920         (clog10_test): Likewise.
60921         * sysdeps/i386/fpu/libm-test-ulps: Update.
60922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60924         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60925         (pltexit): Likewise.
60926         (La_regs): Likewise.
60927         (La_retval): Likewise.
60928         (int_retval): Likewise.
60929         Update #error for removed macros to refer only to definitions in
60930         tst-audit.h.
60931         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60932         macro.
60933         (pltexit): Likewise.
60934         (La_regs): Likewise.
60935         (La_retval): Likewise.
60936         (int_retval): Likewise.
60937         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60938         macro.
60939         (pltexit): Likewise.
60940         (La_regs): Likewise.
60941         (La_retval): Likewise.
60942         (int_retval): Likewise.
60943         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60944         macro.
60945         (pltexit): Likewise.
60946         (La_regs): Likewise.
60947         (La_retval): Likewise.
60948         (int_retval): Likewise.
60949         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60950         macro.
60951         (pltexit): Likewise.
60952         (La_regs): Likewise.
60953         (La_retval): Likewise.
60954         (int_retval): Likewise.
60955         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60956         macro.
60957         (pltexit): Likewise.
60958         (La_regs): Likewise.
60959         (La_retval): Likewise.
60960         (int_retval): Likewise.
60961         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60962         macro.
60963         (pltexit): Likewise.
60964         (La_regs): Likewise.
60965         (La_retval): Likewise.
60966         (int_retval): Likewise.
60967         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60968         macro definitions in tst-audit.h.
60969         * sysdeps/i386/tst-audit.h: New file.
60970         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60971         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60972         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60973         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60974         * sysdeps/sh/tst-audit.h: Likewise.
60975         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60976         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60977         * sysdeps/x86_64/tst-audit.h: Likewise.
60979 2012-07-26  Andreas Jaeger  <aj@suse.de>
60981         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60982         ptrace.
60984         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60985         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60986         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60987         PTRACE_O_MASK.
60988         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60989         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60990         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60992         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60993         value.
60995         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60996         _sigsys.
60997         (si_call_addr, si_syscall, si_arch): Define new macro.
60998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60999         _sigsys.
61000         (si_call_addr, si_syscall, si_arch): Define new marcro.
61001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61002         _sigsys.
61003         (si_call_addr, si_syscall, si_arch): Define new macro.
61004         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61005         _sigsys.
61006         (si_call_addr, si_syscall, si_arch): Define new macro.
61008 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61010         [BZ #13717]
61011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61012         Change to 2.4.21 where previously 2.4.1.
61013         * sysdeps/unix/sysv/linux/configure: Regenerated.
61014         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61015         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61016         Linux kernel version.
61017         (__ASSUME_STD_AUXV): Remove.
61018         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61019         kernel version.
61020         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61021         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61022         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61023         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61024         (__ASSUME_NETLINK_SUPPORT): Likewise.
61025         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61026         (__no_netlink_support): Remove conditional definition.
61027         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61028         Remove.
61029         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61030         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61031         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61032         (if_nameindex_ioctl): Remove.
61033         (if_nameindex_netlink): Do not handle __no_netlink_support.
61034         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61035         code.
61036         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61037         Remove conditional code.
61038         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61039         code.
61040         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61041         unconditional.
61042         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61043         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61044         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61045         Remove.
61046         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61047         [!__ASSUME_STD_AUXV]: Remove conditional code.
61048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61049         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61050         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61052         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61053         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61054         code.
61055         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61057         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61058         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61059         conditional code.
61060         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61062         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61063         code.
61064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61065         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61066         conditional code.
61067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61068         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61069         code unconditional.
61070         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61071         conditional code.
61072         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61073         unconditional.
61074         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61075         conditional code.
61076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61077         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61078         unconditional.
61079         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61080         conditional code.
61081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61082         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61083         code unconditional.
61084         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61085         conditional code.
61086         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61087         unconditional.
61088         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61089         conditional code.
61090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61091         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61092         code unconditional.
61093         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61094         conditional code.
61095         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61096         unconditional.
61097         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61098         conditional code.
61100 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61102         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61104         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61105         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61106         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61107         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61109         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61110         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61111         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61112         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61113         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61114         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61115         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61116         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61117         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61118         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61120         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61122         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61123         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61126 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61128         * Versions.def: Add GLIBC_2.17.
61129         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61130         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61131         Introduce __libc_secure_getenv.
61132         * stdlib/Versions (2.17): Add secure_getenv
61133         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61134         * stdlib/secure-getenv.c: Rename __secure_getenv to
61135         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61136         symbol __secure_getenv for GLIBC_2.0.
61137         * stdlib/tst-secure-getenv.c: New.
61138         * stdlib/Makefile (tests): Add testcase.
61139         * manual/startup.texi (Environment Access): Document
61140         secure_getenv.
61141         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61142         __libc_secure_getenv.
61143         * inet/ruserpass.c (ruserpass): Likewise.
61144         * malloc/mtrace.c (mtrace): Likewise.
61145         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61146         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61147         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61148         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61149         HAVE_SECURE_GETENV.
61150         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61151         __secure_getenv to __libc_secure_getenv.
61152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61154         Likewise.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61156         Likewise.
61157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61165 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61167         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61168         (struct La_i86_retval): Likewise.
61169         (struct La_x86_64_regs): Likewise.
61170         (struct La_x86_64_retval): Likewise.
61171         (struct La_x32_regs): Likewise.
61172         (struct La_x32_retval): Likewise.
61173         (struct La_ppc32_regs): Likewise.
61174         (struct La_ppc32_retval): Likewise.
61175         (struct La_ppc64_regs): Likewise.
61176         (struct La_ppc64_retval): Likewise.
61177         (struct La_sh_regs): Likewise.
61178         (struct La_sh_retval): Likewise.
61179         (struct La_s390_32_regs): Likewise.
61180         (struct La_s390_32_retval): Likewise.
61181         (struct La_s390_64_regs): Likewise.
61182         (struct La_s390_64_retval): Likewise.
61183         (struct La_sparc32_regs): Likewise.
61184         (struct La_sparc32_retval): Likewise.
61185         (struct La_sparc64_regs): Likewise.
61186         (struct La_sparc64_retval): Likewise.
61187         (struct audit_ifaces): Remove architecture-specific pltenter and
61188         pltexit members.
61189         * sysdeps/i386/ldsodefs.h: New file.
61190         * sysdeps/powerpc/ldsodefs.h: Likewise.
61191         * sysdeps/s390/ldsodefs.h: Likewise.
61192         * sysdeps/sh/ldsodefs.h: Likewise.
61193         * sysdeps/sparc/ldsodefs.h: Likewise.
61194         * sysdeps/x86_64/ldsodefs.h: Likewise.
61196 2012-07-25  Marek Polacek  <polacek@redhat.com>
61198         [BZ #6808]
61199         * math/libm-test.inc (yn_test): Add another test.
61200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61201         to ERANGE when the result is +-Inf.
61202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61203         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61204         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61207 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61209         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61210         equal to 0.
61211         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61212         clock_t.
61213         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61215 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61217         * configure.in <sysdeps resolving>: Correct printing
61218         Implies_before.
61219         * configure: Regenerate.
61221 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61223         * math/w_ilogb.c: Include <limits.h>.
61224         * math/w_ilogbl.c: Likewise.
61226 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61228         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61229         va_copy.  Document allowing for unavailable va_copy only as
61230         pre-C99 compatibility.
61231         * manual/string.texi (Copying and Concatenation): Use va_copy
61232         instead of __va_copy in concat example.
61234 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61236         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61237         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61238         it if not null.
61240         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61241         with O_NOLINK passed to __file_name_lookup.
61243         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61244         with O_NOLINK passed to __file_name_lookup.
61246         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61247         negative N or less than NGIDS.
61249         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61250         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61251         enough.  Use memcpy instead of strncpy.
61253 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61255         * elf/Makefile (check-data): Remove.
61256         (localplt.data): New vpath directive.
61257         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61258         instead of $(check-data).
61259         * scripts/data/localplt-generic.data: Move to ...
61260         * sysdeps/generic/localplt.data: ... here.
61261         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61262         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61263         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61265         ... here.
61266         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61268         ... here.
61269         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61271         ... here.
61272         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61274         ... here.
61275         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61277         ... here.
61278         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61280         ... here.
61282 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61284         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61285         PPC32 and PPC64 files.
61286         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61287         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61289 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61291         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61292         __makecontext_ret to ...
61293         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61294         ... here and call exit if uc_link is NULL.  New file.
61295         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61296         __makecontext_ret.S.
61297         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61298         __makecontext_ret to ...
61299         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61300         ... here and call exit if uc_link is NULL.  New file.
61301         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61302         __makecontext_ret.S.
61304 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61306         * elf/elf.h (R_390_IRELATIVE): New definition.
61307         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61308         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61309         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61311         (elf_machine_lazy_rel): Likewise.
61312         * sysdeps/s390/dl-irel.h: New file.
61313         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61314         * sysdeps/s390/s390-64/memset.S: New asm code.
61315         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61316         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61318         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61319         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61320         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61321         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61322         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61323         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61324         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61325         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61326         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61327         * sysdeps/s390/s390-32/memset.S: New asm code.
61328         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61330 2012-07-17  Marek Polacek  <polacek@redhat.com>
61332         [BZ #14349]
61333         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61334         * sysdeps/s390/s390-64/configure.in: Likewise.
61335         * sysdeps/sparc/configure.in: Likewise.
61336         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61337         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61338         * sysdeps/i386/configure.in: Likewise.
61339         * sysdeps/x86_64/configure.in: Likewise.
61340         * sysdeps/sh/configure.in: Likewise.
61341         * sysdeps/s390/s390-32/configure: Regenerated.
61342         * sysdeps/s390/s390-64/configure: Likewise.
61343         * sysdeps/x86_64/configure: Likewise.
61344         * sysdeps/sh/configure: Likewise.
61345         * sysdeps/powerpc/powerpc64/configure: Likewise.
61346         * sysdeps/powerpc/powerpc32/configure: Likewise.
61347         * sysdeps/sparc/configure: Likwise.
61348         * sysdeps/i386/configure: Likewise.
61350         * elf/dl-open.c: Comment fixes.
61352 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61354         * Makefile [CXX] (check-data): Remove.
61355         [CXX] (c++-types.data): New vpath directive.
61356         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61357         vpath.  Do not allow for C++ type data being missing.
61358         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61359         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61360         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61361         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61362         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61363         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61364         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61366         ... here.
61367         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61369         ... here.
61370         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61372         ... here.
61373         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61375         ... here.
61376         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61378         ... here.
61379         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61381         ... here.
61382         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61384         ... here.
61385         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61388         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61389         definitions to architecture-specific files.
61390         (TLS_IE): Likewise.
61391         (TLS_LD): Likewise.
61392         (TLS_GD): Likewise.
61393         * sysdeps/i386/tls-macros.h: New file.
61394         * sysdeps/powerpc/tls-macros.h: Likewise.
61395         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61396         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61397         * sysdeps/sh/tls-macros.h: Likewise.
61398         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61399         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61400         * sysdeps/x86_64/tls-macros.h: Likewise.
61402 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61404         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61405         zero value for regular exit case.
61407         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61408         (__start_context): Preserve zero value for regular exit case.
61410 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61411             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61413         * manual/setjmp.texi (setcontext): Clarify normal process
61414         termination when uc_link is the null pointer.
61415         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61416         exit call.
61418 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61420         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61421         preprocessor.  Test for each exception mask separately.
61423 2012-07-16  Andreas Jaeger  <aj@suse.de>
61425         * po/ru.po: Update from translation team.
61427 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61429         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61430         equal to 0.
61431         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61432         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61433         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61434         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61437 2012-07-13  Andreas Jaeger  <aj@suse.de>
61439         * po/fr.po: Update from translation team.
61441 2012-07-12  Marek Polacek  <polacek@redhat.com>
61443         [BZ #14173]
61444         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61446         loop condition.
61448 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61450         [BZ #13717]
61451         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61452         Change to 2.4.1 where previously 2.4.0.
61453         * sysdeps/unix/sysv/linux/configure: Regenerated.
61454         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61455         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61456         version.
61457         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61458         (__ASSUME_AT_CLKTCK): Remove.
61459         (__ASSUME_AT_PAGESIZE): Likewise.
61460         (__ASSUME_AT_XID): Likewise.
61461         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61462         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61463         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61464         unconditionally.
61465         (HAVE_AUX_PAGESIZE): Likewise.
61466         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61467         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61468         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61470 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61472         [BZ #14307]
61473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61474         the temporary buffer used to invoke __gethostbyname2_r,
61475         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61476         host_data / struct gaih_addrtuple.
61477         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61478         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61479         header file nss/nsswitch.h.
61480         * nss/nsswitch.h (global scope): Add definition of implementation
61481         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61482         resolv/nss_dns/dns-host.c).
61484 2012-07-11  Andreas Jaeger  <aj@suse.de>
61486         * po/fr.po: Update from translation team.
61488         * po/sv.po: Update from translation team
61489         * po/fr.po: Another update from translation team.
61491 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61494         for subnormals or multiply small sinh result by itself.
61495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61498 2012-07-11  David S. Miller  <davem@davemloft.net>
61500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61502 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61504         [BZ #14347]
61505         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61506         (INTERNAL_MARK): Shift it here.
61508 2012-07-10  Marek Polacek  <polacek@redhat.com>
61510         [BZ #14151]
61511         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61512         libc_cv_asm_global_directive with .globl.
61513         * configure: Regenerated.
61514         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61515         with .globl.
61516         * sysdeps/i386/configure: Regenerated.
61517         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61518         with .globl.
61519         * sysdeps/x86_64/configure: Regenerated.
61520         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61521         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61522         * elf/tst-unique2mod2.c: Likewise.
61523         * elf/tst-unique2mod1.c: Likewise.
61524         * elf/tst-unique1mod2.c: Likewise.
61525         * elf/tst-unique1mod1.c: Likewise.
61526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61527         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61528         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61529         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61530         * sysdeps/mach/sysdep.h: Likewise.
61531         * sysdeps/i386/sysdep.h: Likewise.
61532         * sysdeps/i386/i386-mcount.S: Likewise.
61533         * sysdeps/x86_64/_mcount.S: Likewise.
61534         * sysdeps/x86_64/sysdep.h: Likewise.
61535         * sysdeps/sh/_mcount.S: Likewise.
61536         * sysdeps/sh/sysdep.h: Likewise.
61537         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61538         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61539         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61540         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61541         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61542         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61543         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61544         * locale/localeinfo.h: Likewise.
61545         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61546         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61548 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61550         [BZ #14336]
61551         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61552         system".
61553         * manual/message.texi (The Uniforum approach): Likewise.
61554         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61555         (glibc iconv Implementation): Likewise.
61557 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61559         [BZ #14337]
61560         * math/s_clog.c (__clog): Avoid scaling a value down where that
61561         could result in underflow.
61562         * math/s_clog10.c (__clog10): Likewise.
61563         * math/s_clog10f.c (__clog10f): Likewise.
61564         * math/s_clog10l.c (__clog10l): Likewise.
61565         * math/s_clogf.c (__clogf): Likewise.
61566         * math/s_clogl.c (__clogl): Likewise.
61567         * math/libm-test.inc (clog_test): Add more tests.
61568         (clog10_test): Likewise.
61569         * sysdeps/i386/fpu/libm-test-ulps: Update.
61570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61572 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61574         [BZ #14283]
61575         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61576         by 7 not 8 to examine high bit of fractional part.
61578         [BZ #14042]
61579         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61580         for call to __mcount_internal.
61581         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61582         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61583         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61585 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61587         [BZ #14154]
61588         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61589         approximation for values within 0x1p-13f of an odd multiple of
61590         pi/4.
61591         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61592         exception.  Add more tests.
61593         * sysdeps/i386/fpu/libm-test-ulps: Update.
61595         [BZ #6778]
61596         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61597         inputs and return -1 for them.  Do not check for +Inf in case not
61598         reachable for +Inf.
61599         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61600         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61602         and return -1 for them.  Do not check for +Inf in case not
61603         reachable for +Inf.
61604         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61605         define.
61606         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61607         and return -1 for them.  Do not check for +Inf in case not
61608         reachable for +Inf.
61609         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61610         spurious underflow.
61611         * sysdeps/i386/fpu/libm-test-ulps: Update.
61612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61614 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61616         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61618 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61620         [BZ #14157]
61621         [BZ #14331]
61622         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61623         could result in spurious underflow.  Scale down values above
61624         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61625         * math/s_csqrtf.c (__csqrtf): Likewise.
61626         * math/s_csqrtl.c (__csqrtl): Likewise.
61627         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61628         spurious underflow.
61629         * sysdeps/i386/fpu/libm-test-ulps: Update.
61630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61632 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61634         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61635         xopen-msg.sed.
61636         * catgets/xopen-msg.awk: New file.
61637         * catgets/xopen-msg.sed: Removed.
61639         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61640         po2text.sed.
61641         * intl/po2test.awk: New file.
61642         * intl/po2test.sed: Removed.
61644 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61646         [BZ #14328]
61647         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61648         or multiply small sinh result by itself.
61649         * math/s_ctanf.c (__ctanf): Likewise.
61650         * math/s_ctanh.c (__ctanh): Likewise.
61651         * math/s_ctanhf.c (__ctanhf): Likewise.
61652         * math/s_ctanhl.c (__ctanhl): Likewise.
61653         * math/s_ctanl.c (__ctanl): Likewise.
61654         * math/libm-test.inc (ctan_test_tonearest): New function.
61655         (ctan_test_towardzero): Likewise.
61656         (ctan_test_downward): Likewise.
61657         (ctan_test_upward): Likewise.
61658         (ctanh_test_tonearest): Likewise.
61659         (ctanh_test_towardzero): Likewise.
61660         (ctanh_test_downward): Likewise.
61661         (ctanh_test_upward): Likewise.
61662         (main): Call these new functions.
61663         * sysdeps/i386/fpu/libm-test-ulps: Update.
61664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61666 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61668         * .gitignore: Delete /ports entry.
61670 2012-07-03  Andreas Jaeger  <aj@suse.de>
61672         * po/bg.po: Update from translation team.
61673         * po/cs.po: Likewise.
61674         * po/de.po: Likewise.
61675         * po/hr.po: Likewise.
61676         * po/nl.pl: Likewise.
61677         * po/pl.po: Likewise.
61678         * po/vi.po: Likewise.
61680 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61682         * Makeconfig [!+link] (+link-before-libc): New variable.
61683         [!+link] (+link-after-libc): Likewise.
61684         [!+link] (+link-tests): Likewise.
61685         [!+link] (+link): Define in terms of $(+link-before-libc) and
61686         $(+link-after-libc).
61687         [!+link-static] (+link-static-before-libc): New variable.
61688         [!+link-static] (+link-static-after-libc): Likewise.
61689         [!+link-static] (+link-static-tests): Likewise.
61690         [!+link-static] (+link-static): Define in terms of
61691         $(+link-static-before-libc) and $(+link-static-after-libc).
61692         [build-shared] (link-libc-before-gnulib): New variable.
61693         [build-shared] (link-libc-tests): Likewise.
61694         [build-shared] (link-libc): Define in terms of
61695         $(link-libc-before-gnulib).
61696         [!build-shared] (link-libc-tests): New variable.
61697         (link-libc-static-tests): New variable.
61698         [!gnulib] (gnulib-arch): New variable.
61699         [!gnulib] (gnulib-tests): Likewise.
61700         [!gnulib] (static-gnulib-arch): Likewise.
61701         [!gnulib] (static-gnulib-tests): Likewise.
61702         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61703         Define with "=" instead of ":=".
61704         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61705         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61706         * Rules (binaries-all-notests): New variable.
61707         (binaries-all-tests): Likewise.
61708         (binaries-static-notests): Likewise.
61709         (binaries-static-tests): Likewise.
61710         (binaries-all): Define using $(binaries-all-notests) and
61711         $(binaries-all-tests).
61712         (binaries-static): Define using $(binaries-static-notests) and
61713         $(binaries-static-tests).
61714         (binaries-shared-tests): New variable.
61715         (binaries-shared-notests): Likewise.
61716         (binaries-shared): Remove variable.
61717         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61718         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61719         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61720         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61721         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61722         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61723         * elf/Makefile (sln-modules): New variable.
61724         (extra-objs): Add $(sln-modules:=.o).
61725         (ldconfig-modules): Add static-stubs.
61726         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61727         * elf/static-stubs.c: New file.
61729         [BZ #14283]
61730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61731         by 7 not 8 to examine high bit of fractional part.  Use volatile
61732         variables when splitting into final array of floats if
61733         __FLT_EVAL_METHOD__ != 0.
61734         * math/libm-test.inc (cos_test): Add another test.
61735         (sin_test): Likewise.
61736         * sysdeps/i386/fpu/libm-test-ulps: Update.
61738         [BZ #14273]
61739         * math/libm-test.inc (cosh_test): Add more tests.
61741         * version.h (RELEASE): Set to "development".
61742         (VERSION): Set to "2.16.90".
61744 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61746         * NEWS: Update copyright. Remove last-updated date.
61747         Mention math library bug fixes and timezone data changes.
61748         * README: Mention GNU/Hurd, x32, and HPPA support status.
61750 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61752         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61754 2012-06-27  Andreas Jaeger  <aj@suse.de>
61756         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61758 2012-06-25  Andreas Jaeger  <aj@suse.de>
61760         * sysdeps/s390/fpu/libm-test-ulps: Update.
61762 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61763             Thomas Schwinge  <thomas@codesourcery.com>
61765         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61766         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61768         fanotify_mark.
61770 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61772         * sysdeps/mach/start.c: Remove file.
61773         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61774         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61775         * sysdeps/sh/init-first.c: Likewise.
61777         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61778         registers for frame unwinding purposes, add CFI directives.
61779         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61781         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61782         Likewise.
61784         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61785         __fortify_fail returning.
61786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61788         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61789         sysdeps/sh/____longjmp_chk.S.
61790         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61791         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61792         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61793         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61795         * sysdeps/sh/abort-instr.h: New file.
61796         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61797         process in case exit returns.
61799         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61800         initialize the GOT register before use.
61802         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61803         calculation of ARGC > 4.
61805         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61806         meaningful names to some local labels.
61808 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61809             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61812         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61813         (__arch_compare_and_exchange_val_16_acq): Likewise.
61814         (__arch_compare_and_exchange_val_32_acq): Likewise.
61815         (atomic_exchange_and_add): Fix gUSA sequence.
61816         (atomic_add): Likewise.
61817         (atomic_add_negative): Likewise.
61818         (atomic_add_zero): Likewise.
61819         (atomic_bit_test_set): Likewise.
61821 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61823         [BZ #13579]
61824         * include/link.h (struct link_map): Add l_free_initfini.
61825         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61826         l_initfini.
61827         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61828         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61829         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61830         set.
61832 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61834         * configure.in: Use AC_LANG_SOURCE.
61835         * configure: Regenerate.
61837 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61839         * configure.in (libc_cv_localstatedir): New substituted variable.
61840         * configure: Regenerated.
61841         * config.make.in (localstatedir): New variable, substituted from
61842         libc_cv_localstatedir.
61843         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61844         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61845         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61846         * sysdeps/gnu/configure: Regenerated.
61848 2012-06-21  Jeff Law  <law@redhat.com>
61850         [BZ #14277]
61851         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61852         free.  Simplify list management for _LIBC case.
61854 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61856         [BZ #14273]
61857         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61858         Clear sign bit of 64-bit integer value before comparing against
61859         overflow value.
61861         * sysdeps/mach/configure: Regenerated.
61863 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61865         [BZ #14278]
61866         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61868 2012-06-21  Jeff Law  <law@redhat.com>
61870         [BZ #13882]
61871         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61872         uint16_t for elements in the "seen" array to avoid char overflows.
61873         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61874         * elf/dl-open.c (dl_open_worker): Likewise.
61876 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61878         * scripts/list-sources.sh: Scan PORTS for translations.
61879         * po/libc.pot: Regenerated.
61881 2012-06-21  Andreas Jaeger  <aj@suse.de>
61883         [BZ #12194]
61884         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61885         warning.
61886         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61887         * bits/byteswap-16.h (__bswap_16): Likewise.
61888         * bits/byteswap.h (__bswap_constant_16): Likewise.
61890 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61892         [BZ #14117]
61893         * sysdeps/i386/fpu_control.h: Removed.
61894         * sysdeps/x86_64/fpu_control.h: Moved to ...
61895         * sysdeps/x86/fpu_control.h: Here.
61897         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61898         (_FPU_SETCW): Likewise.
61900 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61902         [BZ #14117]
61903         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61904         * sysdeps/x86/fpu/bits/mathinline.h: This.
61905         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61907         [BZ #14050]
61908         [BZ #14117]
61909         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61910         functions if __x86_64__ is defined.
61912 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61914         * string/endian.h: Add !__ASSEMBLER__ condition for including
61915         conversion interfaces.
61917 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61919         [BZ #14241]
61920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61921         of ABS(x) in calculating zero to negative powers other than odd
61922         integers.
61923         * math/libm-test.inc (pow_test): Add more tests.
61925 2012-06-15  Andreas Jaeger  <aj@suse.de>
61927         * manual/contrib.texi (Contributors): Update entry of Liubov
61928         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61929         Machado Filho.
61931 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61933         * string/string.h: Add __wur to GNU version of strerror_r.
61935 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61937         [BZ #14229]
61938         * string/Makefile (tests): Add tst-strtok_r.
61939         * string/tst-strtok_r.c: New file.
61940         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61941         RAX_LP/RDX_LP on SAVE_PTR.
61943 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61945         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61947 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61949         * libm_test.inc (csqrt_test): Allow more spurious underflow
61950         exceptions.
61951         (j0_test): Likewise.
61952         (j1_test): Likewise.
61953         (y0_test): Likewise.
61954         (y1_test): Likewise.
61956 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61958         * po/Makefile (libc.pot): Use UTF-8 charset.
61960 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61962         [BZ #14210]
61963         Suppress sign-conversion warning from FD_SET.
61964         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61965         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61966         not unsigned long int.
61967         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61969 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61971         [BZ #14050]
61972         [BZ #14117]
61973         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61974         __extern_always_inline instead of __extern_inline.
61975         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61976         (__signbit): Likewise.
61977         (__signbitl): Support C++ namespace.
61978         (lrintf): New inline function.
61979         (lrint): Likewise.
61980         (llrintf): Likewise.
61981         (llrint): Likewise.
61982         (fmaxf): Likewise.
61983         (fmax): Likewise.
61984         (fminf): Likewise.
61985         (fmin): Likewise.
61986         (rint): Likewise.
61987         (rintf): Likewise.
61988         (ceil): Likewise.
61989         (ceilf): Likewise.
61990         (floor): Likewise.
61991         (floorf): Likewise.
61992         (nearbyint): Likewise.
61993         (nearbyintf): Likewise.
61995 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61997         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61998         non-default versions.
62000 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62002         [BZ #14218]
62003         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62005 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62007         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62008         (FE_UPWARD, FE_DOWNWARD): Don't define.
62009         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62010         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62012         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62013         reading it.
62014         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62017 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62019         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62021         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62022         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62024 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62026         [BZ #14117]
62027         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62028         * sysdeps/i386/fpu/Implies: New file.
62029         * sysdeps/x86_64/fpu/Implies: Likewise.
62030         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62031         * sysdeps/x86/fpu/bits/fenv.h: This.
62033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62034         __SSE_MATH__.
62036 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62038         [BZ #14134]
62039         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62040         character 0xffff that matches the last element of the
62041         conversion table.
62043 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62046         fmodl commit.
62048 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62051         values higher than 25.6283.
62053 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62056         subnormal exponent extraction and add some __builtin_expect.
62057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62058         Fix for subnormal mantissa calculation.
62060 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62062         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62063         cpu2 is -1 and errno is not ENOSYS.
62065 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62067         [BZ #14117]
62068         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62069         * sysdeps/x86/bits/string.h: This.
62070         * sysdeps/x86_64/bits/string.h: Removed.
62072         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62073         if not compiling for x86-64, but compiling for >= i486.
62075         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62076         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62078         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62079         New macro from Linux kernel 3.4.0.
62080         (FP_XSTATE_MAGIC2): Likewise.
62081         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62082         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62083         (struct _fpx_sw_bytes): New struct.
62084         (struct _xsave_hdr): Likewise.
62085         (struct _ymmh_state): Likewise.
62086         (struct _xstate): Likewise.
62088         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62089         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62090         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62091         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62093         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62095         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62096         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62097         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62098         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62099         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62100         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62102 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62104         [BZ #13743]
62105         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62106         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62107         (sysdep_headers): Include sys/platform/ppc.h.
62108         * sysdeps/powerpc/test-gettimebase.c: Test for
62109         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62110         * manual/Makefile (appendices): Include platform.texi.
62111         * manual/contrib.texi (Contributors): Update @node pointers.
62112         * manual/maint.texi (Maintenance): Likewise.
62113         (Platform): New node.
62114         * manual/platform.texi: New file.  Document the new features.
62116 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62117             Jakub Jelinek  <jakub@redhat.com>
62119         [BZ #14188]
62120         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62121         where __builtin_expect is unavailable.
62123 2012-06-03  David S. Miller  <davem@davemloft.net>
62125         * stdlib/longlong.h: Updated from GCC.
62127 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62129         [BZ #14042]
62130         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62131         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62132         __mcount_internal.
62133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62134         (GLIBC_2.16): Likewise.
62136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62138         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62140 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62143         (default-abi): New variable.
62144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62145         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62146         variable.
62147         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62148         Likewise.
62149         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62150         Likewise.
62151         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62152         Likewise.
62154         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62155         definition.  Document in comment.
62157 2012-06-01  David S. Miller  <davem@davemloft.net>
62159         * stdlib/longlong.h: Updated from GCC.
62161 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62163         [BZ #14117]
62164         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62165         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62166         sys/debugreg.h sys/io.h here.
62167         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62168         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62169         sys/io.h.
62170         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62171         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62172         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62173         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62174         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62175         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62177         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62178         Define only if __x86_64__ is defined.
62180 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62182         [BZ #14048]
62183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62184         Use int64_t for variable i.
62185         * math/libm-test.inc (fmod_test): Add more tests.
62187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62188         z computation is not scheduled after fetestexcept.
62189         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62190         Use math_force_eval instead of asm to ensure calculation scheduled
62191         before exception test.
62192         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62193         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62195 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62198         computation is not scheduled after fetestexcept.
62200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62202         [BZ #14117]
62203         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62204         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62206 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62208         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62209         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62211 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62213         [BZ #14117]
62214         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62215         <bits/wordsize.h>.
62216         (__WCHAR_MIN): Support __WORDSIZE == 64.
62217         (__WCHAR_MAX): Likewise.
62219         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62220         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62222         [BZ #14183]
62223         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62224         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62226         [BZ #14117]
62227         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62228         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62230         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62231         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62233         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62234         Defined to 1 if __x86_64__ isn't defined.
62235         (_STAT_VER_LINUX_OLD): New.
62236         (st_atime): Remove duplicate.
62237         (st_mtime): Likewise.
62238         (st_ctime): Likewise.
62240 2012-05-31  David S. Miller  <davem@davemloft.net>
62242         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62243         entries.
62245 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62247         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62248         gen-libm-test.pl.
62250         [BZ #14132]
62251         * elf/dl-reloc.c: Include <_itoa.h>.
62252         (_dl_reloc_bad_type): Remove use of INTUSE.
62253         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62254         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62255         * stdio-common/psiginfo.c (psiginfo): Likewise.
62256         * stdio-common/psignal.c (psignal): Likewise.
62257         * string/strsignal.c (strsignal): Likewise.
62258         * include/signal.h (_sys_siglist): Declare hidden proto.
62259         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62260         INTVARDEF with libc_hidden_data_def.
62261         * stdio-common/itoa-udigits.c: Likewise.
62262         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62263         (_itoa_lower_digits_internal): Remove declaration.
62264         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62265         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62266         (_sys_sigabbrev_internal): Remove aliases.
62267         (_sys_siglist): Define hidden alias.
62269 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62272         bits/sysctl.h.
62274 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62276         [BZ #14117]
62277         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62278         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62280         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62281         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62282         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62283         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62285         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62287         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62288         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62289         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62291         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62292         with __addr.
62293         (insw): Likewise.
62294         (insl): Likewise.
62295         (outsb): Likewise.
62296         (outsw): Likewise.
62297         (outsl): Likewise.
62299         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62301         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62303         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62304         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62305         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62306         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62307         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62308         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62310         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62311         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62313         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62314         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62320         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62321         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62322         to ...
62323         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62325         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62326         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62327         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62329         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62330         for x86-64.
62331         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62333 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62335         * math/math.h (M_El): Use two more decimal places.
62336         (M_LOG2El): Likewise.
62337         (M_LOG10El): Likewise.
62338         (M_LN2l): Likewise.
62339         (M_LN10l): Likewise.
62340         (M_PIl): Likewise.
62341         (M_PI_2l): Likewise.
62342         (M_PI_4l): Likewise.
62343         (M_1_PIl): Likewise.
62344         (M_2_PIl): Likewise.
62345         (M_2_SQRTPIl): Likewise.
62346         (M_SQRT2l): Likewise.
62347         (M_SQRT1_2l): Likewise.
62349 2012-05-31  David S. Miller  <davem@davemloft.net>
62351         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62352         values between float registers.
62353         * sysdeps/sparc/sparc64/memset.S: Likewise.
62354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62356 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62358         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62359         -D_FORTIFY_SOURCE=1.
62360         (CPPFLAGS-tst-longjmp_chk.c): Define.
62361         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62362         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62363         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62364         CFLAGS-tst-wchar-h.c.
62366 2012-05-31  Marek Polacek  <polacek@redhat.com>
62368         [BZ #14132]
62369         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62370         __endmntent_internal): Remove declaration.
62371         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62372         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62373         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62375 2012-05-30  David S. Miller  <davem@davemloft.net>
62377         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62378         (___Q_simulate_exceptions): Use real FP ops rather than writing
62379         into the %fsr.
62380         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62381         Likewise.
62383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62385         [BZ #14117]
62386         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62387         * sysdeps/x86/bits/xtitypes.h: This.
62389         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62390         * sysdeps/x86/bits/wordsize.h: This.
62392         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62393         * sysdeps/x86/bits/huge_vall.h: This.
62395         * sysdeps/i386/bits/select.h: Removed.
62396         * sysdeps/x86_64/bits/select.h: Renamed to ...
62397         * sysdeps/x86/bits/select.h: This.
62399         * sysdeps/i386/bits/setjmp.h: Removed.
62400         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62401         * sysdeps/x86/bits/setjmp.h: This.
62403         * sysdeps/i386/bits/mathdef.h: Removed.
62404         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62405         * sysdeps/x86/bits/mathdef.h: This.
62407 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62409         [BZ #14132]
62410         * include/sys/socket.h (__connect_internal)
62411         (__libc_sa_len_internal): Remove declaration.
62412         (__connect, __libc_sa_len): Declare hidden_proto.
62413         (SA_LEN): Remove use of INTUSE.
62414         * socket/connect.c: Add libc_hidden_def.
62415         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62416         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62417         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62418         alias.
62419         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62421         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62422         of adding _internal alias.
62424 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62426         [BZ #14117]
62427         * sysdeps/i386/bits/link.h: Removed.
62428         * sysdeps/i386/bits/linkmap.h: Likewise.
62429         * sysdeps/x86_64/bits/link.h: Renamed to ...
62430         * sysdeps/x86/bits/link.h: This.
62431         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62432         * sysdeps/x86/bits/linkmap.h: This.
62434         * sysdeps/i386/bits/endian.h: Removed.
62435         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62436         * sysdeps/x86/bits/endian.h: This.
62438         * sysdeps/i386/bits/byteswap.h: Removed.
62439         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62440         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62441         * sysdeps/x86/bits/byteswap.h: This.
62442         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62443         * sysdeps/x86/bits/byteswap-16.h: This.
62444         * sysdeps/i386/Implies: Add x86.
62445         * sysdeps/x86_64/Implies: Likewise.
62447 2012-05-30  David S. Miller  <davem@davemloft.net>
62449         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62450         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62451         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62452         (FP_TRAPPING_EXCEPTIONS): Define.
62453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62454         (FP_TRAPPING_EXCEPTIONS): Define.
62455         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62456         subnormals only when inexact has been signalled or underflow
62457         exceptions are enabled.
62458         (_FP_PACK_CANONICAL): Likewise.
62460 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62462         [BZ #14183]
62463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62464         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62466 2012-05-30  Richard Henderson  <rth@twiddle.net>
62468         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62469         with #ifndef NOT_IN_libc.
62471         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62472         marked to avoid plt entry.
62474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62476         [BZ #14112]
62477         * Makeconfig (default-abi): New macro.
62478         (abi-includes): Likewise.
62479         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62480         $(abi-$(default-abi)-lib-soname) for soname if defined.
62481         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62482         abi-variants.
62483         * Makefile (installed-stubs): Likewise.
62484         * include/stubs-biarch.h: Removed.
62485         * scripts/lib-names.awk: Only handle one library at a time.
62486         * scripts/soversions.awk: Remove WORDSIZE support.
62487         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62488         entries.
62489         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62490         Removed.
62491         (syscall-list-default-condition): Likewise.
62492         (syscall-list-default-condition): Likewise.
62493         (syscall-list-includes): Likewise.
62494         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62495         syscall-list-* with abi-*.  Handle undefined abi-variants.
62496         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62497         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62498         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62499         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62500         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62501         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62502         Removed.
62503         (syscall-list-32-options): Likewise.
62504         (syscall-list-32-condition): Likewise.
62505         (syscall-list-64-options): Likewise.
62506         (syscall-list-64-condition): Likewise.
62507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62508         macro.
62509         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62510         Renamed to ...
62511         (abi-*): This.
62512         (abi-64-ld-soname): New macro.
62513         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62514         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62515         Renamed to ...
62516         (abi-*): This.
62517         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62518         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62520 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62522         * sysdeps/unix/sysv/linux/kernel-features.h
62523         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62524         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62525         include <kernel-features.h>.
62526         [!__NR_ftruncate64]: Remove conditional code.
62527         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62528         [__NR_ftruncate64]: Make code unconditional.
62529         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62530         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62531         include <kernel-features.h>.
62532         [!__NR_ftruncate64]: Remove conditional code.
62533         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62534         [__NR_ftruncate64]: Make code unconditional.
62535         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62537         include <kernel-features.h>.
62538         [!__NR_ftruncate64]: Remove conditional code.
62539         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62540         [__NR_ftruncate64]: Make code unconditional.
62541         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62543         include <kernel-features.h>.
62544         [!__NR_ftruncate64]: Remove conditional code.
62545         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62546         [__NR_ftruncate64]: Make code unconditional.
62547         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62549         * configure.in (libc_cv_fpie): Weaken to a compile test using
62550         LIBC_TRY_CC_OPTION.
62551         * configure: Regenerated.
62553 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62559         Refreshed.
62560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62566         Refreshed.
62568 2012-05-27  David S. Miller  <davem@davemloft.net>
62570         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62571         (___Q_zero): New.
62572         (__Q_simulate_exceptions): Return void.  Change to simulate
62573         exceptions by writing into the %fsr.
62574         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62575         (__Qp_handle_exceptions): Likewise.
62576         (numbers): Delete.
62577         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62578         __Qp_handle_exceptions.
62579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62580         __Qp_handle_exceptions.
62581         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62582         as unused and give dummy FP_RND_NEAREST initializer.
62583         (FP_INHIBIT_RESULTS): Define.
62584         (___Q_simulate_exceptions): Update declaration.
62585         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62586         formatting.
62587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62588         as unused and give dummy FP_RND_NEAREST initializer.
62589         (__Qp_handle_exceptions): Update declaration.
62590         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62591         formatting.
62593 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62596         the temporary FPU control word.
62597         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62598         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62600         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62601         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62602         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62603         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62604         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62605         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62606         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62609 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62611         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62612         fields.
62614 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62616         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62617         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62618         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62619         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62620         Likewise.
62621         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62622         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62623         Likewise.
62625 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62627         * po/h.po: Update from translation team.
62629 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62631         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62633         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62634         handling of denormals.
62635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62636         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62637         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62638         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62642         Likewise.
62644 2012-05-26  Marek Polacek  <polacek@redhat.com>
62646         [BZ #14152]
62647         * math/libm-test.inc (fma_test): Don't always expect underflow
62648         exception.
62650 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62652         [BZ #12416]
62653         * elf/tst-execstack.c: Include stackinfo.h.
62654         (do_test): Adjust test case to ensure that pthread_getattr_np
62655         behaviour remains the same after marking stack executable.
62657 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62659         * sysdeps/unix/sysv/linux/kernel-features.h
62660         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62661         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62662         kernel-features.h.
62663         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62664         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62665         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62666         kernel-features.h.
62667         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62668         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62670 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62672         * configure.in: Define the default includes to being none.
62673         * configure: Regenerated.
62675 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62677         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62678         * sysdeps/x86_64/setjmp.S: Likewise.
62679         * sysdeps/i386/bsd-setjmp.S: Likewise.
62680         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62681         * sysdeps/i386/setjmp.S: Likewise.
62682         * sysdeps/i386/__longjmp.S: Likewise.
62683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62684         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62686         * include/stap-probe.h: New file.
62687         * configure.in: Handle --enable-systemtap.
62688         * configure: Regenerated.
62689         * config.h.in (USE_STAP_PROBE): New #undef.
62690         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62691         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62692         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62694 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62696         [BZ #13717]
62697         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62698         to 2.4.0 where earlier.
62699         * sysdeps/unix/sysv/linux/configure: Regenerated.
62700         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62701         <kernel-features.h>.
62702         [__ASSUME_32BITUIDS]: Make code unconditional.
62703         [!__ASSUME_32BITUIDS]: Remove conditional code.
62704         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62705         <kernel-features.h>.
62706         [__ASSUME_32BITUIDS]: Make code unconditional.
62707         [!__ASSUME_32BITUIDS]: Remove conditional code.
62708         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62709         [__ASSUME_32BITUIDS]: Make code unconditional.
62710         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62711         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62712         <kernel-features.h>.
62713         [__ASSUME_32BITUIDS]: Make code unconditional.
62714         [!__ASSUME_32BITUIDS]: Remove conditional code.
62715         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62716         <kernel-features.h>.
62717         [__ASSUME_32BITUIDS]: Make code unconditional.
62718         [!__ASSUME_32BITUIDS]: Remove conditional code.
62719         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62720         <kernel-features.h>.
62721         [__ASSUME_32BITUIDS]: Make code unconditional.
62722         [!__ASSUME_32BITUIDS]: Remove conditional code.
62723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62724         <kernel-features.h>.
62725         [__ASSUME_32BITUIDS]: Make code unconditional.
62726         [!__ASSUME_32BITUIDS]: Remove conditional code.
62727         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62728         <kernel-features.h>.
62729         [__ASSUME_32BITUIDS]: Make code unconditional.
62730         [!__ASSUME_32BITUIDS]: Remove conditional code.
62731         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62732         <kernel-features.h>.
62733         [__ASSUME_32BITUIDS]: Make code unconditional.
62734         [!__ASSUME_32BITUIDS]: Remove conditional code.
62735         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62736         <kernel-features.h>.
62737         [__ASSUME_32BITUIDS]: Make code unconditional.
62738         [!__ASSUME_32BITUIDS]: Remove conditional code.
62739         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62740         <kernel-features.h>.
62741         [__ASSUME_32BITUIDS]: Make code unconditional.
62742         [!__ASSUME_32BITUIDS]: Remove conditional code.
62743         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62744         <kernel-features.h>.
62745         [__ASSUME_32BITUIDS]: Make code unconditional.
62746         [!__ASSUME_32BITUIDS]: Remove conditional code.
62747         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62748         <kernel-features.h>.
62749         [__ASSUME_32BITUIDS]: Make code unconditional.
62750         [!__ASSUME_32BITUIDS]: Remove conditional code.
62751         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62752         <kernel-features.h>.
62753         [__NR_setresgid] (__setresgid): Do not declare.
62754         [__ASSUME_32BITUIDS]: Make code unconditional.
62755         [!__ASSUME_32BITUIDS]: Remove conditional code.
62756         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62757         <kernel-features.h>.
62758         [__NR_setresuid] (__setresuid): Do not declare.
62759         [__ASSUME_32BITUIDS]: Make code unconditional.
62760         [!__ASSUME_32BITUIDS]: Remove conditional code.
62761         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62762         <kernel-features.h>.
62763         [__ASSUME_32BITUIDS]: Make code unconditional.
62764         [!__ASSUME_32BITUIDS]: Remove conditional code.
62765         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62766         <kernel-features.h>.
62767         [__ASSUME_32BITUIDS]: Make code unconditional.
62768         [!__ASSUME_32BITUIDS]: Remove conditional code.
62769         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62770         <kernel-features.h>.
62771         [__ASSUME_32BITUIDS]: Make code unconditional.
62772         [!__ASSUME_32BITUIDS]: Remove conditional code.
62773         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62774         <kernel-features.h>.
62775         [__ASSUME_32BITUIDS]: Make code unconditional.
62776         [!__ASSUME_32BITUIDS]: Remove conditional code.
62777         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62778         <kernel-features.h>.
62779         [__ASSUME_32BITUIDS]: Make code unconditional.
62780         [!__ASSUME_32BITUIDS]: Remove conditional code.
62781         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62782         <kernel-features.h>.
62783         [__ASSUME_32BITUIDS]: Make code unconditional.
62784         [!__ASSUME_32BITUIDS]: Remove conditional code.
62785         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62786         <kernel-features.h>.
62787         [__ASSUME_32BITUIDS]: Make code unconditional.
62788         [!__ASSUME_32BITUIDS]: Remove conditional code.
62789         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62790         <kernel-features.h>.
62791         [__ASSUME_32BITUIDS]: Make code unconditional.
62792         [!__ASSUME_32BITUIDS]: Remove conditional code.
62793         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62794         <kernel-features.h>.
62795         [__ASSUME_32BITUIDS]: Make code unconditional.
62796         [!__ASSUME_32BITUIDS]: Remove conditional code.
62797         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
62802         (__ASSUME_SETRESUID_SYSCALL): Remove.
62803         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62804         (__ASSUME_32BITUIDS): Likewise.
62805         (__ASSUME_LDT_WORKS): Likewise.
62806         (__ASSUME_O_DIRECTORY): Likewise.
62807         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62808         architecture but not kernel version.
62809         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62810         (__ASSUME_MMAP2_SYSCALL): Likewise.
62811         (__ASSUME_STAT64_SYSCALL): Likewise.
62812         (__ASSUME_IPC64): Likewise.
62813         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62814         <kernel-features.h>.
62815         [__ASSUME_32BITUIDS]: Make code unconditional.
62816         [!__ASSUME_32BITUIDS]: Remove conditional code.
62817         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62818         <kernel-features.h>.
62819         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62820         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62821         132096]: Remove conditional code.
62822         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62824         <kernel-features.h>.
62825         [__ASSUME_32BITUIDS]: Make code unconditional.
62826         [!__ASSUME_32BITUIDS]: Remove conditional code.
62827         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62828         <kernel-features.h>.
62829         [__ASSUME_32BITUIDS]: Make code unconditional.
62830         [!__ASSUME_32BITUIDS]: Remove conditional code.
62831         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62832         <kernel-features.h>.
62833         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62834         unconditional.
62835         (__setresgid): Do not declare.
62836         [__ASSUME_32BITUIDS]: Make code unconditional.
62837         [!__ASSUME_32BITUIDS]: Remove conditional code.
62838         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62839         <kernel-features.h>.
62840         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62841         unconditional.
62842         (__setresuid): Do not declare.
62843         [__ASSUME_32BITUIDS]: Make code unconditional.
62844         [!__ASSUME_32BITUIDS]: Remove conditional code.
62845         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62846         <kernel-features.h>.
62847         [__ASSUME_32BITUIDS]: Make code unconditional.
62848         [!__ASSUME_32BITUIDS]: Remove conditional code.
62849         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62850         <kernel-features.h>.
62851         [__ASSUME_32BITUIDS]: Make code unconditional.
62852         [!__ASSUME_32BITUIDS]: Remove conditional code.
62854 2012-05-25  Richard Henderson  <rth@twiddle.net>
62856         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62857         dl_hwcap to ifunc resolver.
62858         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62859         elf_ifunc_invoke.
62860         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62861         dl_hwcap to ifunc resolver.
62862         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62864 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62866         [BZ #14153]
62867         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62868         for |x| <= 2**-26, not 2**-57.
62869         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62870         exception.
62872 2012-05-24  Jeff Law  <law@redhat.com>
62874         * stdio-common/Makefile (tests): Add bug25.
62875         * stdio-common/bug25.c: New test.
62877 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62879         [BZ #13576]
62880         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62881         multiple of MALLOC_ALIGNMENT in size.
62882         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62886         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62887         Require >= 256.
62888         (FILENAME_MAX): Use macro-int-constant.
62889         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62890         (_IOFBF): Use macro-int-constant.
62891         (_IOLBF): Likewise.
62892         (_IONBF): Likewise.
62893         (SEEK_CUR): Likewise.
62894         (SEEK_END): Likewise.
62895         (SEEK_SET): Likewise.
62896         (TMP_MAX): Likewise.
62897         (EOF): Use macro-int-constant.  Require < 0.
62898         (NULL): Use macro-constant.  Require == 0.
62899         (stdin): Require type to be FILE *.
62900         (stdout): Likewise.
62901         (stderr): Likewise.
62902         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62903         macro-int-constant.
62904         (EXIT_SUCCESS): Likewise.
62905         (NULL): Use macro-constant.  Require == 0.
62906         (RAND_MAX): Use macro-int-constant.
62907         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62908         [C99-based standards] (strtof): Require function.
62909         [C99-based standards] (strtold): Likewise.
62910         [C99-based standards] (strtoll): Likewise.
62911         [C99-based standards] (strtoull): Likewise.
62912         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62913         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62914         [ISO || ISO99 || ISO11] (math.h): Likewise.
62915         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62916         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62919 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62921         [BZ #14132]
62922         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62923         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62924         * intl/dgettext.c (DCGETTEXT): Likewise.
62925         * intl/gettext.c (DCGETTEXT): Likewise.
62926         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62927         * posix/regex_internal.h (gettext): Likewise.
62928         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62929         Remove declaration.
62930         * include/argz.h (__argz_count_internal)
62931         (__argz_stringify_internal): Remove declaration.
62932         (__argz_count, __argz_stringify): Declare hidden proto.
62933         * intl/dcgettext.c: Remove use of INTDEF.
62934         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62935         * string/argz-stringify.c: Likewise.
62936         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62937         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62938         Declare hidden proto.
62939         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62940         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62941         Declare hidden proto.
62942         * include/stdio.h (__asprintf_internal): Don't declare.
62943         (__asprintf): Don't define as macro.  Declare hidden proto.
62944         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62945         (__fsetlocking): Declare hidden proto.
62946         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62947         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62948         hidden proto.
62949         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62950         (_IO_setlinebuf): Remove use of INTUSE.
62951         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62952         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62953         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62954         Remove declaration.
62955         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62956         (_IO_do_flush): Remove use of INTUSE.
62957         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62958         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62959         (_IO_adjust_column, _IO_least_wmarker)
62960         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62961         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62962         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62963         (_IO_default_doallocate, _IO_wdefault_doallocate)
62964         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62965         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62966         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62967         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62968         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62969         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62970         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62971         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62972         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62973         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62974         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62975         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62976         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62977         proto.
62978         (_IO_flush_all_internal, _IO_adjust_column_internal)
62979         (_IO_default_uflow_internal, _IO_default_finish_internal)
62980         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62981         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62982         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62983         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62984         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62985         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62986         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62987         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62988         (_IO_file_close_internal, _IO_file_close_it_internal)
62989         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62990         (_IO_file_init_internal, _IO_file_attach_internal)
62991         (_IO_file_fopen_internal, _IO_file_read_internal)
62992         (_IO_file_sync_internal, _IO_file_seek_internal)
62993         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62994         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62995         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62996         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62997         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62998         (_IO_list_all_internal, _IO_link_in_internal)
62999         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63000         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63001         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63002         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63003         (_IO_do_write_internal, _IO_padn_internal)
63004         (_IO_getline_info_internal, _IO_getline_internal)
63005         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63006         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63007         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63008         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63009         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63010         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63011         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63012         with libc_hidden_ver, remove use of INTUSE.
63013         * libio/genops.c: Likewise.
63014         * libio/freopen.c: Likewise.
63015         * libio/freopen64.c: Likewise.
63016         * libio/iofclose.c: Likewise.
63017         * libio/iofdopen.c: Likewise.
63018         * libio/iofflush.c: Likewise.
63019         * libio/iofflush_u.c: Likewise.
63020         * libio/iofgets.c: Likewise.
63021         * libio/iofgets_u.c: Likewise.
63022         * libio/iofopen.c: Likewise.
63023         * libio/iofopncook.c: Likewise.
63024         * libio/iofread.c: Likewise.
63025         * libio/iofread_u.c: Likewise.
63026         * libio/ioftell.c: Likewise.
63027         * libio/iofwrite.c: Likewise.
63028         * libio/iogetline.c: Likewise.
63029         * libio/iogets.c: Likewise.
63030         * libio/iogetwline.c: Likewise.
63031         * libio/iopadn.c: Likewise.
63032         * libio/iopopen.c: Likewise.
63033         * libio/ioseekoff.c: Likewise.
63034         * libio/ioseekpos.c: Likewise.
63035         * libio/iosetbuffer.c: Likewise.
63036         * libio/iosetvbuf.c: Likewise.
63037         * libio/ioungetc.c: Likewise.
63038         * libio/ioungetwc.c: Likewise.
63039         * libio/iovdprintf.c: Likewise.
63040         * libio/iovsprintf.c: Likewise.
63041         * libio/iovsscanf.c: Likewise.
63042         * libio/memstream.c: Likewise.
63043         * libio/obprintf.c: Likewise.
63044         * libio/oldfileops.c: Likewise.
63045         * libio/oldiofclose.c: Likewise.
63046         * libio/oldiofdopen.c: Likewise.
63047         * libio/oldiofopen.c: Likewise.
63048         * libio/oldiopopen.c: Likewise.
63049         * libio/oldstdfiles.c: Likewise.
63050         * libio/putc.c: Likewise.
63051         * libio/setbuf.c: Likewise.
63052         * libio/setlinebuf.c: Likewise.
63053         * libio/stdfiles.c: Likewise.
63054         * libio/strops.c: Likewise.
63055         * libio/vasprintf.c: Likewise.
63056         * libio/vscanf.c: Likewise.
63057         * libio/vsnprintf.c: Likewise.
63058         * libio/vswprintf.c: Likewise.
63059         * libio/wfiledoalloc.c: Likewise.
63060         * libio/wfileops.c: Likewise.
63061         * libio/wgenops.c: Likewise.
63062         * libio/wmemstream.c: Likewise.
63063         * libio/wstrops.c: Likewise.
63064         * libio/__fpurge.c: Likewise.
63065         * libio/__fsetlocking.c: Likewise.
63066         * assert/assert.c: Likewise.
63067         * debug/fgets_chk.c: Likewise.
63068         * debug/fgets_u_chk.c: Likewise.
63069         * debug/fread_chk.c: Likewise.
63070         * debug/fread_u_chk.c: Likewise.
63071         * debug/gets_chk.c: Likewise.
63072         * debug/obprintf_chk.c: Likewise.
63073         * debug/vasprintf_chk.c: Likewise.
63074         * debug/vdprintf_chk.c: Likewise.
63075         * debug/vsnprintf_chk.c: Likewise.
63076         * debug/vsprintf_chk.c: Likewise.
63077         * malloc/mtrace.c: Likewise.
63078         * misc/error.c: Likewise.
63079         * misc/syslog.c: Likewise.
63080         * stdio-common/asprintf.c: Likewise.
63081         * stdio-common/fxprintf.c: Likewise.
63082         * stdio-common/getw.c: Likewise.
63083         * stdio-common/isoc99_fscanf.c: Likewise.
63084         * stdio-common/isoc99_scanf.c: Likewise.
63085         * stdio-common/isoc99_vfscanf.c: Likewise.
63086         * stdio-common/isoc99_vscanf.c: Likewise.
63087         * stdio-common/isoc99_vsscanf.c: Likewise.
63088         * stdio-common/printf-prs.c: Likewise.
63089         * stdio-common/printf_fp.c: Likewise.
63090         * stdio-common/printf_fphex.c: Likewise.
63091         * stdio-common/printf_size.c: Likewise.
63092         * stdio-common/putw.c: Likewise.
63093         * stdio-common/scanf.c: Likewise.
63094         * stdio-common/sprintf.c: Likewise.
63095         * stdio-common/tmpfile.c: Likewise.
63096         * stdio-common/vfprintf.c: Likewise.
63097         * stdio-common/vfscanf.c: Likewise.
63098         * stdlib/strfmon_l.c: Likewise.
63099         * sunrpc/openchild.c: Likewise.
63100         * sunrpc/xdr_stdio.c: Likewise.
63101         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63102         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63104 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63106         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63108         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63109         in the third column, to generate for the shared library an IFUNC
63110         that uses _dl_vdso_vsym.
63111         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63112         * Makeconfig (object-suffixes-noshared): New variable.
63114         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63115         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63116         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63117         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63119         [BZ #14132]
63120         * include/sys/time.h (__gettimeofday): Remove macro.
63121         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63122         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63123         Remove INTDEF.
63124         (__gettimeofday): Add libc_hidden_def.
63125         (gettimeofday): Add libc_hidden_weak.
63126         * sysdeps/mach/gettimeofday.c: Likewise.
63127         * sysdeps/posix/gettimeofday.c: Likewise.
63128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63129         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63131         (__gettimeofday_internal): Remove strong_alias.
63132         (__gettimeofday): Add libc_hidden_def.
63133         (gettimeofday): Add libc_hidden_weak.
63134         * sysdeps/unix/syscalls.list (gettimeofday):
63135         Remove __gettimeofday_internal alias.
63137 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63138             H.J. Lu  <hongjiu.lu@intel.com>
63140         [BZ #12495]
63141         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63142         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63143         (largebin_index_32_big): New.
63144         (largebin_index): Use it for 16-byte alignment.
63145         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63146         correction with front_misalign.
63148 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63152         Likewise.
63153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63154         Likewise.
63155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63156         Likewise.
63157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63158         Likewise.
63159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63160         Likewise.
63161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63162         Likewise.
63163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63164         Likewise.
63165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63166         Likewise.
63167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63168         Likewise.
63169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63170         Likewise.
63171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63172         Likewise.
63173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63174         Likewise.
63176         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63177         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63179 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63181         [BZ #10846]
63182         [BZ #14036]
63183         * math/libm-test.inc (exp_test): Add test from bug 14036.
63184         (pow_test): Add test from bug 10846.
63186         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63187         and other flags.
63188         (special_function): Do not include flags in test name.
63189         (parse_args): Likewise.
63190         * sysdeps/i386/fpu/libm-test-ulps: Update.
63191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63193         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63196         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63197         exceptions.
63198         * math/libm-test.inc ("Philosophy"): Update comment about
63199         exception testing.
63200         (UNDERFLOW_EXCEPTION): New macro.
63201         (UNDERFLOW_EXCEPTION_OK): Likewise.
63202         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63203         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63204         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63205         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63206         (INVALID_EXCEPTION_OK): Update value.
63207         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63208         (OVERFLOW_EXCEPTION_OK): Likewise.
63209         (IGNORE_ZERO_INF_SIGN): Likewise.
63210         (test_exceptions): Handle underflow exceptions.
63211         (acos_test): Update for underflow exception expectations.
63212         (cexp_test): Likewise.
63213         (clog_test): Likewise.
63214         (clog10_test): Likewise.
63215         (csqrt_test): Likewise.
63216         (ctan_test): Likewise.
63217         (ctanh_test): Likewise.
63218         (exp_test): Likewise.
63219         (exp10_test): Likewise.
63220         (exp2_test): Likewise.
63221         (expm1_test): Likewise.
63222         (fma_test): Likewise.
63223         (j0_test): Likewise.
63224         (jn_test): Likewise.
63225         (nexttoward_test): Likewise.
63226         (pow_test): Likewise.
63227         (scalbn_test): Likewise.
63228         (scalbln_test): Likewise.
63229         (tan_test): Likewise.
63230         (y1_test): Likewise.
63231         * sysdeps/i386/fpu/libm-test-ulps: Update.
63232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63234 2012-05-23  David S. Miller  <davem@davemloft.net>
63236         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63237         (__libc_sigaction): Remove unused local variables.
63239 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63241         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63243 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63245         mktime: avoid signed integer overflow
63246         * time/mktime.c (__mktime_internal): Do not mishandle the case
63247         where diff == INT_MIN.
63249         mktime: simplify computation of average
63250         * time/mktime.c (ranged_convert): Use new time_t_avg function
63251         instead of rolling our own (probably-slower) code.
63253         mktime: do not assume signed right shift propagates sign bit
63254         * time/mktime.c (isdst_differ): New static function.
63255         (__mktime_internal): No need to normalize tm_isdst now.
63256         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63257         tm_isdst values.
63259         mktime: merge another wrapv change from gnulib
63260         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63261         from some compilers.
63263         mktime: remove incorrect attempt at unusual arithmetics
63264         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63265         The code didn't really work on such machines anyway.
63266         (TYPE_MINIMUM): Assume two's complement.
63267         (twos_complement_arithmetic): Verify that long_int and time_t
63268         are two's complement (or unsigned, in the latter case).
63270         mktime: check signed shifts on long_int and time_t, too
63271         * time/mktime.c (SHR): Check that shifts work as desired
63272         on the types long_int and time_t too, as SHR is used on
63273         such types.
63275         mktime: do not assume 'long' is wide enough
63276         * time/mktime.c (verify): Move decl up.
63277         (long_int): New type.
63278         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63279         to remove assumption in the code that 'long' is wide enough to
63280         store year values.  This assumption is not true on x32 and on
63281         some non-glibc platforms.
63283         mktime: merge wrapv change from gnulib
63284         * time/mktime.c (WRAPV): New macro.
63285         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63286         (guess_time_tm, __mktime_internal): Do not assume that signed
63287         integer overflow wraps around; modern compilers generate code
63288         where this assumption is no longer valid.
63290 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63292         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63293         Replace "jmp L(pseudo_end)" with "ret".
63294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63295         Likewise.
63297 2012-05-23  Andreas Jaeger  <aj@suse.de>
63299         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63300         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63302 2012-05-23  Andreas Jaeger  <aj@suse.de>
63303             Maximilian Attems  <max@stro.at>
63305         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63306         New macros.
63308 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63310         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63311         code so that pseudo_end is just ret and the stack pointer is
63312         correct also for static library in error case.
63314 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63316         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63317         move to syscalls.list.
63318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63323         * manual/install.texi (Running make install): Do not mention Linux
63324         kernel version for which pt_chown is not needed.
63325         (Linux): Do not mention problems with nscd with 2.0 kernels.
63326         * INSTALL: Regenerated.
63328 2012-05-23  Andreas Jaeger  <aj@suse.de>
63330         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63331         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63332         macro.
63333         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63335         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63337         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63338         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63339         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63340         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63341         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63342         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63343         * sysdeps/unix/sysv/linux/bits/in.h
63344         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63346 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63348         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63349         (PREPARE_VERSION): Just use assert instead, it will be elided
63350         under [NDEBUG] anyway.
63352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63354         * sysdeps/unix/sysv/linux/Makefile: Include
63355         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63356         (sysdep_routines): Remove sysctl.
63357         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63358         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63360         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63361         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63363 2012-05-22  Andreas Jaeger  <aj@suse.de>
63365         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63366         that pseudo_end is just ret and the stack pointer is correct also
63367         for static library in error case.
63369 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63371         [BZ #14122]
63372         * nss/nsswitch.c (defconfig_entries): New variable.
63373         (__nss_database_lookup): Don't leak defconfig entries.
63374         (nss_parse_service_list): Don't leak on error paths.
63375         (free_database_entries): New function.
63376         (free_defconfig): New function.
63377         (free_mem): Move common code to free_database_entries.
63379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63382         Add arch_prctl.
63383         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63385         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63386         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63388         New macro.
63389         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63390         (INTERNAL_SYSCALL_TYPES): Likewise.
63391         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63392         (LOAD_REGS_TYPES_[1-6]): Likewise.
63393         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63394         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63396 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63398         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63399         copysignl for GLIBC_2_0.
63400         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63401         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63403         logbl for GLIBC_2_0.
63404         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63405         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63407 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63409         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63412         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63413         Use "neg %eax".
63415         * time/mktime.c: Update copyright years.
63417 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63419         mktime: merge comment-quoting-style change from gnulib
63420         * time/mktime.c: Quote 'like this' in comments.
63421         The GNU coding standards suggest that we no longer quote `like this',
63422         as "`" and "'" are typically rendered asymmetrically nowadays.
63423         The typical gnulib style is to quote 'like this' when quoting
63424         code, and "like this" when quoting English.
63426         * time/mktime.c (compile-command): Add "-I.".
63428         mktime: merge mktime-internal.h change from gnulib
63429         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63431         mktime: merge time_r change from gnulib
63432         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63434         mktime: merge DEBUG change from gnulib
63435         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63436         case system <time.h> has a #define.
63438         mktime: merge <sys/types.h> change from gnulib
63439         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63440         since <time.t> is now guaranteed to define time_t.
63442         mktime: merge HAVE_CONFIG_H change from gnulib
63443         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63445 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63448         Use "neg %eax".
63450         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63451         __rlim_t cast.
63452         (struct rusage): Use anonymous union to pad each field to
63453         __syscall_slong_t.
63455 2012-05-21  David S. Miller  <davem@davemloft.net>
63457         * Makefules (o-iterator): Remove .s cases.
63458         (compile-command.s): Delete.
63459         (COMPILE.s): Delete.
63460         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63462 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63464         * configure.in (libc_cv_predef_stack_protector): Only consider
63465         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63466         * configure: Regenerated.
63468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63471         New macro.  Use R*LP on int and pointer.
63472         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63473         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63474         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63475         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63477         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63478         [__WORDSIZE_TIME64_COMPAT32] instead of
63479         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63480         (struct utmp): Likewise.
63481         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63482         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63483         Renamed to ...
63484         (__WORDSIZE_TIME64_COMPAT32): This.
63485         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63486         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63487         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63488         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63489         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63490         (__WORDSIZE_TIME64_COMPAT32): New macro.
63492 2012-05-21  Andreas Jaeger  <aj@suse.de>
63494         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63495         only if [SHARED]. Add prototype for __wcschr_ia32.
63497 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63499         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63500         of %rbp unmolested in the jmp_buf while mangling the low bits.
63501         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63502         unmolested high bits of %rbp while demangling the low bits.
63503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63505 2012-05-21  Andreas Jaeger  <aj@suse.de>
63507         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63508         * sunrpc/svc_simple.c: Use it for registerrpc.
63509         * sunrpc/xcrypt.c: Use it for passwd2des.
63511         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63515         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63516         Don't define if [__SYSCALL_WORDSIZE != 32].
63517         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63518         New macro.
63520 2012-05-21  Bruno Haible  <bruno@clisp.org>
63521             Andreas Jaeger  <aj@suse.de>
63523         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63524         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63525         inptr and inend for must_buffer_ch.
63526         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63527         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63528         * stdio-common/Makefile (tests): Remove bug15.
63529         (bug15-ENV): Remove macro.
63530         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63531         anymore.
63533 2012-05-19  Andreas Jaeger  <aj@suse.de>
63534             Roland McGrath  <roland@hack.frob.com>
63536         * manual/contrib.texi: Completely rewritten. It contains now an
63537         alphabetical list of contributors and their contributions.
63539 2012-05-21  Richard Henderson  <rth@twiddle.net>
63541         * misc/getauxval.c (__getauxval): Use unsigned long int.
63542         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63543         (getauxval): Use unsigned long int.
63545 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63547         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63549 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63551         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63552         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63553         __alignof__ (long double).
63555 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63559 2012-05-20  Richard Henderson  <rth@twiddle.net>
63561         * misc/getauxval.c: New file.
63562         * misc/sys/auxv.h: New file.
63563         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63564         (routines): Add getauxval.
63565         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63567         * elf/dl-sysdep.c (_dl_auxv): Remove.
63568         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63569         * elf/dl-support.c (_dl_auxv): New variable.
63570         (_dl_aux_init): Initialize it.
63571         * manual/startup.texi (Auxiliary Vector): New node.
63572         * sysdeps/generic/bits/hwcap.h: New file.
63573         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63574         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63575         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63576         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63577         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63580         Update.
63581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63590 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63594 2012-05-19  David S. Miller  <davem@davemloft.net>
63596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63600         [BZ #14123]
63601         * math/s_ccosh.c: Include <float.h>
63602         (__ccosh): Avoid internal overflow calculating sinh and cosh
63603         values before multiplying by sin and cos values.
63604         * math/s_ccoshf.c: Likewise.
63605         * math/s_ccoshl.c: Likewise.
63606         * math/s_csin.c: Likewise.
63607         * math/s_csinf.c: Likewise.
63608         * math/s_csinl.c: Likewise.
63609         * math/s_csinh.c: Likewise.
63610         * math/s_csinhf.c: Likewise.
63611         * math/s_csinhl.c: Likewise.
63612         * math/libm-test.inc (ccos_test): Add more tests.
63613         (ccosh_test): Likewise.
63614         (csin_test): Likewise.
63615         (csinh_test): Likewise.
63616         * sysdeps/i386/fpu/libm-test-ulps: Update.
63617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63619 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63621         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63622         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63624         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63626 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63628         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63629         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63630         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63631         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63632         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63633         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63634         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63635         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63636         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63637         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63638         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63639         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63640         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63641         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63642         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63643         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63644         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63645         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63646         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63647         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63648         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63649         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63650         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63651         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63652         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63653         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63654         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63655         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63656         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63657         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63658         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63660 2012-05-18  Andreas Jaeger  <aj@suse.de>
63662         * csu/.gitignore: Delete.
63664 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63666         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63667         (timex): Use __syscall_slong_t.
63669 2012-05-18  Andreas Jaeger  <aj@suse.de>
63670             Carlos O'Donell  <carlos_odonell@mentor.com>
63672         * manual/install.texi (Configuring and compiling): Update
63673         description about files modified in the source directory.
63674         * INSTALL: Regenerated.
63676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63678         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63679         value.  Use "or" to set return value to -1.
63680         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63681         negate return value.
63683 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63685         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63686         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63687         failure if the compiler has Graphite support disabled.
63688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63689         Likewise.
63690         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63691         (CFLAGS-memmove.c): Likewise.
63692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63693         Likewise.
63695 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63697         * sysdeps/x86_64/x32/_itoa.h: New file.
63699         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63700         getdents system call only if kernel and user dirents have the
63701         same d_ino and d_off.
63703         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63704         LLONG_MAX != LONG_MAX.
63705         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63706         (_fitoa_word): Likewise.
63708         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63709         years.
63710         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63711         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63712         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63714         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63715         include <bits/wordsize.h>.  Check __x86_64__ instead of
63716         __WORDSIZE.
63717         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63718         if __x86_64__ is defined.  Use anonymous union on fpstate.
63720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63721         anonymous union.
63723 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63725         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63726         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63727         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63728         Refer to _rtld_local_ro instead of _rtld_global_ro.
63729         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63730         Likewise.
63731         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63732         Likewise.
63733         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63734         Likewise.
63735         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63736         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63737         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63739         [BZ #10882]
63740         * sysdeps/powerpc/powerpc32/dl-machine.c
63741         (__elf_machine_runtime_setup) [PROF]: Don't reference
63742         _dl_prof_resolve.
63744 2012-05-18  Andreas Jaeger  <aj@suse.de>
63746         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63747         function only available for GCCs before 3.4 since GCC 3.4
63748         introduced a builtin.
63749         (lrint): Likewise.
63750         (llrintf): Likewise.
63751         (llrint): Likewise.
63752         (fmaxf): Likewise.
63753         (fmax): Likewise.
63754         (fminf): Likewise.
63755         (fmin): Likewise.
63756         (rint): Likewise.
63757         (rintf): Likewise.
63758         (nearbyint): Likewise.
63759         (nearbyintf): Likewise.
63760         (ceil): Likewise.
63761         (ceilf): Likewise.
63762         (floor): Likewise.
63763         (floorf): Likewise.
63765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63767         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63768         on both fields and cast pointer to __syscall_ulong_t.
63770         * bits/types.h (__fsword_t): New type.
63771         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63772         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63774         (__FSWORD_T_TYPE): Likewise.
63775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63776         (__FSWORD_T_TYPE): Likewise.
63777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63778         (__FSWORD_T_TYPE): Likewise.
63779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63780         (__FSWORD_T_TYPE): Likewise.
63781         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63782         __SWORD_TYPE with __fsword_t.
63783         (statfs64): Likewise.
63785 2012-05-17  David S. Miller  <davem@davemloft.net>
63787         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63789 2012-05-17  Andreas Jaeger  <aj@suse.de>
63791         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63792         warning.
63794 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63796         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63798 2012-05-17  Andreas Jaeger  <aj@suse.de>
63800         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63801         when it is used.
63803 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63805         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63807 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63809         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63810         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63812 2012-05-17  Andreas Jaeger  <aj@suse.de>
63813             Carlos O'Donell  <carlos_odonell@mentor.com>
63815         [BZ #14059]
63816         * sysdeps/x86_64/multiarch/init-arch.h
63817         (bit_YMM_Usable): Rename to...
63818         (bit_AVX_Usable): ... this.
63819         (bit_FMA4_Usable): New macro.
63820         (bit_XMM_state): New macro.
63821         (bit_YMM_state): New macro.
63822         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63823         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63824         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63825         (CPUID_OSXSAVE): New macro.
63826         (CPUID_AVX): New macro.
63827         (CPUID_FMA4): New macro.
63828         (index_YMM_Usable): Rename to...
63829         (index_AVX_Usable): ... this.
63830         (HAS_AVX): Use HAS_ARCH_FEATURE.
63831         (HAS_FMA4): Likewise.
63832         (HAS_YMM_USABLE): Remove.
63833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63834         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63835         are present.
63836         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63837         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63838         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63839         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63840         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63842 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63844         * math/libm-test.c: Support platforms without multiple rounding modes.
63845         * math/bug-nextafter.c: Support platforms without FP exceptions.
63846         * math/bug-nexttoward.c: Likewise.
63847         * math/test-fenv.c: Likewise.
63848         * math/test-misc.c: Likewise.
63849         * stdlib/bug-getcontext.c: Likewise.
63851 2012-05-17  Andreas Jaeger  <aj@suse.de>
63853         * manual/examples/search.c (critter_cmp): Change signature to
63854         avoid warnings.
63855         * manual/string.texi (Collation Functions): Likewise.
63857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63859         * bits/types.h: Fold copyright years.
63860         * bits/typesizes.h: Likewise.
63861         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63864         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63865         * time/time.h: Likewise.
63867 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63869         [BZ #208]
63870         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63871         in instead of returning them.  Return void.
63872         (__libc_mallinfo): Accumulate over all arenas.
63873         (__malloc_stats): Adjust for change in int_mallinfo interface.
63875 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63877         [BZ #10375]
63878         * configure.in (NM): Add AC_CHECK_TOOL for it.
63879         (libc_extra_cflags): New substituted variable.
63880         Check for -fstack-protector being used implicitly.
63881         * configure: Regenerated.
63882         * config.make.in (config-extra-cflags): New variable,
63883         gets @libc_extra_cflags@.
63884         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63886         [BZ #10375]
63887         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63888         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63889         * configure: Regenerated.
63890         * config.make.in (CPPUNDEFS): New substituted variable.
63891         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63892         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63893         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63895 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63897         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63898         (mq_attr): Use __syscall_slong_t.
63900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63902         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63903         Check __x86_64__ instead of __WORDSIZE.
63904         (_STAT_VER_LINUX): Likewise.
63905         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63906         __syscall_ulong_t and __syscall_slong_t.
63907         (stat64): Likewise.
63909 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63911         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63915         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63919         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63920         __syscall_ulong_t.
63922         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63923         include <bits/wordsize.h>.  Check __x86_64__ instead of
63924         __WORDSIZE.
63925         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63926         defined.
63927         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63929         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63930         include <bits/wordsize.h>.  Check __x86_64__ instead of
63931         __WORDSIZE.
63932         (user_regs_struct): Use "__extension__ unsigned long long"
63933         instead of "unsigned long" if __x86_64__ is defined.
63934         (user): Likewise.  Pad after pointer field if __ILP32__ is
63935         defined.
63937 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63939         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63940         versions 5 to 9.
63941         * configure: Regenerated.
63942         * manual/install.texi (texinfo): Increase version requirement to
63943         4.5 or later.
63944         * INSTALL: Regenerated.
63946         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63950         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63952         * sysdeps/x86_64/x32/ffs.c: New file.
63954         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63955         __syscall_ulong_t.
63956         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63957         defined.  Use __syscall_ulong_t.
63958         (shminfo): Use __syscall_ulong_t.
63959         (shm_info): Likewise.
63961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63962         __syscall_ulong_t.
63964         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63965         <bits/wordsize.h>.
63966         (msgqnum_t): Use __syscall_ulong_t.
63967         (msglen_t): Likewise.
63968         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63969         __syscall_ulong_t.
63971         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63972         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63974         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63976         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63977         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63979         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63980         __syscall_slong_t.
63982         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63983         include <bits/wordsize.h>.  Check __x86_64__ instead of
63984         __WORDSIZE.
63986         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63987         "unsigned long long int" if __x86_64__ is defined.
63988         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63990         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63991         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63992         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63994         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63995         <stdint.h>.
63996         (GET_PC): Cast to uintptr_t first.
63997         (GET_FRAME): Likewise.
63998         (GET_STACK): Likewise.
64000         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64001         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64002         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64003         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64004         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64005         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64006         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64007         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64008         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64009         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64010         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64011         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64012         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64013         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64014         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64016         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64017         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64018         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64019         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64020         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64022         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64024         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64026         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64027         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64028         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64030 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64032         * Makerules (+depfiles): Also collect depfiles from .oS in
64033         $(extra-objs).
64034         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64035         .oS, $(libnldbl-routines)).
64037         * Makerules (native-compile-mkdep-flags): Define.
64038         * sunrpc/Makefile (extra-objs): Add $(addprefix
64039         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64040         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64041         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64042         calling $(make-target-directory).
64044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64046         * bits/types.h (__snseconds_t): Removed.
64047         * time/time.h (struct timespec): Replace __snseconds_t with
64048         __syscall_slong_t.
64049         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64050         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64051         Likewise.
64052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64053         (__SNSECONDS_T_TYPE): Likewise.
64054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64055         (__SNSECONDS_T_TYPE): Likewise.
64056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64057         (__SNSECONDS_T_TYPE): Likewise.
64059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64061         * sysdeps/mach/hurd/bits/typesizes.h
64062         (__SYSCALL_SLONG_TYPE): New macro.
64063         (__SYSCALL_ULONG_TYPE): Likewise.
64065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64067         * bits/types.h (__syscall_slong_t): New type.
64068         (__syscall_ulong_t): Likewise.
64070         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64071         (__SYSCALL_ULONG_TYPE): Likewise.
64072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64073         (__SYSCALL_SLONG_TYPE): Likewise.
64074         (__SYSCALL_ULONG_TYPE): Likewise.
64075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64076         (__SYSCALL_SLONG_TYPE): Likewise.
64077         (__SYSCALL_ULONG_TYPE): Likewise.
64078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64079         (__SYSCALL_SLONG_TYPE): Likewise.
64080         (__SYSCALL_ULONG_TYPE): Likewise.
64082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64084         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64085         Add sigaltstack-offsets.sym.
64086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64087         <sigaltstack-offsets.h>.
64088         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64089         longjmp_msg pointer.
64090         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64091         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64092         signal stack.
64093         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64095 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64097         * elf/stackguard-macros.h: Remove file.
64098         * sysdeps/generic/stackguard-macros.h: New file.
64099         * sysdeps/i386/stackguard-macros.h: Likewise.
64100         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64101         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64102         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64103         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64104         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64105         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64106         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64107         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64108         <elf/stackguard-macros.h>.
64110         [BZ #14109]
64111         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64112         __aligned__ in attribute.
64113         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64114         (gregset_t): Likewise.
64116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64118         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64119         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64120         * sysdeps/x86_64/x32/Implies-after: New file.
64122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64124         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64125         and access return value for _dl_profile_fixup.  Use R10_LP to
64126         load frame size.
64128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64130         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64134         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64135         * sysdeps/x86_64/x32/sysdep.h: New file.
64137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64139         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64140         * sysdeps/x86_64/setjmp.S: Likewise.
64142 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64144         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64145         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64146         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64148         remove unused global constant.
64150 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64152         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64153         include of <not-cancel.h>.
64155 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64157         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64159 2012-05-15  Jeff Law  <law@redhat.com>
64160             Andreas Jaeger  <aj@suse.de>
64162         [BZ #13594]
64163         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64164         out from...
64165         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64166         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64167         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64168         code changing __hst_map_handle.map.
64170 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64172         * configure.in (sysnames): Look for Implies-before and Implies-after
64173         files.
64174         * configure: Regenerated.
64176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64178         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64179         8-byte data alignment with LP_SIZE alignment.
64181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64184         into R10_LP.
64186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64188         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64192         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64193         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64195         Likewise.
64196         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64200         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64201         (stackinfo_sub_sp): Likewise.
64203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64205         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64206         RAX_LP.
64208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64210         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64211         into R*_LP.
64213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64215         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64216         sizes into R*_LP.
64218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64220         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64224         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64225         into R11_LP and load __x86_64_shared_cache_size_half into
64226         R8_LP.
64228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64230         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64231         R8_LP.
64233 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64235         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64236         logb for POWER7.
64237         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64238         logbf for POWER7.
64239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64240         logbl for POWER7.
64241         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64242         powerpc32/power7/fpu/s_logb.c via #include.
64243         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64244         powerpc32/power7/fpu/s_logbf.c via #include.
64245         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64246         powerpc32/power7/fpu/s_logbl.c via #include.
64248 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64250         * README.libm: Remove file.
64252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64254         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64255         count for x32.  Use R*_LP and omit operand-size suffix.
64257 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64259         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64260         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64261         * sysdeps/x86_64/x32/shlib-versions: New file.
64263 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64265         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64266         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64267         Use _dl_fatal_printf instead.
64269 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64271         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64272         set if not set by the user.  Do not allow for being unset.
64273         * sysdeps/unix/sysv/linux/configure: Regenerated.
64275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64277         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64278         the `q' suffix from lea and replace .quad with ASM_ADDR.
64280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64283         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64284         instead of $17.
64285         (PTR_DEMANGLE): Likewise.
64287 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64289         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64290         (LP_OP): Likewise.
64291         (ASM_ADDR): Likewise.
64292         (RAX_LP): Likewise.
64293         (RBP_LP): Likewise.
64294         (RBX_LP): Likewise.
64295         (RCX_LP): Likewise.
64296         (RDI_LP): Likewise.
64297         (RSI_LP): Likewise.
64298         (RSP_LP): Likewise.
64299         (R8_LP): Likewise.
64300         (R9_LP): Likewise.
64301         (R10_LP): Likewise.
64302         (R10_LP): Likewise.
64303         (R11_LP): Likewise.
64304         (R12_LP): Likewise.
64305         (R13_LP): Likewise.
64306         (R14_LP): Likewise.
64307         (R15_LP): Likewise.
64309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64311         * sysdeps/x86_64/x32/dl-machine.h: New file.
64313 2012-05-14  Andreas Jaeger  <aj@suse.de>
64315         * manual/Makefile (subdir): Remove export of subdir.
64316         (all): Remove target.
64317         (.PHONY): Remove all from list.
64318         (mkinstalldirs): Remove.
64319         (.PHONY): Remove installdirs from list.
64320         ($(inst_infodir)/libc.info): Use make-target-directory.
64321         (installdirs): Remove.
64322         (subdir_%): Remove.
64323         (glibc-targets): Remove.
64324         (lib): Remove.
64325         (stubs): Remove.
64326         ($(objpfx)stubs ../po/manual.pot): Remove.
64327         ($(objpfx)stamp%): Remove.
64328         (make-target-directory): Remove.
64329         (subdir_install): Remove.
64330         (routines): Remove.
64331         (aux): Remove.
64332         (sources): Remove.
64333         (objects): Remove.
64334         (headers): Remove.
64336         [BZ #13750]
64337         * manual/.gitignore: Remove, it's not needed anymore.
64338         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64339         all files in it.
64340         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64341         directory.
64342         (texis): Renamed to $(objpfx)texis.
64343         (texis-path): New, contains path to generated files.
64344         (chapters.%): Use texis-path for complete path, add extra argument
64345         libc-texinfo.sh.
64346         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64347         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64348         (summary,texi, stamp-summary): Use complete path of
64349         files. Generate files in build dir.
64350         (dir-add.texi): Build in build dir.
64351         (libm-err.texi,stamp-libm-err): Likewise.
64352         (version.texi, stamp-version): Likewise.
64353         (.%c.texi): Likewise.
64354         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64355         (mostlyclean): Remove target.
64356         (realclean): Remove target.
64357         (generated): Add new variable with contents from mostlyclean and
64358         realclean, remove entries duplicated in common-mostlyclean, add
64359         stamp-libm-err and stamp-version.
64360         (generated-dirs): Add libc directory.
64361         ($(inst_infodir)/libc.info): Install files from build dir.
64363         * manual/install.texi (Configuring and compiling): Adjust since
64364         the info files are not part of the tar ball anymore.
64366 2012-05-14  Andreas Jaeger  <aj@suse.de>
64368         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64369         variable.
64371 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64373         [BZ #13717]
64374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64375         to 2.2.0 where earlier.
64376         * sysdeps/unix/sysv/linux/configure: Regenerated.
64377         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64378         Remove conditional code.
64379         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64380         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64381         Remove conditional code.
64382         [!__NR_lchown]: Likewise.
64383         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64384         [__NR_lchown]: Likewise.
64385         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64386         comment referencing __ASSUME_LCHOWN_SYSCALL.
64387         * sysdeps/unix/sysv/linux/i386/sigaction.c
64388         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64389         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64390         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64391         Remove conditional code.
64392         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64393         (__protocol_available): Remove #if 0 code.
64394         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64395         conditional code.
64396         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64397         * sysdeps/unix/sysv/linux/kernel-features.h
64398         (__ASSUME_GETCWD_SYSCALL): Don't define.
64399         (__ASSUME_REALTIME_SIGNALS): Likewise.
64400         (__ASSUME_PREAD_SYSCALL): Likewise.
64401         (__ASSUME_PWRITE_SYSCALL): Likewise.
64402         (__ASSUME_POLL_SYSCALL): Likewise.
64403         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64404         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64405         non-SPARC.
64406         (__ASSUME_SIOCGIFNAME): Don't define.
64407         (__ASSUME_MSG_NOSIGNAL): Likewise.
64408         (__ASSUME_SENDFILE): Define unconditionally.
64409         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64410         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64411         conditional code.
64412         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64413         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64414         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64415         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64416         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64417         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64418         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64423         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64424         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64429         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64432         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64435         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64443         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64444         Remove conditional code.
64445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64446         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64447         Remove conditional code.
64448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64449         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64450         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64451         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64452         Remove conditional code.
64453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64454         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64455         Remove conditional code.
64456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64457         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64458         Remove conditional code.
64459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64460         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64461         Remove conditional code.
64462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64463         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64464         Remove conditional code.
64465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64466         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64467         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64469         * sysdeps/unix/sysv/linux/sigaction.c
64470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64472         * sysdeps/unix/sysv/linux/sigpending.c
64473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64475         * sysdeps/unix/sysv/linux/sigprocmask.c
64476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64478         * sysdeps/unix/sysv/linux/sigsuspend.c
64479         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64480         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64481         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64482         (__libc_missing_rt_sigs): Remove.
64483         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64484         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64485         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64486         Remove conditional code.
64487         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64488         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64489         return 1.
64490         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64491         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64492         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64493         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64495 2012-05-14  Andreas Jaeger  <aj@suse.de>
64497         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64498         it's not used in glibc.
64499         (__coshm1): Likewise.
64500         (__acosh1p): Likewise.
64501         (__sgn): Likewise.
64503         * manual/string.texi (Copying and Concatenation): Add missing
64504         variable in concat example.
64505         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64509         [BZ #14103]
64510         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64511         __builtin_clzl with __builtin_clzll.
64513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64515         [BZ #14104]
64516         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64517         libc_freeres_ptr.
64519 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64521         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64522         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64523         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64524         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64526 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64528         * NEWS: Update ia64 info.
64530 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64532         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64533         used as bcopy.
64535 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64537         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64538         * sysdeps/unix/syscalls.list (dup3): Likewise.
64539         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64540         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64542 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64544         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64545         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64547 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64549         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64550         thread pointer.
64551         (TLS_IE): Use mov/add instead of movq/addq to load thread
64552         pointer.
64553         (TLS_GD_PREFIX): New.
64554         (TLS_GD): Use it.
64556 2012-05-11  David S. Miller  <davem@davemloft.net>
64558         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64559         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64560         (_FPU_SETCW): Likewise.
64562 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64564         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64565         is 32-byte aligned.
64567 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64569         [BZ #11837]
64570         * iconvdata/gb18030.c: Update tables.
64571         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64572         characters specially.
64573         (BODY for TO_LOOP): Add encoding of missing ranges.
64575 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64577         [BZ #13673]
64578         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64579         * sysdeps/mach/hurd/dup3.c: Likewise.
64580         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64581         * sysdeps/powerpc/memmove.c:: Likewise.
64583 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64586         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64590         * elf/elf.h (R_X86_64_RELATIVE64): New.
64591         (R_X86_64_NUM): Updated.
64592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64593         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64594         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64595         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64596         tst-quad1pie tst-quad2pie
64597         (modules-names): Add tst-quadmod1 tst-quadmod2.
64598         ($(objpfx)tst-quad1): New dependency.
64599         ($(objpfx)tst-quad2): Likewise.
64600         ($(objpfx)tst-quad1pie): Likewise.
64601         ($(objpfx)tst-quad2pie): Likewise.
64602         * sysdeps/x86_64/tst-quad1.c: New file.
64603         * sysdeps/x86_64/tst-quad1pie.c: New file.
64604         * sysdeps/x86_64/tst-quad2.c: Likewise.
64605         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64606         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64607         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64608         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64609         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64613         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64614         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64615         * streams/stropts.h (t_scalar_t): Define type.
64617         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64618         (_PATH_PRESERVE): Set to "/var/lib".
64619         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64621         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64622         instead of int.
64624         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64625         if __dir_mkfile succeeded.
64627         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64628         checking for _hurd_dtablesize.  Unlock it right after having
64629         finished _hurd_dtable allocation.
64631 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64633         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64634         * sysdeps/mach/hurd/configure: Regenerated.
64635         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64636         special-casing to...
64637         * sysdeps/gnu/configure.in: ... this new file.
64638         * sysdeps/unix/sysv/linux/configure: Regenerated.
64639         * sysdeps/gnu/configure: New generated file.
64641         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64642         for Linux: use nsec instead of usec, as well as:
64643         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64644         members of type struct timespec.
64645         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64646         New macros.
64647         (struct stat64): Likewise.
64648         (_STATBUF_ST_NSEC): New macro.
64649         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64651         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64652         __strtoul_internal rather than strtoul.
64654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64656         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64657         and reject them.
64659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64661         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64662         which preserves existing values.
64663         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64665 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64667         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64668         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64669         greater than FD_SETSIZE.
64671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64673         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64674         allocated, call __vm_protect to finish enabling the existing space, and
64675         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64676         allocate the remainder.
64678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64680         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64681         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64685         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64686         sysdeps/mach/hurd/readlink.c.
64688         * posix/tst-sysconf.c (posix_options): Only use
64689         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64690         _POSIX_SYNCHRONIZED_IO when they are defined
64691         * sysdeps/mach/hurd/bits/posix_opt.h:
64692         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64693         (_XOPEN_REALTIME): Undefine macro.
64694         (_XOPEN_REALTIME_THREADS): Undefine macro.
64695         (_XOPEN_SHM): Undefine macro.
64696         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64697         macro to -1.
64698         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64699         macro to -1.
64700         (_POSIX_ASYNC_IO): Undefine macro.
64701         (_POSIX_PRIORITIZED_IO): Undefine macro.
64702         (_POSIX_SPIN_LOCKS): Define macro to -1.
64704         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64705         SA_NODEFER, SA_RESETHAND.
64706         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64707         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64708         F_DUPFD_CLOEXEC.
64710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64712         * elf/Makefile (pldd-modules): Define unconditionally.
64714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64716         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64718 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64720         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64721         Return ENOENT when name is empty.
64722         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64726         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64728         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64732         Fix mlock in all cases except non-readable pages.
64733         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64734         instead of VM_PROT_ALL as parameter to __vm_wire function.
64736         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64737         (__mkdir): When path is `/', just fail with EEXIST.
64738         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64742         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64743         <sys/uio.h> (for writev).
64744         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64745         and <sys/param.h> (for MIN).
64747 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64749         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64750         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64751         if interrupted.
64753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64755         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64756         Depend on against $(link-rpcuserlibs).
64758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64760         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64761         (__libc_stack_end): Do not use attribute_relro.
64762         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64763         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64764         to libthread-provided value.
64765         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64766         attribute_relro.
64768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64770         [BZ #3748]
64771         * bits/libc-lock.h (__libc_once_get): New macro.
64772         * sysdeps/mach/bits/libc-lock.h: Likewise.
64773         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64775         instead of using implementation details.
64777         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64778         * libio/freopen.c: Likewise.
64779         * libio/freopen64.c: Likewise.
64780         * misc/syslog.c: Likewise.
64781         * nscd/connections.c: Likewise.
64782         * nscd/netgroupcache.c: Likewise.
64783         * sysdeps/posix/getcwd.c: Likewise.
64785 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64787         * math/w_ilogbf.c: Add #include <limits.h>.
64789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64791         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64792         path instead of returning without unlocking.
64794         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64795         immediate-write ioctls.
64796         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64800         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64801         __builtin_frame_address instead of making assumptions about the
64802         location of the return address relative to DATA.  Force early load of
64803         the return address.
64804         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64805         __builtin_frame_address.
64807         dup3 for GNU Hurd.
64808         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64809         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64810         implement dup3 and do some further code clean-ups.
64811         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64816         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64818         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64819         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64820         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64821         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64822         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64823         d->port.lock.
64825         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64826         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64827         when handler == SIG_ERR, not when handler != SIG_ERR.
64829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64831         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64832         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64833         definitions.
64835         accept4 for GNU Hurd.
64836         * include/sys/socket.h (__libc_accept4): New prototype.
64837         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64838         to implement __libc_accept4.
64839         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64840         __libc_accept4.
64841         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64843         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64844         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64845         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64846         signal-defines.sym.
64848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64850         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64854         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64855         assertion on O_CLOEXEC flag.
64856         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64857         * hurd/intern-fd.c: Likewise.
64858         * hurd/port2fd.c: Likewise.
64860 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64862         [BZ #3906]
64863         * bits/in.h (IPV6_PKTINFO): Define new macro.
64864         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64866 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64868         [BZ #13954]
64869         [BZ #13955]
64870         [BZ #13956]
64871         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64873         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64874         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64876         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64877         * math/libm-test.inc (logb_test) : Additional logb tests.
64879 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64880             Andreas Jaeger  <aj@suse.de>
64882         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64883         * configure: Regenerated.
64884         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64885         * config.make.in (link-obsolete-rpc): New substituted variable.
64886         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64887         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64888         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64889         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64890         so that libc.a contains the symbols.
64891         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64892         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64893         * sunrpc/auth_none.c: Likewise.
64894         * sunrpc/auth_unix.c: Likewise.
64895         * sunrpc/authdes_prot.c: Likewise.
64896         * sunrpc/authuxprot.c: Likewise.
64897         * sunrpc/clnt_gen.c: Likewise.
64898         * sunrpc/clnt_perr.c: Likewise.
64899         * sunrpc/clnt_raw.c: Likewise.
64900         * sunrpc/clnt_simp.c: Likewise.
64901         * sunrpc/clnt_tcp.c: Likewise.
64902         * sunrpc/clnt_udp.c: Likewise.
64903         * sunrpc/clnt_unix.c: Likewise.
64904         * sunrpc/des_crypt.c: Likewise.
64905         * sunrpc/des_soft.c: Likewise.
64906         * sunrpc/get_myaddr.c: Likewise.
64907         * sunrpc/key_call.c: Likewise.
64908         * sunrpc/key_prot.c: Likewise.
64909         * sunrpc/netname.c: Likewise.
64910         * sunrpc/pm_getmaps.c: Likewise.
64911         * sunrpc/pm_getport.c: Likewise.
64912         * sunrpc/pmap_clnt.c: Likewise.
64913         * sunrpc/pmap_prot.c: Likewise.
64914         * sunrpc/pmap_prot2.c: Likewise.
64915         * sunrpc/pmap_rmt.c: Likewise.
64916         * sunrpc/publickey.c: Likewise.
64917         * sunrpc/rpc_cmsg.c: Likewise.
64918         * sunrpc/rpc_common.c: Likewise.
64919         * sunrpc/rpc_dtable.c: Likewise.
64920         * sunrpc/rpc_prot.c: Likewise.
64921         * sunrpc/rpc_thread.c: Likewise.
64922         * sunrpc/rtime.c: Likewise.
64923         * sunrpc/svc.c: Likewise.
64924         * sunrpc/svc_auth.c: Likewise.
64925         * sunrpc/svc_raw.c: Likewise.
64926         * sunrpc/svc_run.c: Likewise.
64927         * sunrpc/svc_tcp.c: Likewise.
64928         * sunrpc/svc_udp.c: Likewise.
64929         * sunrpc/svc_unix.c: Likewise.
64930         * sunrpc/svcauth_des.c: Likewise.
64931         * sunrpc/xcrypt.c: Likewise.
64932         * sunrpc/xdr.c: Likewise.
64933         * sunrpc/xdr_array.c: Likewise.
64934         * sunrpc/xdr_float.c: Likewise.
64935         * sunrpc/xdr_intXX_t.c: Likewise.
64936         * sunrpc/xdr_mem.c: Likewise.
64937         * sunrpc/xdr_rec.c: Likewise.
64938         * sunrpc/xdr_ref.c: Likewise.
64939         * sunrpc/xdr_sizeof.c: Likewise.
64940         * sunrpc/xdr_stdio.c: Likewise.
64942 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64944         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64945         change.  Update copyright years.
64947 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64949         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64951 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64952             Joseph Myers  <joseph@codesourcery.com>
64953             Paul Pluzhnikov  <ppluzhnikov@google.com>
64955         [BZ #14012]
64956         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64957         requiring rpcgen.
64958         [cross-compiling] (extra-libs): Likewise.
64959         [cross-compiling] (extra-libs-others): Likewise.
64960         [cross-compiling] (librpcsvc-routines): Likewise.
64961         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64962         [cross-compiling] (omit-deps): Likewise.
64963         (sunrpc-CPPFLAGS): New variable.
64964         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64965         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64966         (cross-rpcgen-objs): New variable.
64967         (extra-objs): Append $(cross-rpcgen-objs).
64968         ($(cross-rpcgen-objs)): New rule.
64969         ($(objpfx)cross-rpcgen): Likewise.
64970         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64971         comment.
64972         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64973         ($(objpfx)x%.stmp): Likewise.
64974         * sunrpc/proto.h [IS_IN_build] (_): Define.
64975         [IS_IN_build] (_libc_intl_domainname): Likewise.
64977 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64980         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64981         and R_X86_64_TPOFF64.
64983 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64985         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64986         sysdeps/unix/sysv/syscalls.list.
64987         (stime): Likewise.
64988         (utime): Likewise.
64989         * sysdeps/unix/sysv/syscalls.list: Remove file.
64991 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64993         [BZ #3440]
64994         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64995         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64996         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64997         (__LC_IDENTIFICATION): Make these macros useful in #if
64998         expressions, as required by C99.
65000 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65002         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65003         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65004         after this.
65006 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65008         * stdlib/longlong.h: Updated from GCC.
65010 2012-05-09  Andreas Jaeger  <aj@suse.de>
65012         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65013         default is first entry.
65014         (run_mode): Set type.
65015         (main): Remove informal message about syslog.
65016         (options): Fix typo.
65018         [BZ #14053]
65019         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65020         to asm.
65021         (lrint): Likewise.
65022         (llrintf): Likewise.
65023         (llrint): Likewise.
65024         (rint): Likewise.
65025         (rintf): Likewise.
65026         (nearbyint): Likewise.
65027         (nearbyintf): Likewise.
65029 2012-05-09  Andreas Jaeger  <aj@suse.de>
65030             Pedro Alves  <palves@redhat.com>
65032         * nscd/nscd.c (run_mode): Use enum.
65033         (main): Cleanup coding style issue.
65035 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65036             Andreas Jaeger  <aj@suse.de>
65038         * nscd/nscd.c (go_background): Replaced with...
65039         (run_mode): ... this.
65040         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65041         (options): Add -F --foreground.
65042         (main): Implement it.
65043         (parse_opt): Parse it.
65045 2012-05-09  Andreas Jaeger  <aj@suse.de>
65047         [BZ #14083]
65048         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65049         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65050         -Wconversion warning.
65051         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65052         Likewise.
65054 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65056         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65057         == 0.
65058         (LC_ALL): Use macro-int-constant.
65059         (LC_COLLATE): Likewise.
65060         (LC_CTYPE): Likewise.
65061         (LC_MESSAGES): Likewise.
65062         (LC_MONETARY): Likewise.
65063         (LC_NUMERIC): Likewise.
65064         (LC_TIME): Likewise.
65065         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65066         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65068         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65069         Specify type.
65070         [C99-based standards] (float_t): Expect type.
65071         [C99-based standards] (double_t): Expect type.
65072         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65073         type.
65074         [C99-based standards] (HUGE_VALL): Likewise.
65075         [C99-based standards] (INFINITY): Likewise.
65076         [C99-based standards] (NAN): Likewise.
65077         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65078         [C99-based standards] (FP_NAN): Likewise.
65079         [C99-based standards] (FP_NORMAL): Likewise.
65080         [C99-based standards] (FP_SUBNORMAL): Likewise.
65081         [C99-based standards] (FP_ZERO): Likewise.
65082         [C99-based standards] (FP_FAST_FMA): Use
65083         optional-macro-int-constant.  Specify type.  Require == 1.
65084         [C99-based standards] (FP_FAST_FMAF): Likewise.
65085         [C99-based standards] (FP_FAST_FMAL): Likewise.
65086         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65087         [C99-based standards] (FP_ILOGBNAN): Likewise.
65088         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65089         Specify type.
65090         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65091         [C99-based standards] (math_errhandling): Specify type.
65092         [ISO99 || ISO11] (signgam): Do not allow.
65093         [non-C99-based standards] (copysignf): Do not allow.
65094         [non-C99-based standards] (exp2f): Likewise.
65095         [non-C99-based standards] (log2f): Likewise.
65096         [non-C99-based standards] (modff): Allow.
65097         [non-C99-based standards] (erff): Do not allow.
65098         [non-C99-based standards] (erfcf): Likewise.
65099         [non-C99-based standards] (gammaf): Likewise.
65100         [non-C99-based standards] (hypotf): Likewise.
65101         [non-C99-based standards] (j0f): Likewise.
65102         [non-C99-based standards] (j1f): Likewise.
65103         [non-C99-based standards] (jnf): Likewise.
65104         [non-C99-based standards] (lgammaf): Likewise.
65105         [non-C99-based standards] (tgammaf): Likewise.
65106         [non-C99-based standards] (y0f): Likewise.
65107         [non-C99-based standards] (y1f): Likewise.
65108         [non-C99-based standards] (ynf): Likewise.
65109         [non-C99-based standards] (isnanf): Likewise.
65110         [non-C99-based standards] (acoshf): Likewise.
65111         [non-C99-based standards] (asinhf): Likewise.
65112         [non-C99-based standards] (atanhf): Likewise.
65113         [non-C99-based standards] (cbrtf): Likewise.
65114         [non-C99-based standards] (expm1f): Likewise.
65115         [non-C99-based standards] (ilogbf): Likewise.
65116         [non-C99-based standards] (log1pf): Likewise.
65117         [non-C99-based standards] (logbf): Likewise.
65118         [non-C99-based standards] (nextafterf): Likewise.
65119         [non-C99-based standards] (remainderf): Likewise.
65120         [non-C99-based standards] (rintf): Likewise.
65121         [non-C99-based standards] (scalbf): Likewise.
65122         [non-C99-based standards] (copysignl): Likewise.
65123         [non-C99-based standards] (exp2l): Likewise.
65124         [non-C99-based standards] (log2l): Likewise.
65125         [non-C99-based standards] (modfl): Allow.
65126         [non-C99-based standards] (erfl): Do not allow.
65127         [non-C99-based standards] (erfcl): Likewise.
65128         [non-C99-based standards] (gammal): Likewise.
65129         [non-C99-based standards] (hypotl): Likewise.
65130         [non-C99-based standards] (j0l): Likewise.
65131         [non-C99-based standards] (j1l): Likewise.
65132         [non-C99-based standards] (jnl): Likewise.
65133         [non-C99-based standards] (lgammal): Likewise.
65134         [non-C99-based standards] (tgammal): Likewise.
65135         [non-C99-based standards] (y0l): Likewise.
65136         [non-C99-based standards] (y1l): Likewise.
65137         [non-C99-based standards] (ynl): Likewise.
65138         [non-C99-based standards] (isnanl): Likewise.
65139         [non-C99-based standards] (acoshl): Likewise.
65140         [non-C99-based standards] (asinhl): Likewise.
65141         [non-C99-based standards] (atanhl): Likewise.
65142         [non-C99-based standards] (cbrtl): Likewise.
65143         [non-C99-based standards] (expm1l): Likewise.
65144         [non-C99-based standards] (ilogbl): Likewise.
65145         [non-C99-based standards] (log1pl): Likewise.
65146         [non-C99-based standards] (logbl): Likewise.
65147         [non-C99-based standards] (nextafterl): Likewise.
65148         [non-C99-based standards] (remainderl): Likewise.
65149         [non-C99-based standards] (rintl): Likewise.
65150         [non-C99-based standards] (scalbl): Likewise.
65151         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65152         [non-C99-based standards] (FP_*): Do not allow.
65153         [C99-based standards] (FP_*): Change to
65154         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65155         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65156         allow.
65157         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65158         (SIG_ERR): Likewise.
65159         [X/Open-based standards] (SIG_HOLD): Likewise.
65160         (SIG_IGN): Likewise.
65161         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65162         positive value.
65163         (SIGFPE): Likewise.
65164         (SIGILL): Likewise.
65165         (SIGINT): Likewise.
65166         (SIGSEGV): Likewise.
65167         (SIGTER): Likewise.
65168         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65169         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65170         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65171         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65172         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65173         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65174         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65175         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65176         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65177         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65178         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65179         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65180         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65181         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65182         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65183         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65184         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65185         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65186         [X/Open-based standards] (SIGTRAP): Likewise.
65187         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65188         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65189         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65190         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65191         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65192         allow.
65194 2012-05-08  Ian Wienand  <ianw@vmware.com>
65196         [BZ #14080]
65197         * time/tzset.c (__tzset_parse_tz): Update default rules for
65198         daylight time changes in the Energy Policy Act of 2005.
65200 2012-05-09  Andreas Jaeger  <aj@suse.de>
65202         [BZ #13983]
65203         * elf/ldconfig.c (parse_conf): Change string to make clear that
65204         ldconfig only issued a warning if ld.so.conf does not exist.
65206 2012-05-08  David S. Miller  <davem@davemloft.net>
65208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65209         movxtod instead of popping the value on the stack.
65211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65213 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65215         * config.h.in: Add HAVE_ARM_PCS_VFP.
65217 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65219         [BZ #13979]
65220         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65221         checking but the checks are disabled for any reason.
65223 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65225         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65226         and ELF64_R_TYPE with ELFW(R_TYPE).
65228 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65230         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65231         (ulimit): Likewise.
65233         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65234         (settimeofday): Likewise.
65236 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65238         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65239         a struct th_u2 inside the union, and move tu_block/tu_code into
65240         a new th_u3 union of tu_block/tu_code inside of that.  Move
65241         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65242         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65243         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65244         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65245         (th_stuff): Change to th_u1.tu_stuff.
65246         (th_data): Define.
65247         (th_msg): Change to th_u1.th_u2.tu_data.
65249 2012-05-07  David S. Miller  <davem@davemloft.net>
65251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65253         [BZ #14074]
65254         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65255         (SETUP_PIC_REG): Use it.
65256         (SETUP_PIC_REG_LEAF): Use it.
65258 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65260         [BZ #13885]
65261         [BZ #13923]
65262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65263         USE_AS_EXPM1L.
65264         (EXPL_FINITE): Likewise.
65265         (FLDLOG): Likewise.
65266         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65267         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65268         e_expl.S.
65269         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65270         USE_AS_EXPM1L.
65271         (EXPL_FINITE): Likewise.
65272         (FLDLOG): Likewise.
65273         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65274         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65275         e_expl.S.
65276         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65277         test of -max_value argument for long double.
65278         * sysdeps/i386/fpu/libm-test-ulps: Update.
65279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65281 2012-05-06  David S. Miller  <davem@davemloft.net>
65283         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65284         quad soft-float symbols whose references which are compiler
65285         generated.
65286         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65288 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65290         [BZ #13884]
65291         [BZ #13914]
65292         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65293         USE_AS_EXP10L.
65294         (EXPL_FINITE): Likewise.
65295         (FLDLOG): Likewise.
65296         (c0): Likewise.
65297         (c1): Likewise.
65298         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65299         Adjust comments for base varying.
65300         (__expl_finite): Change alias to EXPL_FINITE.
65301         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65302         e_expl.S.
65303         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65304         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65306         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65307         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65308         USE_AS_EXP10L.
65309         (EXPL_FINITE): Likewise.
65310         (FLDLOG): Likewise.
65311         (c0): Likewise.
65312         (c1): Likewise.
65313         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65314         Adjust comments for base varying.
65315         (__expl_finite): Change alias to EXPL_FINITE.
65316         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65317         tests for bugs.
65318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65320         [BZ #14064]
65321         * math/libm-test.inc (check_float_internal): Correct ulp
65322         calculation for subnormal expected results.
65324 2012-05-06  Andreas Jaeger  <aj@suse.de>
65326         * Makeconfig (+math-flags): New, set to -frounding-math.
65327         (+cflags): Add +math-flags so that all of glibc gets compiled with
65328         it.
65330         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65332 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65334         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65335         Disable one test.
65337         [BZ #13787]
65338         [BZ #13922]
65339         [BZ #14036]
65340         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65341         (__ieee754_expl): Allow for and saturate large arguments.
65342         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65343         (u_threshold): Likewise.
65344         (__exp): Call __ieee754_exp before checking for overflow and
65345         underflow.
65346         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65347         (u_threshold): Likewise.
65348         (__expf): Call __ieee754_expf before checking for overflow and
65349         underflow.
65350         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65351         (u_threshold): Likewise.
65352         (__expl): Call __ieee754_expl before checking for overflow and
65353         underflow.
65354         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65355         (__ieee754_expl): Allow for and saturate large arguments.
65356         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65357         missing overflow exception on overflow.
65358         (expm1_test): Do not allow missing overflow exception on overflow.
65360         * sysdeps/i386/fpu/e_expl.c: Move to ...
65361         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65362         rather than using inline asm.
65363         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65364         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65365         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65367         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65368         (nice): Likewise.
65369         (poll): Likewise.
65370         (signal): Likewise.
65371         (time): Likewise.
65372         (times): Likewise.
65374 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65376         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65377         sysdeps/unix/common/syscalls.list.
65378         (fchmod): Likewise.
65379         (fchown): Likewise.
65380         (ftruncate): Likewise.
65381         (getrusage): Likewise.
65382         (gettimeofday): Likewise.
65383         (setpgid): Likewise.
65384         (setregid): Likewise.
65385         (setreuid): Likewise.
65386         (sigaction): Likewise.
65387         (truncate): Likewise.
65388         (vhangup): Likewise.
65389         * sysdeps/unix/common/syscalls.list: Remove file.
65390         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65391         * sysdeps/unix/sysv/linux/Implies: Likewise.
65393 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65395         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65397         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65398         Moved to ...
65399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65400         Here.
65401         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65402         to ...
65403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65404         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65405         to ...
65406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65407         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65408         to ...
65409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65410         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65411         to ...
65412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65413         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65414         to ...
65415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65416         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65417         to ...
65418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65419         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65420         to ...
65421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65422         Here.
65423         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65424         to ...
65425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65426         Here.
65427         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65428         to ...
65429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65430         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65431         Moved to ...
65432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65433         Here.
65434         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65435         to ...
65436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65440         * sysdeps/unix/common/bits/dirent.h: Remove file.
65441         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65443         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65444         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65445         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65446         * sysdeps/unix/bsd/isatty.c: Likewise.
65447         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65448         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65449         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65451 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65453         [BZ #13563]
65454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65455         long double comparison inaccuracies.
65456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65459 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65461         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65464 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65466         [BZ #14049]
65467         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65468         nonzero digits before rounding a hex value.
65469         * stdlib/tst-strtod.c (tests): Add another test.
65471 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65473         * sysdeps/s390/fpu/libm-test-ulps: Update.
65475 2012-05-03  Andreas Jaeger  <aj@suse.de>
65477         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65478         does not get optimized out.
65479         (malloc_opt_barrier): New.
65481 2012-05-03  Andreas Jaeger  <aj@suse.de>
65482             Roland McGrath  <roland@hack.frob.com>
65484         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65485         intermediate file deletion.
65486         (generated): Add .symlist files.
65488 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65490         [BZ #13775]
65491         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65492         Redirect under this condition.
65493         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65494         [__USE_GNU] (__dprintf_chk): Not under this condition.
65495         [__USE_GNU] (__vdprintf_chk): Likewise.
65496         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65497         under this condition.
65498         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65499         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65500         [__USE_XOPEN2K8] (vdprintf): Likewise.
65501         [__USE_GNU] (__dprintf_chk): Not under this condition.
65502         [__USE_GNU] (__vdprintf_chk): Likewise.
65503         [__USE_GNU] (dprintf): Likewise.
65504         [__USE_GNU] (vdprintf): Likewise.
65506 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65508         * elf/Makefile (common-generated): Set this instead of generated for
65509         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65510         $(all-built-dso)-derived lists.
65512 2012-05-03  Andreas Jaeger  <aj@suse.de>
65514         * sysdeps/i386/fpu/libm-test-ulps: Update.
65516         * FAQ: Removed.
65517         * FAQ.in: Likewise.
65518         * scripts/gen-FAQ.pl: Likewise.
65519         * manual/install.texi (Installation): Point to online location of
65520         FAQ.
65521         * Makefile (files-for-dist): Remove FAQ.
65522         (FAQ): Remove.
65524 2012-05-02  Allan McRae  <allan@archlinux.org>
65526         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65527         (LDFLAGS-reldepmod5.so): Likewise.
65528         (LDFLAGS-reldep6mod1.so): Likewise.
65529         (LDFLAGS-reldep6mod4.so): Likewise.
65530         (LDFLAGS-reldep8mod3.so): Likewise.
65531         (LDFLAGS-unload4mod1.so): Likewise.
65532         (LDFLAGS-unload4mod2.so): Likewise.
65533         (LDFLAGS-tst-initorder): Likewise.
65534         (LDFLAGS-tst-initordera2.so): Likewise.
65535         (LDFLAGS-tst-initordera3.so): Likewise.
65536         (LDFLAGS-tst-initordera4.so): Likewise.
65537         (LDFLAGS-tst-initorderb2.so): Likewise.
65538         (LDFLAGS-noload): Likewise.
65539         (LDFLAGS-next): Likewise.
65540         (LDFLAGS-order2mod1.so): Likewise.
65541         (LDFLAGS-order2mod2.so): Likewise.
65542         (LDFLAGS-tst-initorder2): Likewise.
65543         (LDFLAGS-tst-initorder2a.so): Likewise.
65544         (LDFLAGS-tst-initorder2b.so): Likewise.
65545         (LDFLAGS-tst-initorder2c.so): Likewise.
65546         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65548 2012-05-02  David S. Miller  <davem@davemloft.net>
65550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65552 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65554         [BZ #14055]
65555         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65557 2012-05-02  Andreas Jaeger  <aj@suse.de>
65559         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65560         since we manipulate rounding mode.
65561         (CPPFLAGS-test-idouble.c): Likewise.
65562         (CPPFLAGS-test-ifloat.c): Likewise.
65563         (CFLAGS-test-ldouble.c): Likewise.
65564         (CFLAGS-test-double.c): Likewise.
65565         (CFLAGS-test-float.c): Likewise.
65566         (CFLAGS-test-misc.c): Likewise.
65567         (CFLAGS-test-test-fenv.c): Likewise.
65569 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65571         [BZ #2550]
65572         [BZ #2570]
65573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65574         comparisons to determine direction to adjust input.
65576 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65578         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65579         output to the target.
65581         * scripts/localplt.awk: New file.
65582         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65583         (check-localplt-CFLAGS): Variable removed.
65584         ($(all-built-dso:=.jmprel)): New static pattern rule.
65585         (generated): Add those targets.
65586         (localplt-built-dso): New variable.
65587         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65589         * elf/check-localplt.c: File removed.
65591         * scripts/check-execstack.awk: New file.
65592         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65593         (check-execstack-CFLAGS): Variable removed.
65594         ($(objpfx)check-execstack.h): Target removed.
65595         ($(objpfx)execstack-default): New target.
65596         (generated): Add that instead of check-execstack.h.
65597         ($(all-built-dso:=.phdr)): New static pattern rule.
65598         (generated): Add those targets.
65599         * elf/check-execstack.c: File removed.
65601         * scripts/check-textrel.awk: New file.
65602         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65603         (check-textrel-CFLAGS): Variable removed.
65604         (all-built-dso): Use := to define.o
65605         ($(all-built-dso:=.dyn)): New static pattern rule.
65606         (generated): Add those targets.
65607         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65608         * config.make.in (READELF): New substituted variable.
65609         * elf/check-textrel.c: File removed.
65611 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65613         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65614         allow.
65615         * conform/data/ctype.h-data [C99-based standards] (isblank):
65616         Expect function.
65617         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65618         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65620         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65621         Specify type.  Require positive value.
65622         (EILSEQ): Likewise.
65623         (ERANGE): Likewise.
65624         [ISO || POSIX] (EILSEQ): Do not expect.
65625         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65626         Specify type.  Require positive value.
65627         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65628         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65629         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65630         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65631         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65632         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65633         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65634         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65635         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65636         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65637         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65638         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65639         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65640         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65641         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65642         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65643         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65644         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65645         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65646         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65647         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65648         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65649         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65650         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65651         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65652         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65653         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65654         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65655         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65656         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65657         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65658         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65659         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65660         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65661         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65662         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65663         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65664         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65665         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65666         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65667         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65668         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65669         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65670         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65671         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65672         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65673         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65674         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65675         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65676         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65677         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65678         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65679         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65680         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65681         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65682         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65683         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65684         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65685         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65686         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65687         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65688         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65689         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65690         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65691         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65692         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65693         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65694         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65695         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65696         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65697         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65698         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65699         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65700         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65701         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65702         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65703         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65704         Require >= 2.
65705         (FLT_ROUNDS): Expect as macro, not constant.
65706         (FLT_MANT_DIG): Use macro-int-constant.
65707         (DBL_MANT_DIG): Likewise.
65708         (LDBL_MANT_DIG): Likewise.
65709         (FLT_DIG): Likewise.
65710         (DBL_DIG): Likewise.
65711         (LDBL_DIG): Likewise.
65712         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65713         (DBL_MIN_EXP): Likewise.
65714         (LDBL_MIN_EXP): Likewise.
65715         (FLT_MAX_EXP): Use macro-int-constant.
65716         (DBL_MAX_EXP): Likewise.
65717         (LDBL_MAX_EXP): Likewise.
65718         (FLT_MAX_10_EXP): Likewise.
65719         (DBL_MAX_10_EXP): Likewise.
65720         (LDBL_MAX_10_EXP): Likewise.
65721         (FLT_MAX): Use macro-constant.
65722         (DBL_MAX): Likewise.
65723         (LDBL_MAX): Likewise.
65724         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65725         (DBL_EPSILON): Likewise.
65726         (LDBL_EPSILON): Likewise.
65727         (FLT_MIN): Likewise.
65728         (DBL_MIN): Likewise.
65729         (LDBL_MIN): Likewise.
65730         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65731         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65732         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65733         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65734         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65735         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65736         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65737         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65738         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65739         [ISO11] (FLT_TRUE_MIN): Likewise.
65740         [ISO11] (LDBL_TRUE_MIN): Likewise.
65741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65742         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65743         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65744         (SCHAR_MAX): Likewise.
65745         (UCHAR_MAX): Likewise.
65746         (CHAR_MIN): Likewise.
65747         (CHAR_MAX): Likewise.
65748         (MB_LEN_MAX): Use macro-int-constant.
65749         (SHRT_MIN): Use macro-int-constant.  Specify type.
65750         (SHRT_MAX): Likewise.
65751         (USHRT_MAX): Likewise.
65752         (INT_MAX): Likewise.
65753         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65754         bound negative.
65755         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65756         bound with "U".
65757         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65758         bound with "L".
65759         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65760         bound negative.  Suffix upper bound with "L".
65761         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65762         bound with "UL".
65763         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65764         Specify type.
65765         [C99-based standards] (LLONG_MAX): Likewise.
65766         [C99-based standards] (ULLONG_MAX): Likewise.
65767         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65768         == 0.
65769         [ISO11] (max_align_t): Require type.
65770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65772         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65773         from $CFLAGS, without defining away __attribute__ calls.
65774         (checknamespace): Use $CFLAGS_namespace.
65776         * conform/conformtest.pl (@keywords): Only include C99 keywords
65777         for standards based on C99 or C11.
65779         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65780         Disable tests.
65781         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65782         UNIX98]: Likewise.
65784         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65785         usability of symbols in #if.
65787         * conform/conformtest.pl: If macro or constant types start
65788         "promoted:", expect the symbol to be of the following type
65789         promoted by the integer promotions.
65791         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65792         in one place.  Also handle "macro-constant".
65794         * conform/conformtest.pl: Only accept expected macro values with
65795         "==".  Parse all "macro" lines in one place.
65796         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65798         * conform/conformtest.pl: Handle braced types on "constant" lines
65799         instead of handling "typed-constant".
65800         * conform/data/signal.h-data: Use "constant" instead of
65801         "typed-constant".
65803         * conform/conformtest.pl: Handle "optional-" at start of lines in
65804         one place rather than duplicating several cases.  Handle each
65805         format of "macro" line with initial "optional-".
65807         * conform/conformtest.pl: Only accept expected constant or
65808         optional-constant values with "==".  Parse all "constant" lines in
65809         one place.  Parse all "optional-constant" lines in one place.
65810         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65811         * conform/data/fmtmsg.h-data: Likewise.
65812         * conform/data/netinet/in.h-data: Likewise.
65813         * conform/data/tar.h-data: Likewise.
65814         * conform/data/limits.h-data: Use "==" form on "constant" and
65815         "optional-constant" lines.
65817         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65818         Use -std=c99 for XOPEN2K.
65819         (@knownproblems): Remove.
65820         (newtoken): Don't check %isknown.
65822         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65823         Do not expect macro.
65824         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65825         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65826         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65827         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65828         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65829         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65830         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65831         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65832         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65833         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65834         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65835         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65836         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65837         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65838         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65839         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65840         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65841         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65842         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65843         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65844         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65845         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65846         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65847         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65848         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65849         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65850         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65851         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65852         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65853         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65854         [XPG3] (acosh): Likewise.
65855         [XPG3] (asinh): Likewise.
65856         [XPG3] (atanh): Likewise.
65857         [XPG3] (cbrt): Likewise.
65858         [XPG3] (expm1): Likewise.
65859         [XPG3] (ilogb): Likewise.
65860         [XPG3] (log1p): Likewise.
65861         [XPG3] (logb): Likewise.
65862         [XPG3] (nextafter): Likewise.
65863         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65864         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65865         [XPG3] (remainder): Likewise.
65866         [XPG3] (rint): Likewise.
65867         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65868         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65869         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65870         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65871         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65872         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65873         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65874         [UNIX98 || XOPEN2K] (scalb): Expect.
65875         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65876         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65877         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65878         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65879         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65880         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65881         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65882         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65883         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65884         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65885         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65886         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65887         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65888         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65889         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65890         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65891         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65892         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65893         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65894         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65895         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65896         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65897         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65898         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65899         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65900         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65901         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65902         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65903         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65904         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65905         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65906         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65907         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65908         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65909         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65910         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65911         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65912         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65913         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65914         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65915         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65916         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65917         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65918         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65919         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65920         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65921         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65922         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65923         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65924         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65925         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65926         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65927         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65928         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65929         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65930         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65931         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65932         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65933         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65934         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65935         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65936         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65937         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65938         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65939         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65940         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65941         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65942         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65943         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65944         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65945         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65946         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65947         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65948         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65949         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65950         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65951         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65952         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65953         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65954         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65955         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65956         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65957         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65958         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65959         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65960         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65961         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65962         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65963         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65964         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65965         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65966         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65967         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65968         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65969         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65970         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65971         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65972         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65973         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65974         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65975         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65976         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65977         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65978         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65979         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65980         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65981         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65982         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65983         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65984         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65985         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65986         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65987         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65988         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65989         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65990         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65991         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65992         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65993         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65994         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65995         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65996         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65997         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65998         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65999         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66000         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66001         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66002         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66003         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66004         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66005         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66006         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66007         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66008         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66009         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66010         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66011         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66013         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66014         _XOPEN_SOURCE_EXTENDED for XPG4.
66016         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66018         * Makeconfig (localtime): Remove variable.
66019         (inst_localtime-file): Likewise.
66021 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66024         Update.
66025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66026         Update.
66027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66028         Update.
66029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66030         Update.
66031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66032         Update.
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66034         Update.
66035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66036         Update.
66037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66038         Update.
66039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66040         Update.
66042 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66044         [BZ #2550]
66045         [BZ #2570]
66046         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66047         comparisons to determine direction to adjust input.
66048         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66049         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66050         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66051         Likewise.
66052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66053         Likewise.
66054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66055         Likewise.
66056         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66057         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66058         Likewise.
66059         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66060         Likewise.
66061         * math/libm-test.inc (nexttoward_test): Add more tests.
66063 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66065         [BZ #14040]
66066         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66067         in version GLIBC_2.1, not GLIBC_2.0.
66068         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66069         Likewise.
66071 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66073         [BZ #13942]
66074         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66075         (1 - x) * (1 + x).
66076         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66077         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66078         * math/libm-test.inc (acos_test): Add more tests.
66079         (asin_test): Likewise.
66080         * sysdeps/i386/fpu/libm-test-ulps: Update.
66081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66083         [BZ #14034]
66084         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66085         of square root.
66086         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66087         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66088         * math/libm-test.inc (acos_test_tonearest): New function.
66089         (acos_test_towardzero): Likewise.
66090         (acos_test_downward): Likewise.
66091         (acos_test_upward): Likewise.
66092         (asin_test_tonearest): Likewise.
66093         (asin_test_towardzero): Likewise.
66094         (asin_test_downward): Likewise.
66095         (asin_test_upward): Likewise.
66096         (main): Call the new functions.
66097         * sysdeps/i386/fpu/libm-test-ulps: Update.
66098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66100         [BZ #13884]
66101         [BZ #13924]
66102         * math/e_exp10.c: Include <float.h>.
66103         (__ieee754_exp10): Handle underflow here rather than multiplying
66104         large negative argument by M_LN10.
66105         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66106         of __ieee754_expf.
66107         * math/e_exp10l.c: Include <float.h>.
66108         (__ieee754_exp10l): Handle underflow here rather than multiplying
66109         large negative argument by M_LN10l.
66110         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66111         spurious overflow exception on underflow.
66113 2012-04-29  Marek Polacek  <polacek@redhat.com>
66115         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66116         (__fortify_function): New macro.
66117         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66118         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66119         __extern_always_inline.
66120         * libio/bits/stdio2.h: Likewise.
66121         * libio/bits/stdio.h: Likewise.
66122         * string/string.h: Likewise.
66123         * string/bits/string3.h: Likewise.
66124         * include/stdio.h: Likewise.
66125         * stdlib/bits/stdlib.h: Likewise.
66126         * stdlib/stdlib.h: Likewise.
66127         * rt/bits/mqueue2.h: Likewise.
66128         * rt/mqueue.h: Likewise.
66129         * posix/bits/unistd.h: Likewise.
66130         * posix/unistd.h: Likewise.
66131         * io/bits/poll2.h: Likewise.
66132         * io/bits/fcntl2.h: Likewise.
66133         * io/fcntl.h: Likewise.
66134         * io/sys/poll.h: Likewise.
66135         * misc/bits/syslog.h: Likewise.
66136         * misc/bits/syslog-ldbl.h: Likewise.
66137         * misc/sys/syslog.h: Likewise.
66138         * socket/bits/socket2.h: Likewise.
66139         * socket/sys/socket.h: Likewise.
66140         * debug/tst-chk1.c: Likewise.
66141         * wcsmbs/bits/wchar2.h: Likewise.
66142         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66143         * wcsmbs/wchar.h: Likewise.
66145 2012-04-29  Andreas Jaeger  <aj@suse.de>
66147         * Makerules (tests): Remove enable-check-abi protection.
66148         (check-abi-warn): Remove.
66149         (check-abi-%): Remove check-abi-warn usage.
66151         * configure.in: Remove check-abi configure option.
66152         * configure: Regenerated.
66153         * config.make.in (enable-check-abi): Remove.
66155 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66157         [BZ #14033]
66158         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66159         double functions to double *_finite functions.
66161         [BZ #13941]
66162         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66163         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66164         LDBL_MIN_EXP.
66165         * stdio-common/Makefile (tests): Add tst-sprintf3.
66166         * stdio-common/tst-sprintf3.c: New file.
66168         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66169         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66171 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66173         * conform/conformtest.pl: Remove duplicate typed-constant
66174         handling.
66176 2012-04-28  David S. Miller  <davem@davemloft.net>
66178         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66179         (check-abi-%): Remove AWK script prerequisite and explicit
66180         abilist directory.
66181         (check-abi): Rewrite to just diff the symlist with the abilist.
66182         (config-tls, config-abi-config): Delete, no longer used.
66183         (update-abi-%): Remove AWK script and explicit abilist directory.
66184         (update-abi): Rewrite to simply compare and conditionally copy the
66185         symlist and the sysdep abilist file.  Remove update-abi-config
66186         checks.
66187         * abilist/ld.abilist: Remove.
66188         * abilist/libBrokenLocale.abilist: Remove.
66189         * abilist/libanl.abilist: Remove.
66190         * abilist/libcrypt.abilist: Remove.
66191         * abilist/libdl.abilist: Remove.
66192         * abilist/librt.abilist: Remove.
66193         * abilist/libthread_db.abilist: Remove.
66194         * abilist/libutil.abilist: Remove.
66195         * scripts/extract-abilist.awk: Remove.
66196         * scripts/merge-abilist.awk: Remove.
66197         * sysdeps/generic/libcidn.abilist: New file.
66198         * sysdeps/generic/libnss_compat.abilist: New file.
66199         * sysdeps/generic/libnss_db.abilist: New file.
66200         * sysdeps/generic/libnss_dns.abilist: New file.
66201         * sysdeps/generic/libnss_files.abilist: New file.
66202         * sysdeps/generic/libnss_hesiod.abilist: New file.
66203         * sysdeps/generic/libnss_nis.abilist: New file.
66204         * sysdeps/generic/libnss_nisplus.abilist: New file.
66205         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66206         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66207         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66208         file.
66209         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66210         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66211         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66212         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66213         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66214         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66215         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66216         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66217         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66218         file.
66219         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66220         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66221         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66222         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66223         file.
66224         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66225         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66226         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66227         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66228         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66229         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66230         file.
66231         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66232         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66233         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66234         file.
66235         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66237         New file.
66238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66239         New file.
66240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66241         New file.
66242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66243         New file.
66244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66245         New file.
66246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66247         New file.
66248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66249         New file.
66250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66251         New file.
66252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66253         New file.
66254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66255         New file.
66256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66257         New file.
66258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66259         New file.
66260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66261         New file.
66262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66263         file.
66264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66265         New file.
66266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66267         New file.
66268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66269         file.
66270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66271         New file.
66272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66273         New file.
66274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66275         file.
66276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66277         New file.
66278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66279         New file.
66280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66281         New file.
66282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66283         New file.
66284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66285         New file.
66286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66287         New file.
66288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66290         file.
66291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66292         New file.
66293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66294         file.
66295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66296         file.
66297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66298         file.
66299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66300         file.
66301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66302         file.
66303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66304         New file.
66305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66306         file.
66307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66308         file.
66309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66310         New file.
66311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66312         file.
66313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66315         file.
66316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66317         New file.
66318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66319         file.
66320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66321         file.
66322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66323         file.
66324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66325         file.
66326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66327         file.
66328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66329         New file.
66330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66331         file.
66332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66333         file.
66334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66335         New file.
66336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66337         file.
66338         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66339         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66340         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66341         file.
66342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66343         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66344         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66345         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66346         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66347         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66348         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66349         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66350         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66351         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66354         file.
66355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66356         New file.
66357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66358         file.
66359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66360         file.
66361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66362         file.
66363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66364         file.
66365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66366         file.
66367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66368         New file.
66369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66370         New file.
66371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66372         file.
66373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66374         New file.
66375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66376         file.
66377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66379         file.
66380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66381         New file.
66382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66383         file.
66384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66385         file.
66386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66387         file.
66388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66389         file.
66390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66391         file.
66392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66393         New file.
66394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66395         New file.
66396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66397         file.
66398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66399         New file.
66400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66401         file.
66403 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66405         * conform/conformtest.pl: Fix typo in handling typed-constant from
66406         allow-header.
66408 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66410         * README: Cut down references to pre-2.6 Linux kernels and
66411         Linuxthreads.  Update lists of configurations in libc and ports
66412         and sort alphabetically.  Say "or newer" with Linux kernel version
66413         requirements.
66415         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66417 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66419         [BZ #887]
66420         * math/libm-test.inc (logb_test_downward): New test to expose
66421         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66422         rounding mode.
66424 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66426         [BZ #14027]
66427         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66428         to be done.
66429         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66430         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66432 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66434         * sysdeps/unix/i386/brk.S: Remove file.
66435         * sysdeps/unix/i386/dl-brk.S: Likewise.
66436         * sysdeps/unix/i386/pipe.S: Likewise.
66437         * sysdeps/unix/i386/sigreturn.S: Likewise.
66438         * sysdeps/unix/i386/syscall.S: Likewise.
66439         * sysdeps/unix/i386/vfork.S: Likewise.
66440         * sysdeps/unix/i386/wait.S: Likewise.
66442         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66443         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66445         * configure.in (arm*-none*): Do not allow without
66446         --enable-hacker-mode.
66447         (netbsd*): Remove case setting base_os.
66448         (386bsd*): Likewise.
66449         (freebsd*): Likewise.
66450         (bsdi*): Likewise.
66451         (osf*): Likewise.
66452         (sunos*): Likewise.
66453         (ultrix*): Likewise.
66454         (newsos*): Likewise.
66455         (dynix*): Likewise.
66456         (*bsd*): Likewise.
66457         (sysv*): Likewise.
66458         (isc*): Likewise.
66459         (esix*): Likewise.
66460         (sco*): Likewise.
66461         (minix*): Likewise.
66462         (irix4*): Likewise.
66463         (irix6*): Likewise.
66464         (solaris[2-9]*): Likewise.
66465         (none): Likewise.
66466         * configure: Regenerated.
66468 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66470         [BZ #11521]
66471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66472         overflow or cancellation in calculating denominator.
66473         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66475         down expression to avoid unexpected rounding in newer GCCs.
66476         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66478 2012-04-26  David S. Miller  <davem@davemloft.net>
66480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66481         long-double compat symbols.
66482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66496 2012-04-25  David S. Miller  <davem@davemloft.net>
66498         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66499         HWCAP_* values only after the memory barriers have been defined.
66500         (atomic_full_barrier): Define.
66501         (atomic_read_barrier): Define.
66502         (atomic_write_barrier): Define.
66504 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66506         * shlib-versions: Add libgcc_s version information.
66507         * sysdeps/generic/libgcc_s.h: Remove.
66508         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66509         libgcc_s.h.
66510         * sysdeps/gnu/unwind-resume.c: Likewise.
66511         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66513 2012-04-25  David S. Miller  <davem@davemloft.net>
66515         * sysdeps/unix/sparc/brk.S: Delete.
66516         * sysdeps/unix/sparc/dl-brk.S: Delete.
66517         * sysdeps/unix/sparc/pipe.S: Delete.
66518         * sysdeps/unix/sparc/sysdep.S: Delete.
66519         * sysdeps/unix/sparc/sysdep.h: Delete.
66520         * sysdeps/unix/sparc/vfork.S: Delete.
66521         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66522         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66523         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66524         (ret_ERRVAL, r0, r1, MOVE): Define.
66525         (JUMPTARGET): Remove.
66526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66527         sysdeps/unix/sparc/sysdep.h
66528         (ENTRY, END): Remove.
66529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66531 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66533         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66534         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66535         -DIS_IN_build.
66537         * timezone/README: Update upstream location and email address for
66538         tzcode and tzdata.
66539         * timezone/zdump.c: Update from tzcode 2012b.
66540         * timezone/zic.c: Likewise.
66542         * configure.in (libc_cv_as_needed): Remove test.
66543         * configure: Regenerated.
66544         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66545         conditional definition.
66546         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66547         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66548         * config.make.in (have-as-needed): Remove variable.
66550 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66551             Paul Pluzhnikov  <ppluzhnikov@google.com>
66553         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66554         strings correctly.
66556 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66558         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66559         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66560         * sysdeps/sh/strlen.S: Likewise.
66562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66564         * sysdeps/unix/fork.S: Remove file.
66565         * sysdeps/unix/i386/fork.S: Likewise.
66566         * sysdeps/unix/sparc/fork.S: Likewise.
66568         * sysdeps/unix/system.c: Remove file.
66569         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66571         * sysdeps/unix/getegid.S: Remove file.
66572         * sysdeps/unix/geteuid.S: Likewise.
66574 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66576         * scripts/check-localplt.awk: New file.
66577         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66578         of diff.
66579         * scripts/data/localplt-generic.data: Add a comment.
66581         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66582         NODE when __dir_mkfile failed.
66583         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66584         Reported by Ludovic Courtès <ludo@gnu.org>.
66586 2012-04-24  Andreas Jaeger  <aj@suse.de>
66588         * Makerules (common-clean): Also remove gen-as-const-headers
66589         files.
66591 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66593         * Makerules (native-compile): Do not change working directory for
66594         build.  Use $(OUTPUT_OPTION) in command.
66595         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66597 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66599         [BZ #13886]
66600         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66601         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66602         * math/libm-test.inc (floor_test): Add more tests.
66603         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66605 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66607         * sysdeps/unix/getdents.c: Remove file.
66608         * sysdeps/unix/sysv/getdents.c: Likewise.
66609         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66611         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66612         sysdeps/unix/mman/syscalls.list.
66613         (mmap): Likewise.
66614         (mprotect): Likewise.
66615         (msync): Likewise.
66616         (munmap): Likewise.
66617         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66618         * sysdeps/unix/mman/syscalls.list: Remove.
66619         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66621         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66622         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66623         * configure: Regenerated.
66624         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66625         $(libgcc_s_suffix).
66626         * config.make.in (libgcc_s_suffix): Remove variable.
66628 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66630         * sysdeps/unix/sysv/gethostname.c: Move to ...
66631         * sysdeps/posix/gethostname.c: ... here.
66633         * sysdeps/unix/execve.S: Remove file.
66635         * sysdeps/unix/_exit.S: Remove file.
66637 2012-04-23  Andreas Jaeger  <aj@suse.de>
66639         [BZ #13739]
66640         * manual/Makefile: Remove make dist support, there's no
66641         need for a stand-alone documentation tar ball.
66642         (TEXI2DVI): Define always, it's not in Makeconfig.
66643         (dist): Removed.
66644         (tar-it): Removed.
66645         (edition): Removed.
66646         (glibc-doc-$(edition).tar): Removed
66647         (%.Z): Removed.
66648         (%.gz): Removed.
66649         (%.uu): Removed.
66650         (ETAGS): Remove, it's in Makeconfig.
66651         (move-if-change): Remove, it's in Makeconfig.
66653 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66655         [BZ #13970]
66656         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66657         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66658         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66659         (strtod_l, strtof_l, strtold_l): Remove __wur.
66660         It is not necessarily an error to ignore strtol's return value.
66661         One can reliably look at the stored endptr to decide whether
66662         the number had valid syntax.
66664 2012-04-21  Andreas Jaeger  <aj@suse.de>
66666         [BZ #13739]
66667         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66669 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66671         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66672         * sysdeps/unix/sysv/Versions: Remove file.
66674 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66676         [BZ #13927]
66677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66679 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66681         [BZ #7064]
66682         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66683         version from __vm86.
66685 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66687         * sysdeps/unix/common/lxstat.c: Remove file.
66688         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66690         * sysdeps/unix/sysv/Makefile: Remove file.
66692         * sysdeps/unix/sysv/direct.h: Remove file.
66694         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66695         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66696         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66697         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66698         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66699         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66700         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66702         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66704         * sysdeps/unix/xmknod.c: Remove file.
66705         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66707         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66709         * sysdeps/unix/sysv/i386/time.S: Remove file.
66711         * sysdeps/unix/fxstat.c: Remove file.
66712         * sysdeps/unix/xstat.c: Likewise.
66713         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66715         * sysdeps/unix/sysv/sigaction.c: Remove file.
66717         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66718         (sysdep_headers): Remove variable.
66719         [termio.h not in sysdep_headers] (generated): Likewise.
66720         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66721         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66722         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66723         * sysdeps/unix/sysv/tcflow.c: Likewise.
66724         * sysdeps/unix/sysv/tcflush.c: Likewise.
66725         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66726         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66727         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66728         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66729         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66731         * sysdeps/unix/siglist.c: Remove file.
66733         * sysdeps/unix/getppid.S: Remove file.
66735         * sysdeps/unix/mkdir.c: Remove file.
66736         * sysdeps/unix/rmdir.c: Likewise.
66738 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66740         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66741         ERR_MAX value.
66742         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66743         errlist-compat value.
66745 2012-04-18  David S. Miller  <davem@davemloft.net>
66747         * sysdeps/generic/memcopy.h (reg_char): Delete.
66748         * debug/strcat_chk.c: Use char, not reg_char.
66749         * debug/strcpy_chk.c: Likewise.
66750         * debug/strncat_chk.c: Likewise.
66751         * debug/strncpy_chk.c: Likewise.
66752         * string/memchr.c: Likewise.
66753         * string/memrchr.c: Likewise.
66754         * string/rawmemchr.c: Likewise.
66755         * string/strcat.c: Likewise.
66756         * string/strchr.c: Likewise.
66757         * string/strchrnul.c: Likewise.
66758         * string/strcmp.c: Likewise.
66759         * string/strcpy.c: Likewise.
66760         * string/strncat.c: Likewise.
66761         * string/strncmp.c: Likewise.
66762         * string/strncpy.c: Likewise.
66764 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66766         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66767         __builtin_memcopy is called when src and dest ranges are known to not
66768         overlap.
66770 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66772         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66773         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66774         fwd_align_merge macro call.
66775         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66776         bwd_align_merge macro call.
66777         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66779 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66781         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66782         bwd_align_merge macros.
66783         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66784         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66785         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66787 2012-04-18  David S. Miller  <davem@davemloft.net>
66789         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66791 2012-04-18  Andreas Jaeger  <aj@suse.de>
66793         [BZ# 6794]
66794         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66795         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66796         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66798         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66799         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66800         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66802         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66803         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66804         Adjust for changed ldbl-128 files.
66806         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66807         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66808         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66810 2012-04-17  David S. Miller  <davem@davemloft.net>
66812         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66814 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66816         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66817         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66818         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66819         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66820         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66821         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66823 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66825         [BZ #6794]
66826         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66827         * math/libm-test.inc: Add ilogb errno and exception tests.
66828         * math/w_ilogb.c: New file: ilogb wrapper.
66829         * math/w_ilogbf.c: New file: ilogbf wrapper.
66830         * math/w_ilogbl.c: New file: ilogbl wrapper.
66831         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66832         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66833         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66834         exception being thrown with 0.0 as argument.
66835         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66836         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66837         exception being thrown with 0.0 as argument.
66838         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66839         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66840         exception being thrown with 0.0 as argument.
66841         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66842         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66843         exception being thrown with 0.0 as argument.
66844         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66845         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66846         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66847         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66848         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66849         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66850         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66851         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66852         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66854 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66856         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66857         with altivec.
66859 2012-04-16  Marek Polacek  <polacek@redhat.com>
66861         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66863 2012-04-16  Marek Polacek  <polacek@redhat.com>
66865         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66866         operands of fdivp instruction.
66868 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66870         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66871         * elf/tst-auditmod3b.c: Likewise.
66872         * elf/tst-auditmod4b.c: Likewise.
66873         * elf/tst-auditmod5b.c: Likewise.
66874         * elf/tst-auditmod6b.c: Likewise.
66875         * elf/tst-auditmod6c.c: Likewise.
66876         * elf/tst-auditmod7b.c: Likewise.
66877         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66878         * sysdeps/x86_64/preconfigure.in: Likewise.
66879         * sysdeps/x86_64/preconfigure: Regenerated.
66881 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66883         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66884         __ILP32__.
66886 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66889         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66891 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66893         [BZ #13973]
66894         * locale/iso-639.def: Fix gl language name. Spotted by
66895         Yaron Shahrabani.
66897 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66899         [BZ #2074]
66900         * libio/libio.h (__io_write_fn): Update comment.
66902 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66904         [BZ #2074]
66905         * stdio.texi (Hook Functions): The user provided writer function
66906         is not allowed to return -1.
66908 2012-04-11  David S. Miller  <davem@davemloft.net>
66910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66912 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66914         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66915         Add a leading slash to rtkaio.
66917 2012-04-11  Jim Meyering  <meyering@redhat.com>
66919         [BZ #11959]
66920         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66921         It is not necessarily an error to ignore fwrite's return
66922         value.  One can reliably use ferror to test for errors after
66923         the fact.
66925 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66927         * bits/types.h (__snseconds_t): New type.
66928         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66930         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66931         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66932         (__SNSECONDS_T_TYPE): Likewise.
66933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66934         (__SNSECONDS_T_TYPE): Likewise.
66935         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66936         (__SNSECONDS_T_TYPE): Likewise.
66938 2012-04-10  Andreas Jaeger  <aj@suse.de>
66940         [BZ #2636]
66941         * manual/time.texi (Processor Time): Return type of times is
66942         elapsed real time since an arbitrary point in the past.
66943         (CPU Time): Move CLK_TCK from here...
66944         (Processor Time): ...to here.  Correct description.
66945         * manual/conf.texi (Constants for Sysconf): Correct description of
66946         _SC_CLK_TCK.
66948 2012-04-10  David S. Miller  <davem@davemloft.net>
66950         [BZ #13967]
66951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66952         where the is a gap between DT_REL(A) and DT_JMPREL.
66954 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66956         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66957         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66958         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66960 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66962         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66963         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66964         (dl_main): Handle --inhibit-cache.
66965         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66966         _dl_inhibit_cache.
66967         * elf/dl-load.c (_dl_map_object): Use it.
66968         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66970 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66972         [BZ #13872]
66973         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66974         (__ieee754_powl): Saturate large exponents rather than testing for
66975         overflow of y*log2(x).
66976         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66977         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66978         exceptions.
66980         [BZ #11521]
66981         * math/s_ctan.c: Include <float.h>.
66982         (__ctan): Avoid internal overflow or cancellation in calculating
66983         denominator.
66984         * math/s_ctanf.c: Likewise.
66985         * math/s_ctanl.c: Likewise.
66986         * math/s_ctanh.c: Likewise.
66987         * math/s_ctanhf.c: Likewise.
66988         * math/s_ctanhl.c: Likewise.
66989         * math/libm-test.inc (ctan_test): Add more tests.
66990         (ctanh_test): Likewise.
66991         * sysdeps/i386/fpu/libm-test-ulps: Update.
66992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66994 2012-04-09  Andreas Jaeger  <aj@suse.de>
66996         [BZ #6894]
66997         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66998         is an optional BSD extension.
67000         [BZ #10254]
67001         * manual/stdio.texi (Opening Streams): Document additional fopen
67002         parameters.
67004 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67006         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67007         %eax without telling the compiler.
67009 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67011         [BZ # 13963]
67012         * manual/install.texi: Use sourceware.org.
67014 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67016         [BZ #13873]
67017         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67018         (__ieee754_pow): Generate overflow and underflow using huge*huge
67019         and tiny*tiny rather than just returning constant infinity or zero
67020         for large exponents.
67021         * math/libm-test.inc (pow_test): Require overflow exceptions for
67022         applicable cases of large exponents.
67024         [BZ #706]
67025         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67026         (__ieee754_pow): Use iterative multiplication algorithm only for
67027         integer exponents with absolute value below 1024.  Check for odd
67028         integer exponents when using algorithm for real exponents.
67029         * math/libm-test.inc (pow_test): Add more tests.
67030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67032 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67034         [BZ #13705]
67035         * math/libm-test.inc (exp_test): Do not allow overflow exception
67036         on underflow test.
67038 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67040         [BZ #13705]
67041         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67042         instead of __kernel_standard_f.
67044 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67046         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67047         * sysdeps/x86_64/memset_chk.S: Likewise.
67049 2012-04-08  Andreas Jaeger  <aj@suse.de>
67051         [BZ #10153]
67052         * manual/startup.texi (Environment Access): Describe return value
67053         for putenv and setenv.
67055         [BZ #6895]
67056         * manual/filesys.texi (Directory Entries): Add description for
67057         DT_LNK.
67059         [BZ #6890]
67060         * manual/filesys.texi (Directory Entries): Clarify that it's file
67061         system not operating system in the description of DT_UNKNOWN.
67063         [BZ #6578]
67064         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67066 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67068         [BZ #6649]
67069         * manual/llio.texi (Opening and Closing Files): Add cross
67070         reference to explain mode argument.
67072 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67074         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67075         * sysdeps/x86_64/memset_chk.S: Likewise.
67077 2012-04-07  David S. Miller  <davem@davemloft.net>
67079         * elf/elf.h (R_SPARC_WDISP10): Define.
67080         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67081         R_SPARC_SIZE32.
67082         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67083         R_SPARC_SIZE64 and R_SPARC_H34.
67085 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67087         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67088         conditions and remove no longer applicable assertion.
67090 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67092         * bits/byteswap.h: Include <features.h>.
67093         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67094         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67096 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67098         * bits/byteswap.h (__bswap_16): Removed.
67099         Include <bits/byteswap-16.h> to get __bswap_16.
67100         * sysdeps/i386/bits/byteswap.h: Likewise.
67101         * sysdeps/s390/bits/byteswap.h: Likewise.
67102         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67103         * bits/byteswap-16.h: New file.
67104         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67105         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67106         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67107         * string/Makefile (headers): Add bits/byteswap-16.h.
67109 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67111         [BZ #13895]
67112         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67113         extra indirection.
67114         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67115         * nss/tst-nss-static.c: New.
67117 2012-04-06  Robert Millan  <rmh@gnu.org>
67119         [BZ #6486]
67120         * manual/llio.texi (File Position Primitive): lseek
67121         refers to WHENCE when it really means OFFSET.
67123 2012-04-06  Andreas Jaeger  <aj@suse.de>
67125         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67126         strncmp declarations.
67128         * abilist/libc.abilist: Add __poll and __ppoll.
67130 2012-04-05  David S. Miller  <davem@davemloft.net>
67132         * scripts/check-local-headers.sh: Accept a host triplet in the
67133         path matched by the exclude regexp.
67135         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67136         definition.
67137         * sysdeps/powerpc/powerpc32/dl-machine.h
67138         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67139         * sysdeps/s390/s390-32/dl-machine.h
67140         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67141         * sysdeps/sparc/sparc32/dl-machine.h
67142         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67143         * sysdeps/sparc/sparc64/dl-machine.h
67144         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67146         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67147         lazy binding.
67148         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67149         undefined symbol errors.
67151         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67152         DT_NEEDED entries.
67154 2012-04-05  Michael Matz  <matz@suse.de>
67156         [BZ #13592]
67157         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67159 2012-04-05  Andreas Jaeger  <aj@suse.de>
67161         [BZ #13908]
67162         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67163         comment.
67165 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67167         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67168         which ROUND is no valid rounding mode.
67170 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67172         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67173         read again.
67174         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67176 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67178         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67179         an exception using FPU order intentionally.
67181 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67183         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67184         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67185         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67186         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67188 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67190         [BZ #12340]
67191         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67192         EINVAL when BUFLEN is too smal.
67194 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67196         [BZ #13553]
67197         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67198         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67200 2012-04-03  Andreas Jaeger  <aj@suse.de>
67202         [BZ #13938]
67203         * manual/setjmp.texi (System V contexts): Fix sentence.
67205         [BZ #13926]
67206         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67207         New macro for this case.
67208         [!__GNUC__] (__bswap_64): New inline function for this case.
67209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67210         * bits/byteswap.h: Likewise.
67211         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67212         ull, guard with __GLIBC_HAVE_LONG_LONG.
67214         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67215         __GLIBC_HAVE_LONG_LONG.
67217         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67218         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67220 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67222         [BZ #13691]
67223         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67224         inptr and inend, rather than using last_ch.
67226 2012-04-02  David S. Miller  <davem@davemloft.net>
67228         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67229         * stdio-common/printf-parse.h (read_int): Change return type to
67230         'int', return -1 on INT_MAX overflow.
67231         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67232         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67233         overflows INT_MAX.  Check for overflow of in-format-string precision
67234         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67235         SIZE_MAX not INT_MAX for integer overflow test.
67236         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67237         skip the construct in the format string but do not record anything.
67238         * stdio-common/bug22.c: Adjust to test both width/prevision
67239         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67240         explicitly for proper errno values.
67242 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67244         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67245         CHAR_MAX.
67246         * string/test-strcmp.c [! WIDE]: Likewise.
67247         * time/tst-mktime2.c: Likewise for INT_MAX.
67248         * string/test-string.h: #include <sys/param.h> for MIN.
67250         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67251         * sysdeps/i386/init-first.c (init): Likewise.
67252         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67253         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67254         * sysdeps/sh/init-first.c (init): Likewise.
67256 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67258         * po/ru.po: Update from translation team.
67259         * po/vi.po: Likewise.
67261 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67263         * resolv/nss_dns/dns-host.c: Merge copyright years.
67265 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67267         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67268         Optimize memcpy with prefetch if
67269         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67270         src, dst pointers have unequal 16 byte alignments.
67272 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67274         [BZ #13928]
67275         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67276         from a CNAME entry and return the minimum ttl for the query.
67277         (gaih_getanswer_slice): Likewise.
67279 2012-03-30  Jeff Law  <law@redhat.com>
67281         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67282         due to long keys.
67283         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67284         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67286         * resolv/nss_dns/dns-host.c: Update copyright year.
67288 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67290         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67291         requests to save a system call.  Fix check that all bytes are sent.
67293         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67294         comments for sendmmsg.
67296 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67298         [BZ #13691]
67299         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67300         with only 1 character between 0x0041 and 0x01b0.
67301         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67302         * wcsmbs/tst-mbsnrtowcs.c: New file.
67304 2012-03-29  David S. Miller  <davem@davemloft.net>
67306         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67307         small copies by hand.
67309 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67311         [BZ #13761]
67312         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67313         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67314         group memberships.
67316 2012-03-28  David S. Miller  <davem@davemloft.net>
67318         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67319         that branches into memcpy.
67320         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67323         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67325         bits.
67326         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67327         implementation too.
67328         * sysdeps/sparc/mempcpy.S: New file.
67330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67331         the IFUNC routine in the libc case.
67332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67334         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67335         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67336         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67337         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67338         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67339         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67340         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67341         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67343         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67344         loop to 256 bytes instead of 64 bytes and fix test signedness.
67346         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67347         * sysdeps/sparc/sparc32/Makefile: rather than here...
67348         * sysdeps/sparc/sparc64/Makefile: and here.
67350 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67352         * malloc/mallocbug.c: Avoid warnings about unused variables.
67354 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67356         [BZ #13760]
67357         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67358         in the right place. Discard and retry query if response is
67359         larger than input buffer size.
67361 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67363         [BZ #369]
67364         [BZ #2678]
67365         [BZ #3866]
67366         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67367         x for large integer exponent.
67368         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67369         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67370         sign of result as needed afterwards.
67371         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67372         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67373         result for underflowing pow the same as for overflow.
67374         (__kernel_standard_l): Handle powl overflow and underflow here
67375         rather than calling __kernel_standard.
67376         * math/libm-test.inc (pow_test): Add more tests.
67378         [BZ #3868]
67379         [BZ #13879]
67380         [BZ #13910]
67381         [BZ #13911]
67382         [BZ #13912]
67383         [BZ #13913]
67384         [BZ #13915]
67385         [BZ #13916]
67386         [BZ #13917]
67387         [BZ #13918]
67388         [BZ #13919]
67389         [BZ #13920]
67390         [BZ #13921]
67391         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67392         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67393         (__kernel_standard_l): New function.
67394         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67395         __kernel_standard.
67396         * math/w_acosl.c (__acosl): Likewise.
67397         * math/w_asinl.c (__asinl): Likewise.
67398         * math/w_atan2l.c (__atan2l): Likewise.
67399         * math/w_atanhl.c (__atanhl): Likewise.
67400         * math/w_coshl.c (__coshl): Likewise.
67401         * math/w_exp10l.c (__exp10l): Likewise.
67402         * math/w_exp2l.c (__exp2l): Likewise.
67403         * math/w_fmodl.c (__fmodl): Likewise.
67404         * math/w_hypotl.c (__hypotl): Likewise.
67405         * math/w_j0l.c (__j0l, __y0l): Likewise.
67406         * math/w_j1l.c (__j1l, __y1l): Likewise.
67407         * math/w_jnl.c (__jnl, __ynl): Likewise.
67408         * math/w_lgammal.c (__lgammal): Likewise.
67409         * math/w_log10l.c (__log10l): Likewise.
67410         * math/w_log2l.c (__log2l): Likewise.
67411         * math/w_logl.c (__logl): Likewise.
67412         * math/w_powl.c (__powl): Likewise.
67413         * math/w_remainderl.c (__remainderl): Likewise.
67414         * math/w_scalbl.c (sysv_scalbl): Likewise.
67415         * math/w_sinhl.c (__sinhl): Likewise.
67416         * math/w_sqrtl.c (__sqrtl): Likewise.
67417         * math/w_tgammal.c (__tgammal): Likewise.
67418         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67419         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67420         * math/libm-test.inc (acos_test): Add more tests.
67421         (acosh_test): Likewise.
67422         (asin_test): Likewise.
67423         (atanh_test): Likewise.
67424         (exp_test): Likewise.
67425         (exp10_test): Likewise.
67426         (exp2_test): Likewise.
67427         (expm1_test): Likewise.
67428         (lgamma_test): Likewise.
67429         (log_test): Likewise.
67430         (log10_test): Likewise.
67431         (log1p_test): Likewise.
67432         (log2_test): Likewise.
67433         (pow_test): Do not allow some spurious overflow exceptions.
67434         (sqrt_test): Add more tests.
67435         (tgamma_test): Likewise.
67436         (y0_test): Likewise.
67437         (y1_test): Likewise.
67438         (yn_test): Likewise.
67440 2012-03-27  Anton Blanchard  <anton@samba.org>
67442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67443         MAP_HUGETLB.
67444         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67445         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67446         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67448 2012-03-27  David S. Miller  <davem@davemloft.net>
67450         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67452         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67453         have-as-vis3 check.
67455 2012-03-27  Andreas Jaeger  <aj@suse.de>
67457         * sysdeps/x86_64/elf/configure.in: Moved to ...
67458         * sysdeps/x86_64/configure.in: ... here.
67459         * sysdeps/x86_64/elf/start.S: Moved to ...
67460         * sysdeps/x86_64/start.S: ... here.
67461         * sysdeps/x86_64/elf/configure: Delete.
67463         * sysdeps/x86_64/configure.in: Merge contents from
67464         sysdeps/i386/configure.in (without i686 check).
67466         * sysdeps/i386/elf/Versions: Merge into ...
67467         * sysdeps/i386/Versions: ... this.
67468         * sysdeps/i386/elf/Versions: Delete file.
67469         * sysdeps/i386/elf/start.S: Moved to ...
67470         * sysdeps/i386/start.S: ...here.
67471         * sysdeps/i386/elf/configure.in: Merge into...
67472         * sysdeps/i386/configure.in: ...here.
67473         * sysdeps/i386/elf/configure.in: Delete file.
67474         * sysdeps/i386/elf/configure: Delete file.
67476         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67477         * debug/backtracesyms.c: ... here.
67478         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67479         * debug/backtracesymsfd.c: ... here.
67480         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67481         * sysdeps/generic/ifunc-sel.h: ... here.
67483         * sysdeps/unix/i386/start.c: Delete file.
67484         * sysdeps/unix/sparc/start.c: Delete file.
67485         * sysdeps/unix/start.c: Delete file.
67487         * sysdeps/sh/elf/configure.in: Moved to ...
67488         * sysdeps/sh/configure.in: ... here.
67489         * sysdeps/sh/elf/start.S: Moved to ...
67490         * sysdeps/sh/start.S: ... here.
67491         * sysdeps/sh/elf/configure: Delete file.
67493         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67494         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67495         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67496         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67497         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67498         * sysdeps/powerpc/powerpc64/start.S: here.
67499         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67500         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67501         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67502         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67503         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67505         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67506         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67507         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67508         * sysdeps/powerpc/powerpc32/start.S: ... here.
67509         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67510         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67511         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67513         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67514         * sysdeps/powerpc/ifunc-sel.h: ... here.
67515         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67516         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67518         * sysdeps/sparc/elf/configure.in: Moved to ...
67519         * sysdeps/sparc/configure.in: ... here.
67520         * sysdeps/sparc/elf/configure: Delete file.
67521         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67522         * sysdeps/sparc/sparc32/start.S: ... here.
67523         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67524         * sysdeps/sparc/sparc64/start.S: ... here.
67525         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67526         * sysdeps/sparc/sparc32/Makefile: ... this.
67527         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67528         * sysdeps/sparc/sparc64/Makefile: ... this.
67530         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67531         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67532         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67533         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67534         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67535         * sysdeps/s390/s390-32/setjmp.S: ... here.
67536         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67537         * sysdeps/s390/s390-32/configure.in: ... here.
67538         * sysdeps/s390/s390-32/elf/configure: Delete file.
67539         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67540         * sysdeps/s390/s390-32/start.S: ... here.
67542         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67543         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67544         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67545         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67546         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67547         * sysdeps/s390/s390-64/setjmp.S: ... here.
67548         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67549         * sysdeps/s390/s390-64/configure.in: ... here
67550         * sysdeps/s390/s390-64/elf/configure: Delete file.
67551         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67552         * sysdeps/s390/s390-64/start.S: ... here.
67553         * sysdeps/s390/s390-64/elf/configure: Delete.
67555         * configure.in: Remove support for elf directories in sysdeps.
67557         * configure: Regenerated.
67558         * sysdeps/i386/configure: Regenerated.
67559         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67560         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67561         * sysdeps/s390/s390-32/configure: Regenerated.
67562         * sysdeps/s390/s390-64/configure: Regenerated.
67563         * sysdeps/sh/configure: Regenerated.
67564         * sysdeps/sparc/configure: Regenerated.
67565         * sysdeps/x86_64/configure: Regenerated.
67567 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67572         denormal result into account.
67574 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67576         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67577         Reported by Allan McRae <allan@archlinux.org>.
67579 2012-03-23  Jeff Law  <law@redhat.com>
67581         * nss/getnssent.c (__nss_getent): Fix typo.
67583 2012-03-23  David S. Miller  <davem@davemloft.net>
67585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67587 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67589         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67590         to pad to uint64_t for each field.
67591         (dl_tls_index): Replace unsigned long with uint64_t.
67593 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67594         Paul Pluzhnikov  <ppluzhnikov@google.com>
67596         [BZ #6528]
67597         * grp/Makefile (otherlibs): Don't set it.
67598         * inet/Makefile (otherlibs): Likewise.
67599         * login/Makefile (otherlibs): Likewise.
67600         * nscd/Makefile (otherlibs): Likewise.
67601         * posix/Makefile (otherlibs): Likewise.
67602         * pwd/Makefile (otherlibs): Likewise.
67603         * rt/Makefile (otherlibs): Likewise.
67604         * sunrpc/Makefile (otherlibs): Likewise.
67605         * nss/Makefile (otherlibs): Likewise.
67606         Add libnss_files to routines and static-only-routines.
67607         ($(objpfx)getent): Remove rule.
67608         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67609         static-only-routines.
67611 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67613         [BZ #13892]
67614         * math/s_cexp.c: Include <float.h>.
67615         (__cexp): Handle exp result overflowing not necessarily
67616         overflowing both real and imaginary parts of result.
67617         * math/s_cexpf.c: Likewise.
67618         * math/s_cexpl.c: Likewise.
67619         * math/libm-test.inc (cexp_test): Add more tests.
67620         * sysdeps/i386/fpu/libm-test-ulps: Update.
67621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67625         * include/link.h (ELFW): New macro.
67626         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67627         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67629 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67631         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67632         with uint64_t.
67634 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67636         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67637         declaration.
67638         (struct La_x32_retval): Likewise.
67640 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67642         * sysdeps/x86_64/preconfigure.in: New file.
67643         * sysdeps/x86_64/preconfigure: New generated file.
67645 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67647         [BZ #13824]
67648         * math/e_exp2l.c: Include <float.h>.
67649         (__ieee754_exp2l): Handle overflow and underflow cases
67650         separately.  Only pass fractional part of argument to
67651         __ieee754_expl.
67652         * math/libm-test.inc (exp2_test): Add more tests.
67654         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67655         negating x to take absolute value.
67656         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67657         Likewise.
67658         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67660         Likewise.
67661         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67662         computing low part if x was negated.
67663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67667         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67668         la_x32_gnu_pltexit.
67669         (pltexit): Cast int_retval to ptrdiff_t.
67670         * elf/tst-auditmod3b.c: Likewise.
67671         * elf/tst-auditmod4b.c: Likewise.
67672         * elf/tst-auditmod5b.c: Likewise.
67673         * elf/tst-auditmod6b.c: Likewise.
67674         * elf/tst-auditmod6c.c: Likewise.
67675         * elf/tst-auditmod7b.c: Likewise.
67677         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67678         and x32_gnu_pltexit.
67680         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67681         __ELF_NATIVE_CLASS.
67682         (La_x32_regs): New macro.
67683         (La_x32_retval): Likewise.
67684         (la_x32_gnu_pltenter): New function prototype.
67685         (la_x32_gnu_pltexit): Likewise.
67687 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67690         exponent.
67692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67694         * configure.in (libc_cv_cc_nofma): Check for option to disable
67695         generation of FMA instructions.
67696         * configure: Regenerate.
67697         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67698         * sysdeps/ieee754/dbl-64/Makefile: New file.
67699         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67700         Remove brandred-fma4.
67701         (CFLAGS-brandred-fma4.c): Remove.
67702         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67703         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67704         define.
67705         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67706         define.
67708 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67710         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67711         LLONG_MAX != LONG_MAX.
67712         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67713         (_fitoa_word): Likewise.
67714         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67715         LLONG_MAX != LONG_MAX.
67716         * stdio-common/_itowa.h: Include <_itoa.h>.
67717         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67718         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67719         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67720         only if not defined.
67721         (_ITOA_WORD_TYPE): Likewise.
67722         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67723         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67725 2012-03-21  David S. Miller  <davem@davemloft.net>
67727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67729 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67731         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67732         of x86_64 when setting libc_cv_slibdir, libdir and
67733         libc_cv_localedir.
67734         * sysdeps/unix/sysv/linux/configure: Regenerated.
67736 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67738         * manual/lang.texi (Old Varargs): Remove section.
67739         (How Variadic): Update menu.
67740         (va_start): Do not mention varargs.h.
67742 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67743             Joseph Myers  <joseph@codesourcery.com>
67745         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67746         link test.
67747         * configure: Regenerated.
67749 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67751         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67752         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67753         conformtest.pl
67755 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67757         * NOTES: Remove.
67758         * Makefile (files-for-dist): Remove NOTES.
67759         (NOTES): Remove rule.
67760         * README: Don't refer to NOTES.
67761         * manual/creature.texi: Don't include macros.texi.
67762         * manual/intro.texi (creature.texi): Remove comment referring to
67763         NOTES.
67765         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67766         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67767         * configure: Regenerated.
67768         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67769         LIBC_TRY_CC_OPTION.
67770         (libc_cv_as_i686): Likewise.
67771         (libc_cv_cc_avx): Likewise.
67772         (libc_cv_cc_sse2avx): Likewise.
67773         (libc_cv_cc_fma4): Likewise.
67774         (libc_cv_cc_novzeroupper): Likewise.
67775         * sysdeps/i386/configure: Regenerated.
67777         [BZ #13883]
67778         * sysdeps/i386/fpu/s_cexp.S: Remove.
67779         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67780         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67781         * math/libm-test.inc (cexp_test): Add more tests.
67782         * sysdeps/i386/fpu/libm-test-ulps: Update.
67783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67785 2012-03-21  Allan McRae  <allan@archlinux.org>
67787         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67789 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67791         [BZ #13871]
67792         * math/w_exp2.c: Do not include <float.h>.
67793         (o_threshold, u_threshold): Remove.
67794         (__exp2): Calculate result before checking finiteness and calling
67795         __kernel_standard.
67796         * math/w_exp2f.c: Likewise.
67797         * math/w_exp2l.c: Likewise.
67798         * math/libm-test.inc (exp2_test): Require overflow exception for
67799         1e6 input.
67801         [BZ #3866]
67802         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67803         range of signed 64-bit integers before using fistpll.  Remove
67804         checks for whether integers fit in mantissa bits.
67805         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67806         the range of signed 32-bit integers before using fistpl.  Remove
67807         checks for whether integers fit in mantissa bits.
67808         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67809         (__ieee754_powl): Test for y outside the range of signed 64-bit
67810         integers before using fistpll.  Reduce 64-bit values to 63-bit
67811         ones as needed.
67812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67813         divide-by-zero is raised for zero to large negative powers.
67814         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67815         (__ieee754_powl): Test for y outside the range of signed 64-bit
67816         integers before using fistpll.  Reduce 64-bit values to 63-bit
67817         ones as needed.
67818         * math/libm-test.inc (pow_test): Add more tests.
67820 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67822         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67823         <stdio-common/_itoa.h>.
67824         * debug/segfault.c: Likewise.
67825         * elf/dl-cache.c: Likewise.
67826         * elf/dl-minimal.c: Likewise.
67827         * elf/dl-misc.c: Likewise.
67828         * elf/dl-sysdep.c: Likewise.
67829         * elf/dl-version.c: Likewise.
67830         * elf/rtld.c: Likewise.
67831         * hurd/hurdsock.c: Likewise.
67832         * hurd/lookup-retry.c: Likewise.
67833         * malloc/malloc.c: Likewise.
67834         * malloc/mtrace.c: Likewise.
67835         * nscd/nscd_getgr_r.c: Likewise.
67836         * nscd/nscd_getpw_r.c: Likewise.
67837         * nscd/nscd_getserv_r.c: Likewise.
67838         * posix/getopt_init.c: Likewise.
67839         * posix/wordexp.c: Likewise.
67840         * stdio-common/_itoa.c: Likewise.
67841         * stdio-common/printf_fphex.c: Likewise.
67842         * stdio-common/vfprintf.c: Likewise.
67843         * string/_strerror.c: Likewise.
67844         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67845         * sysdeps/i386/i686/hp-timing.h: Likewise.
67846         * sysdeps/mach/_strerror.c: Likewise.
67847         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67848         * sysdeps/mach/hurd/sethostid.c: Likewise.
67849         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67850         * sysdeps/mach/xpg-strerror.c: Likewise.
67851         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67853         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67854         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67855         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67856         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67858         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67859         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67860         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67861         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67862         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67863         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67864         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67865         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67866         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67867         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67868         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67869         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67870         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67871         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67873         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67875         * stdio-common/_itoa.h: Moved to ...
67876         * sysdeps/generic/_itoa.h: Here.
67878         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67880         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67881         instead of "_itoa.h" and "_itowa.h".
67882         * stdio-common/vfprintf.: Likewise.
67884 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67886         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67887         <bits/wordsize.h>.
67888         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67889         (__signbit): Likwise.
67890         (llrintf): Likwise.
67891         (llrint): Likwise.
67893 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67895         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67896         __WORDSIZE != 64.
67898 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67900         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67901         OVERFLOW_EXCEPTION_OK.
67902         * math/libm-test.inc ("Philosophy"): Update comment about
67903         exception testing.
67904         (OVERFLOW_EXCEPTION): Define.
67905         (OVERFLOW_EXCEPTION_OK): Likewise.
67906         (INVALID_EXCEPTION_OK): Renumber.
67907         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67908         (IGNORE_ZERO_INF_SIGN): Likewise.
67909         (test_exceptions): Handle FE_OVERFLOW.
67910         (exp10_test): Expect overflow exceptions.
67911         (exp2_test): Likewise.
67912         (expm1_test): Likewise.
67913         (nextafter_test): Likewise.
67914         (pow_test): Likewise.
67915         (scalbn_test): Likewise.
67916         (scalbln_test): Likewise.
67918 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67920         * sysdeps/x86_64/bits/atomic.h
67921         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67922         64bit integer.
67923         (atomic_exchange_acq): Likewise.
67924         (__arch_exchange_and_add_body): Likewise.
67925         (__arch_add_body): Likewise.
67926         (atomic_add_negative): Likewise.
67927         (atomic_add_zero): Likewise.
67929 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67931         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67932         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67934 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67936         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67937         Check __x86_64__ instead of __WORDSIZE.
67939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67941         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67943 2012-03-19  David S. Miller  <davem@davemloft.net>
67945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67947         * sysdeps/sparc/fpu/fenv_private.h: New file.
67948         * sysdeps/sparc/fpu/math_private.h: Use it.
67949         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67950         Remove.
67951         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67952         (libc_feholdexcept_setroundl): Remove.
67953         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67954         Remove.
67955         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67956         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67960         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67961         int64_t instead of long int.
67962         (INSERT_WORDS64): Likwise.
67964 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67966         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67967         _Unwind_GetCFA return to _Unwind_Ptr first.
67969 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67971         [BZ #13629]
67972         * math/s_clog.c: Include <float.h>.
67973         (__clog): Scale large or subnormal inputs.
67974         * math/s_clogf.c: Likewise.
67975         * math/s_clogl.c: Likewise.
67976         * math/s_clog10.c: Include <float.h>.
67977         (M_LOG10_2): Define.
67978         (__clog10): Scale large or subnormal inputs.
67979         * math/s_clog10f.c: Likewise.
67980         * math/s_clog10l.c: Likewise.
67981         * math/libm-test.inc (clog_test): Add more tests.
67982         (clog10_test): Likewise.
67983         * sysdeps/i386/fpu/libm-test-ulps: Update.
67984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67986         [BZ #11451]
67987         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67988         x and y.
67989         * math/libm-test.inc (atan2_test): Add another test.
67991         * Makerules (common-objdir-compile): Remove.
67992         * sysdeps/unix/Makefile (config-generated): Do not add
67993         $(unix-generated) to variable.
67994         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67995         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67996         Remove rule.
67997         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67998         Likewise.
67999         [generic bits/local_lim.h] (before-compile): Do not append to
68000         variable.
68001         [generic bits/local_lim.h] (common-generated): Likewise.
68002         [generic sys/param.h] (before-compile): Do not append to variable.
68003         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68004         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68005         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68006         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68007         include.
68008         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68009         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68010         [generic sys/param.h] ($(addprefix
68011         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68012         [generic sys/param.h] (common-generated): Do not append to
68013         variable.
68014         [generic sys/param.h] (sysdep_headers): Likewise.
68015         [generic bits/errno.h] (before-compile): Do not append to
68016         variable.
68017         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68018         rule.
68019         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68020         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68021         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68022         [generic bits/errno.h] (common-generated): Do not append to
68023         variable.
68024         [generic bits/ioctls.h] (before-compile): Do not append to
68025         variable.
68026         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68027         rule.
68028         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68029         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68030         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68031         rule.
68032         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68033         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68034         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68035         [generic bits/ioctls.h] (common-generated): Do not append to
68036         variable.
68037         [generic sys/syscall.h] (syscall.h): Remove variable.
68038         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68039         rule.
68040         [generic sys/syscall.h] (before-compile): Do not append to
68041         variable.
68042         [generic sys/syscall.h] (common-generated): Likewise.
68043         * sysdeps/unix/errnos-tmpl.c: Remove file.
68044         * sysdeps/unix/errnos.awk: Likewise.
68045         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68046         * sysdeps/unix/ioctls.awk: Likewise.
68047         * sysdeps/unix/mk-local_lim.c: Likewise.
68048         * sysdeps/unix/snarf-ioctls: Likewise.
68050 2012-03-19  Richard Henderson  <rth@twiddle.net>
68052         * sysdeps/i386/fpu/fenv_private.h: New file.
68053         * sysdeps/i386/fpu/math_private.h: Use it.
68054         (math_opt_barrier, math_force_eval): Remove.
68055         (libc_feholdexcept_setround_53bit): Remove.
68056         (libc_feupdateenv_53bit): Remove.
68057         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68058         (math_opt_barrier, math_force_eval): Remove.
68059         (libc_feholdexcept): Remove.
68060         (libc_feholdexcept_setround): Remove.
68061         (libc_fetestexcept, libc_fesetenv): Remove.
68062         (libc_feupdateenv_test): Remove.
68063         (libc_feupdateenv, libc_feholdsetround): Remove.
68064         (libc_feresetround): Remove.
68066         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68067         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68069         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68070         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68071         (libc_feupdateenv_testl): New.
68072         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68073         (libc_feupdateenv_testf): New.
68074         (libc_feupdateenv): Use libc_feupdateenv_test.
68075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68076         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68078         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68079         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68080         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68081         (libc_feresetround_noex): New.
68082         (libc_feresetround_noexf): New.
68083         (libc_feresetround_noexl): New.
68084         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68085         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68086         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68087         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68088         SET_RESTORE_ROUND.
68089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68091         (__cos): Likewise.
68092         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68093         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68094         SET_RESTORE_ROUND_NOEX.
68095         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68096         SET_RESTORE_ROUND_NOEXF.
68097         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68098         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68099         (libc_feholdsetroundf): New.
68100         (libc_feresetround, libc_feresetroundf): New.
68102         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68103         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68104         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68106         * sysdeps/generic/math_private.h: Include <fenv.h>.
68107         (default_libc_feholdexcept): New.
68108         (default_libc_feholdexcept_setround): New.
68109         (default_libc_fesetenv, default_libc_feupdateenv): New.
68110         (libc_feholdexcept): Only define if undefined.
68111         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68112         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68113         (libc_feholdexcept_setroundl): Likewise.
68114         (libc_feholdexcept_setround_53bit): Likewise.
68115         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68116         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68117         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68118         (libc_feupdateenv_53bit): Likewise.
68119         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68120         (libc_feholdexcept): Convert from macro to inline function.
68121         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68122         (libc_fesetenv, libc_feupdateenv): Likewise.
68124         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68125         not previously defined.
68126         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68127         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68128         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68129         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68130         * sysdeps/ieee754/flt-32/math_private.h: New file.
68131         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68132         math_private.h below SET_FLOAT_WORD.
68133         (__isnan, __isinf_ns, __finite): Remove.
68134         (__isnanf, __isinf_nsf, __finitef): Remove.
68136 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68140 2012-03-17  David S. Miller  <davem@davemloft.net>
68142         [BZ #6471]
68143         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68144         for 2.16.
68146 2012-03-16  David S. Miller  <davem@davemloft.net>
68148         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68149         warnings.
68151         [BZ #6471]
68152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68153         properly.
68154         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68155         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68156         sysdep_routines when subdir is sysvipc.
68157         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68158         __getshmlba helper.
68160         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68162 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68164         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68165         [__LP64__].
68167 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68169         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68170         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68171         (__lround): Renamed to ...
68172         (__llround): This.  Replace long int with long long int.
68173         Define lround functions as aliases of llround functions.
68174         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68176 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68178         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68179         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68180         adresses to uintptr_t.  Replace "long int" and "unsigned long
68181         int" with "greg_t" on va_arg.
68183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68185         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68186         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68188         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68189         Move e_machine check before EI_CLASS check.  Handle x32
68190         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68191         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68192         SKIP_EM_IA_64 and include
68193         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68195         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68196         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68197         (add_system_dir): New macro.
68199         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68200         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68202 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68204         [BZ #2551]
68205         [BZ #2552]
68206         [BZ #2553]
68207         [BZ #2554]
68208         [BZ #2562]
68209         [BZ #2563]
68210         [BZ #2565]
68211         [BZ #2566]
68212         [BZ #2576]
68213         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68214         (y0): Likewise.
68215         * math/w_j0f.c (j0f): Likewise.
68216         (y0f): Likewise.
68217         * math/w_j0l.c (__j0l): Likewise.
68218         (__y0l): Likewise.
68219         * math/w_j1.c (j1): Likewise.
68220         (y1): Likewise.
68221         * math/w_j1f.c (j1f): Likewise.
68222         (y1f): Likewise.
68223         * math/w_j1l.c (__j1l): Likewise.
68224         (__y1l): Likewise.
68225         * math/w_jn.c (jn): Likewise.
68226         (yn): Likewise.
68227         * math/w_jnf.c (jnf): Likewise.
68228         (ynf): Likewise.
68229         * math/w_jnl.c (__jnl): Likewise.
68230         (__ynl): Likewise.
68231         * math/libm-test.inc (j0_test): Add more tests.
68232         (j1_test): Likewise.
68233         (jn_test): Likewise.  Add trailing semicolon to existing test.
68234         (y0_test): Likewise.
68235         (y1_test): Likewise.
68236         * sysdeps/i386/fpu/libm-test-ulps: Update.
68237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68239         [BZ #13851]
68240         [BZ #13854]
68241         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68242         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68243         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68244         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68245         (__tanl): Set errno for infinite argument.
68246         * sysdeps/i386/fpu/mptan.c: Remove.
68247         * sysdeps/i386/fpu/s_tan.S: Likewise.
68248         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68249         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68250         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68251         * math/libm-test.inc (tan_test): Add more tests and enable more
68252         tests for double and long double.
68253         * sysdeps/i386/fpu/libm-test-ulps: Update.
68254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68256 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68258         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68259         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68261 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68263         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68264         * configure.in: Use it for both main tree and add-ons.
68265         * configure: Regenerated.
68267 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68269         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68271 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68273         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68274         in comment.
68276         [BZ #13851]
68277         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68278         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68279         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68280         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68281         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68282         infinite argument.
68283         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68285         != 0 for prec == 2.
68286         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68287         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68288         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68289         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68290         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68291         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68292         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68293         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68294         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68295         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68296         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68297         * math/libm-test.inc (cos_test): Add more tests and enable more
68298         tests for long double.
68299         (sin_test): Likewise.
68300         (sincos_test): Likewise.
68301         * sysdeps/i386/fpu/libm-test-ulps: Update.
68302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68304 2012-03-16  David S. Miller  <davem@davemloft.net>
68306         * sysdeps/sparc/fpu/math_private.h: New file.
68308 2012-03-15  David S. Miller  <davem@davemloft.net>
68310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68311         file.
68312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68314         file.
68315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68321         sysdep routines.
68322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68324         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68325         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68327         * sysdeps/sparc/sparc-ifunc.h: New file.
68328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68329         sparc-ifunc.h
68330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68332         Likewise.
68333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68334         Likewise.
68335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68339         Likewise.
68340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68345         Likewise.
68346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68347         Likewise.
68348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68366         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68367         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68368         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68369         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68373 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68375         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68376         scaling.
68377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68379 2012-03-15  Andreas Jaeger  <aj@suse.de>
68381         [BZ #13852]
68382         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68383         ieee754/flt-32 implementation for sin, cos and sincos.
68384         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68385         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68386         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68387         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68388         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68389         ieee754/flt-32 implementation for tan.
68391         * math/libm-test.inc (cos_test): Enable some large input tests for
68392         float as well
68393         (sin_test): Likewise.
68394         (sincos_test): Likewise.
68395         (tan_test): Add tests for large input.
68397         * sysdeps/i386/fpu/libm-test-ulps: Update.
68399 2012-03-15  Andreas Jaeger  <aj@suse.de>
68401         [BZ #13658]
68402         * math/libm-test.inc (cos_test): Add more test cases.
68403         (sin_test): Likewise.
68404         (sincos_test): Likewise.
68406 2012-03-15  Andreas Jaeger  <aj@suse.de>
68408         [BZ #13837]
68409         * math/libm-test.inc (cos_test): Add a test case for large input
68410         value.
68411         (sin_test): Likewise.
68412         (sincos_test): Likewise.
68414 2012-03-15  Andreas Jaeger  <aj@suse.de>
68415             Joseph Myers  <joseph@codesourcery.com>
68417         [BZ #13658]
68418         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68419         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68420         * sysdeps/i386/fpu/branred.c: Likewise.
68421         * sysdeps/i386/fpu/dosincos.c: Likewise.
68422         * sysdeps/i386/fpu/mpa.c: Likewise.
68423         * sysdeps/i386/fpu/s_cos.S: Likewise.
68424         * sysdeps/i386/fpu/s_sin.S: Likewise.
68425         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68426         * sysdeps/i386/fpu/sincos32.c: Likewise.
68428         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68429         Define.
68430         (libc_feupdateenv_53bit): Define.
68431         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68432         Define.
68433         (libc_feupdateenv_53bit): Define.
68435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68436         53 bit (without extend i386 double precision).
68438         * math/libm-test.inc (sincos_test): Add tests for large input.
68439         (sin): Likewise.
68440         (cos): Likewise.
68442         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68444 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68448 2012-03-15  David S. Miller  <davem@davemloft.net>
68450         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68451         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68452         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68453         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68466         file.
68467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68469         file.
68470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68472         file.
68473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68475         file.
68476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68478         fmin/fmax sysdep routines.
68479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68481 2012-03-14  David S. Miller  <davem@davemloft.net>
68483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68490         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68504         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68505         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68506         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68509         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68510         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68511         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68512         routines.
68513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68514         file.
68515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68517         file.
68518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68520         file.
68521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68523         file.
68524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68526         file.
68527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68529         file.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68531         file.
68532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68533         file.
68534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68535         file.
68536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68537         New file.
68538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68539         file.
68540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68541         file.
68542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68544         file.
68545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68547         file.
68548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68550         file.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68553         VIS3 routines.
68555         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68556         New file.
68558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68560         * sysdeps/sparc/configure.in: New file.
68561         * sysdeps/sparc/configure: Generate.
68562         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68563         * configure: Regenerate.
68564         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68565         * config.make.in (have-as-vis3): New.
68566         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68567         available use -Av9d instead of -Av9a.
68568         * sysdeps/sparc/sparc64/Makefile: Likewise.
68569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68571         New file.
68572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68573         file.
68574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68575         New file.
68576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68577         file.
68578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68581         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68582         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68584         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68585         fzeros/fnegs to load 0x80000000 into a float register instead of
68586         using the stack.
68587         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68589 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68592         bits/syscall.h.
68593         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68594         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68595         ($(inst_includedir)/bits/syscall.h): Remove rule.
68596         ($(objpfx)bits/syscall.d): Include instead of
68597         $(objpfx)syscall-list.d.
68598         (generated): Change syscall-list.h and syscall-list.d to
68599         bits/syscall.h and bits/syscall.d.
68601 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68603         [BZ #13846]
68604         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68606 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68608         [BZ #13841]
68609         * math/s_csqrt.c: Include <float.h>.
68610         (__csqrt): Scale large or subnormal inputs.
68611         * math/s_csqrtf.c: Likewise.
68612         * math/s_csqrtl.c: Likewise.
68613         * math/libm-test.inc (csqrt_test): Add more tests.
68614         * sysdeps/i386/fpu/libm-test-ulps: Update.
68615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68617         [BZ #13840]
68618         * math/libm-test.inc (hypot_test): Add more tests.
68620 2012-03-13  David S. Miller  <davem@davemloft.net>
68622         [BZ #13840]
68623         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68624         double-precision for the calculation instead of scaling.
68626 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68628         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68629         manipulate bits before adding and subtracting TWO52[sx].
68630         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68631         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68632         Likewise.
68633         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68635 2012-03-13  David S. Miller  <davem@davemloft.net>
68637         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68638         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68640         rtld-global-offsets.h
68641         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68643         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68644         large parameters.
68646         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68648         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68649         'err' in the ifdef scope in which it is actually used.
68651         * nss/nss_db/db-init.c: Include string.h
68653 2012-03-12  David S. Miller  <davem@davemloft.net>
68655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68656         masking out of the most significant byte of random value used.
68657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68658         Fix coding style in previous change.
68660         * sysdeps/unix/sysv/linux/kernel-features.h
68661         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68662         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68663         expression.
68664         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68665         later.
68667 2012-03-11  David S. Miller  <davem@davemloft.net>
68669         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68670         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68671         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68672         for 'resultvar' otherwise things get truncated on 64-bit.
68674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68675         Fix masking out of the most significant byte of random value used.
68677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68679 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68683 2012-03-09  David S. Miller  <davem@davemloft.net>
68685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68686         variables with appropriate CPP guards.
68687         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68688         from the frame pointer, not the stack pointer.  Correct layout
68689         comments.  Fix test on resulting framesize and the management of
68690         the outregs buffer for pltexit.  Preserve floating point return
68691         values across _dl_call_pltexit call.
68692         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68693         framesize and the management of the outregs buffer for pltexit.
68694         Preserve floating point return values across _dl_call_pltexit
68695         call.
68696         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68697         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68698         (la_sparc64_gnu_pltexit): New functions.
68699         (print_exit): Fix format string for return register value.
68701 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68703         * sunrpc/Makefile (others): Add rpcgen.
68704         ($(objpfx)rpcgen): Remove special build rule and dependency on
68705         libc.
68706         * sunrpc/rpcgen.c: New file.
68708 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68710         [BZ #13673]
68711         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68712         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68713         * sysdeps/i386/crti.S: Likewise.
68714         * sysdeps/i386/crtn.S: Likewise.
68715         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68716         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68717         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68718         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68719         * sysdeps/sh/crti.S: Likewise.
68720         * sysdeps/sh/crtn.S: Likewise.
68721         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68723         [BZ #13673]
68724         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68725         with URL.
68726         * locale/programs/locfile-kw.gperf: Likewise.
68727         * locale/programs/charmap-kw.h: Regenerated.
68728         * locale/programs/locfile-kw.h: Likewise.
68730         [BZ #13673]
68731         * intl/plural.y: Replace FSF snail mail address with URL.
68732         * intl/plural.c: Regenerated.
68734 2012-03-09  Richard Henderson  <rth@twiddle.net>
68736         * include/math_private.h: Remove file.
68737         * math/math_private.h: Move file ...
68738         * sysdeps/generic/math_private.h: ... here.
68740         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68741         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68742         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68744         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68745         and <math_private.h>.
68746         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68747         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68748         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68749         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68750         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68751         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68752         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68754         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68755         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68757         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68758         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68760         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68761         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68762         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68763         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68764         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68765         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68767         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68768         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68770         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68772         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68776         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68778         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68779         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68782         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68783         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68784         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68785         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68786         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68787         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68788         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68789         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68790         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68791         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68792         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68793         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68794         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68795         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68796         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68797         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68798         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68800         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68802         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68804         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68805         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68806         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68807         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68809         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68810         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68811         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68812         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68813         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68816         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68817         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68818         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68819         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68820         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68825         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68826         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68827         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68829         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68830         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68833         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68834         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68835         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68836         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68837         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68839         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68840         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68841         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68842         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68843         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68844         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68845         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68846         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68847         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68848         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68849         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68850         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68851         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68852         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68853         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68854         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68856         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68857         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68858         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68859         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68860         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68861         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68862         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68863         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68865         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68867         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68868         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68869         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68870         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68871         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68872         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68873         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68874         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68875         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68876         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68877         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68878         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68879         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68880         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68881         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68882         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68883         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68884         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68885         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68886         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68887         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68888         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68889         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68890         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68891         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68892         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68893         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68894         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68895         * sysdeps/ieee754/k_standard.c: Likewise.
68896         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68897         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68898         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68899         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68900         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68901         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68902         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68903         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68904         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68905         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68906         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68908         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68909         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68910         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68911         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68912         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68913         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68914         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68915         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68916         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68917         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68918         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68919         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68920         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68921         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68922         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68923         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68924         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68925         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68927         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68928         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68929         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68930         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68931         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68932         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68933         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68934         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68935         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68938         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68939         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68940         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68941         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68942         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68943         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68944         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68945         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68947         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68948         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68949         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68950         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68951         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68952         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68953         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68954         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68955         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68956         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68957         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68958         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68959         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68964         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68968         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68969         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68972         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68973         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68975         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68976         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68977         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68978         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68979         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68980         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68981         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68982         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68983         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68984         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68986         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68987         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68988         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68989         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68990         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68991         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68992         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68993         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69001         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69004         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69008         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69009         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69010         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69011         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69013         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69014         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69015         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69017         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69018         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69019         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69020         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69021         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69022         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69023         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69024         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69025         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69026         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69027         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69028         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69029         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69030         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69031         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69032         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69033         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69034         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69035         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69036         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69037         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69038         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69039         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69040         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69045         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69046         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69047         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69052         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69053         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69056         * sysdeps/ieee754/s_lib_version.c: Likewise.
69057         * sysdeps/ieee754/s_matherr.c: Likewise.
69058         * sysdeps/ieee754/s_signgam.c: Likewise.
69059         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69060         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69061         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69062         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69063         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69064         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69065         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69066         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69067         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69068         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69069         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69070         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69071         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69072         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69073         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69074         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69075         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69076         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69077         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69081 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69083         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69084         * sunrpc/rpc_main.c: Likewise.
69085         * sunrpc/rpc_svcout.c: Likewise.
69087 2012-03-09  David S. Miller  <davem@davemloft.net>
69089         * include/math_private.h: New file.
69091 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69093         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69094         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69095         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69096         from <bits/socket_type.h>.
69097         (enum __socket_type): Don't define here.
69098         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69100         bits/socket_type.h.
69102         [BZ #13566]
69103         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69104         checking __USE_GNU.
69106         * Makerules ($(inst_includedir)/%.h): New rule.
69107         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69108         (install-others): Remove variable setting.
69109         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69111 2012-03-08  Richard Henderson  <rth@twiddle.net>
69113         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69114         from macro to inline function; merge with the
69115         !__LIBC_INTERNAL_MATH_INLINES version.
69116         (__ieee754_sqrtf): Likewise.
69118         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69119         to inline function.
69120         (__rintf, __floor, __floorf): Likewise.
69122         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69123         macro to inline function.
69124         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69127         not <math/math_private.h>.
69129 2012-03-08  David S. Miller  <davem@davemloft.net>
69131         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69132         copyright year.
69133         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69135 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69137         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69138         normalization.
69139         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69140         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69142 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69144         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69145         be defined individually, they must be defined as a block.  Define
69146         S for printing a string instead of hidint the different by using a
69147         macro for adding the 'l'.
69148         * stdio-common/tst-fphex-wide.c: Adjust.
69150 2012-03-07  Marek Polacek  <polacek@redhat.com>
69152         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69154 2012-03-08  Marek Polacek  <polacek@redhat.com>
69156         [BZ #13806]
69157         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69158         * stdio-common/tst-fphex.c: Define a few macros to make the
69159         test reusable.  Use them.
69160         * stdio-common/tst-fphex-wide.c: New file.
69162 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69164         [BZ #6911]
69165         * manual/macros.texi (gnusystems): New macro.
69166         (nongnusystems): Likewise.
69167         (gnulinuxhurdsystems): Likewise.
69168         (gnuhurdsystems): Likewise..
69169         (gnulinuxsystems): Likewise.
69170         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69171         variants of the GNU system, not "GNU system".
69172         * manual/conf.texi: Likewise.
69173         * manual/errno.texi: Likewise.  Update example of errno macro
69174         expansion.
69175         * manual/filesys.texi: Likewise.
69176         (getumask): Document as specific to GNU/Hurd.
69177         * manual/install.texi: Likewise.  Reword some references to
69178         GNU/Linux.
69179         * manual/intro.texi: Likewise.
69180         * manual/io.texi: Likewise.
69181         (File Name Portability): Detail which constraints are inapplicable
69182         to all GNU systems and which are only inapplicable to GNU/Hurd.
69183         * manual/job.texi: Likewise.
69184         * manual/llio.texi: Likewise.
69185         (O_NOCTTY): Document as present on GNU/Linux.
69186         * manual/maint.texi: Likewise.
69187         * manual/memory.texi: Likewise.
69188         * manual/pattern.texi: Likewise.
69189         * manual/pipe.texi: Likewise.
69190         * manual/process.texi: Likewise.
69191         * manual/resource.texi: Likewise.
69192         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69193         child on GNU/Hurd.
69194         * manual/setjmp.texi: Likewise.
69195         * manual/signal.texi: Likewise.
69196         * manual/startup.texi: Likewise.
69197         * manual/stdio.texi: Likewise.
69198         * manual/terminal.texi: Likewise.
69199         (ONLCR): Document as POSIX.
69200         (OXTABS): Document availability on GNU/Linux as XTABS.
69201         (ONOEOT): Document availability separately from other bits.
69202         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69203         * manual/time.texi: Likewise.
69204         * manual/users.texi: Likewise.
69205         * INSTALL: Regenerated.
69206         * sysdeps/gnu/errlist.c: Regenerated.
69208         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69209         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69210         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69211         puts.
69212         * configure: Regenerated.
69214 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69216         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69217         default includes instead of AC_HEADER_CHECK.
69218         * sysdeps/i386/configure: Regenerated.
69220         [BZ #10716]
69221         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69222         * math/s_cacoshf.c (__cacoshf): Likewise.
69223         * math/s_cacoshl.c (__cacoshl): Likewise.
69224         * math/s_casinh.c (__casinh): Set signs of result from argument.
69225         * math/s_casinhf.c (__casinhf): Likewise.
69226         * math/s_casinhl.c (__casinhl): Likewise.
69227         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69228         (casinh_test): Add more tests.
69229         * sysdeps/i386/fpu/libm-test-ulps: Update.
69230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69232 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69234         * po/zh_TW.po: Update from translation team.
69236         * login/Makefile (distribute): Remove variable.
69237         * catgets/Makefile: Likewise.
69238         * mach/Makefile: Likewise.
69239         * malloc/Makefile: Likewise.
69240         * misc/Makefile: Likewise.
69241         * iconv/Makefile: Likewise.
69242         * nscd/Makefile: Likewise.
69243         * hurd/Makefile: Likewise.
69244         * manual/Makefile: Likewise.
69245         * locale/Makefile: Likewise.
69246         * intl/Makefile: Likewise.
69247         * conform/Makefile: Likewise.
69248         * nss/Makefile: Likewise.
69249         * time/Makefile: Likewise.
69250         * soft-fp/Makefile: Likewise.
69251         * dirent/Makefile: Likewise.
69252         * gmon/Makefile: Likewise.
69253         * po/Makefile: Likewise.
69254         * rt/Makefile: Likewise.
69255         * socket/Makefile: Likewise.
69256         * math/Makefile: Likewise.
69257         * signal/Makefile: Likewise.
69258         * debug/Makefile: Likewise.
69259         * elf/Makefile: Likewise.
69260         * timezone/Makefile: Likewise.
69261         * stdlib/Makefile: Likewise.
69262         * iconvdata/Makefile: Likewise.
69263         * sunrpc/Makefile: Likewise.
69264         * io/Makefile: Likewise.
69265         * argp/Makefile: Likewise.
69266         * inet/Makefile: Likewise.
69267         * hesiod/Makefile: Likewise.
69268         * grp/Makefile: Likewise.
69269         * csu/Makefile: Likewise.
69270         * wctype/Makefile: Likewise.
69271         * crypt/Makefile: Likewise.
69272         * libio/Makefile: Likewise.
69273         * string/Makefile: Likewise.
69274         * nis/Makefile: Likewise.
69275         * resolv/Makefile: Likewise.
69276         * stdio-common/Makefile: Likewise.
69277         * wcsmbs/Makefile: Likewise.
69278         * dlfcn/Makefile: Likewise.
69279         * posix/Makefile: Likewise.
69281         [BZ #6959]
69282         * timezone/Makefile: Don't install timezone files, just the programs
69283         and scripts.
69285 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69287         * nss/databases.def: Add missing gshadow entry.
69289         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69291 2012-03-06  Marek Polacek  <polacek@redhat.com>
69293         [BZ #13726]
69294         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69295         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69296         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69297         * stdio-common/tst-long-dbl-fphex.c: New file.
69299 2012-03-06  David S. Miller  <davem@davemloft.net>
69301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69302         (set_obp_int): New function.
69303         (get_obp_int): New function.
69304         (__get_clockfreq_via_dev_openprom): Likewise.
69305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69306         Avoid unused variable warnings on 'val' and use builtin_expect.
69307         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69308         __builtin_expect.
69309         (INLINE_CLONE_SYSCALL): Likewise.
69311 2012-03-05  David S. Miller  <davem@davemloft.net>
69313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69315 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69319         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69320         only for |x| >= 40.
69321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69323 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69325         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69326         Replace gettimeofday with __vdso_gettimeofday.
69328         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69329         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69330         __vdso_clock_gettime and __vdso_getcpu.
69332         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69333         time with __vdso_time.
69335 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69337         * manual/lang.texi (size_t): Note types to which size_t may be
69338         equivalent with the GNU C Library, but do not describe when
69339         differences between them are significant.
69341 2012-03-05  Andreas Jaeger  <aj@suse.de>
69343         * sysdeps/i386/fpu/libm-test-ulps: Update.
69345 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69347         [BZ #3976]
69348         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69349         (__ieee754_pow): Save and restore rounding mode and use
69350         round-to-nearest for main computations.
69351         * math/libm-test.inc (pow_test_tonearest): New function.
69352         (pow_test_towardzero): Likewise.
69353         (pow_test_downward): Likewise.
69354         (pow_test_upward): Likewise.
69355         (main): Call the new functions.
69356         * sysdeps/i386/fpu/libm-test-ulps: Update.
69357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69359         [BZ #3976]
69360         * math/libm-test.inc (cosh_test_tonearest): New function.
69361         (cosh_test_towardzero): Likewise.
69362         (cosh_test_downward): Likewise.
69363         (cosh_test_upward): Likewise.
69364         (sinh_test_tonearest): Likewise.
69365         (sinh_test_towardzero): Likewise.
69366         (sinh_test_downward): Likewise.
69367         (sinh_test_upward): Likewise.
69368         (main): Call the new functions.
69369         * sysdeps/i386/fpu/libm-test-ulps: Update.
69370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69372 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69374         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69375         default stack guard is set in last bytes.
69376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69378 2012-03-05  Kees Cook  <keescook@chromium.org>
69380         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69382         [BZ #13656]
69383         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69384         possibly allocate from heap instead of stack.
69385         * stdio-common/bug-vfprintf-nargs.c: New file.
69386         * stdio-common/Makefile (tests): Add nargs overflow test.
69388 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69392 2012-03-03  Marek Polacek  <polacek@redhat.com>
69394         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69395         * math/math_private.h: Likewise.
69396         * stdlib/tst-strtod.c: Likewise.
69397         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69398         * sysdeps/x86_64/bits/atomic.h: Likewise.
69400 2012-03-02  David S. Miller  <davem@davemloft.net>
69402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69406         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69407         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69408         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69409         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69411 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69413         [BZ #13792]
69414         * manual/examples/README: New file, says the example source files
69415         can be used under GPL>=2.
69416         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69417         line containing just "*/".
69418         * manual/examples/add.c: Add copyright header (GPL>=2).
69419         * manual/examples/argp-ex1.c: Likewise.
69420         * manual/examples/argp-ex2.c: Likewise.
69421         * manual/examples/argp-ex3.c: Likewise.
69422         * manual/examples/argp-ex4.c: Likewise.
69423         * manual/examples/atexit.c: Likewise.
69424         * manual/examples/db.c: Likewise.
69425         * manual/examples/dir.c: Likewise.
69426         * manual/examples/dir2.c: Likewise.
69427         * manual/examples/execinfo.c: Likewise.
69428         * manual/examples/filecli.c: Likewise.
69429         * manual/examples/filesrv.c: Likewise.
69430         * manual/examples/fmtmsgexpl.c: Likewise.
69431         * manual/examples/genpass.c: Likewise.
69432         * manual/examples/inetcli.c: Likewise.
69433         * manual/examples/inetsrv.c: Likewise.
69434         * manual/examples/isockad.c: Likewise.
69435         * manual/examples/longopt.c: Likewise.
69436         * manual/examples/memopen.c: Likewise.
69437         * manual/examples/memstrm.c: Likewise.
69438         * manual/examples/mkfsock.c: Likewise.
69439         * manual/examples/mkisock.c: Likewise.
69440         * manual/examples/mygetpass.c: Likewise.
69441         * manual/examples/pipe.c: Likewise.
69442         * manual/examples/popen.c: Likewise.
69443         * manual/examples/rprintf.c: Likewise.
69444         * manual/examples/search.c: Likewise.
69445         * manual/examples/select.c: Likewise.
69446         * manual/examples/setjmp.c: Likewise.
69447         * manual/examples/sigh1.c: Likewise.
69448         * manual/examples/sigusr.c: Likewise.
69449         * manual/examples/stpcpy.c: Likewise.
69450         * manual/examples/strdupa.c: Likewise.
69451         * manual/examples/strftim.c: Likewise.
69452         * manual/examples/strncat.c: Likewise.
69453         * manual/examples/subopt.c: Likewise.
69454         * manual/examples/swapcontext.c: Likewise.
69455         * manual/examples/termios.c: Likewise.
69456         * manual/examples/testopt.c: Likewise.
69457         * manual/examples/testpass.c: Likewise.
69458         * manual/examples/timeval_subtract.c: Likewise.
69460         [BZ #13792]
69461         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69462         function to ...
69463         * manual/timeval_subtract.c.texi: ... here, new file.
69465 2012-03-02  David S. Miller  <davem@davemloft.net>
69467         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69469 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69471         [BZ #3976]
69472         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69473         (__sin): Save and restore rounding mode and use round-to-nearest
69474         for all computations.
69475         (__cos): Save and restore rounding mode and use round-to-nearest
69476         for all computations.
69477         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69478         <fenv.h>.
69479         (tan): Save and restore rounding mode and use round-to-nearest for
69480         all computations.
69481         * math/libm-test.inc (cos_test_tonearest): New function.
69482         (cos_test_towardzero): Likewise.
69483         (cos_test_downward): Likewise.
69484         (cos_test_upward): Likewise.
69485         (sin_test_tonearest): Likewise.
69486         (sin_test_towardzero): Likewise.
69487         (sin_test_downward): Likewise.
69488         (sin_test_upward): Likewise.
69489         (tan_test_tonearest): Likewise.
69490         (tan_test_towardzero): Likewise.
69491         (tan_test_downward): Likewise.
69492         (tan_test_upward): Likewise.
69493         (main): Call the new functions.
69494         * sysdeps/i386/fpu/libm-test-ulps: Update.
69495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69497         [BZ #10135]
69498         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69499         small n, then large n, before computing and testing k+n.
69500         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69501         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69502         Likewise.
69503         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69504         Likewise.
69505         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69506         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69509         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69510         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69511         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69512         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69513         * math/libm-test.inc (scalbn_test): Add more tests.
69514         (scalbln_test): Likewise.
69516         * manual/filesys.texi (mode_t): Describe constraints on size and
69517         signedness, not exact equivalence to a particular type.
69518         (ino_t): Likewise.
69519         (ino64_t): Likewise.
69520         (dev_t): Likewise.
69521         (nlink_t): Likewise.
69522         (blkcnt_t): Likewise.
69523         (blkcnt64_t): Likewise.
69524         * manual/llio.texi (off_t): Likewise.
69526         [BZ #3976]
69527         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69528         (__ieee754_exp): Save and restore rounding mode and use
69529         round-to-nearest for all computations.
69530         * math/libm-test.inc (exp_test_tonearest): New function.
69531         (exp_test_towardzero): Likewise.
69532         (exp_test_downward): Likewise.
69533         (exp_test_upward): Likewise.
69534         (main): Call the new functions.
69535         * sysdeps/i386/fpu/libm-test-ulps: Update.
69536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69538 2012-03-01  Chris Demetriou  <cgd@google.com>
69540         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69541         have predictable order.
69543 2012-03-01  David S. Miller  <davem@davemloft.net>
69545         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69547         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69548         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69549         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69550         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69552         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69553         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69554         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69556         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69557         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69558         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69559         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69560         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69564         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69565         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69566         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69568         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69569         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69570         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69571         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69572         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69573         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69574         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69575         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69576         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69577         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69578         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69579         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69581         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69584         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69585         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69586         * sysdeps/sparc/elf/configure: Regenerated.
69588 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69590         * configure.in (AS, LD): Require binutils 2.20 or later.
69591         * configure: Regenerated.
69592         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69593         as required minimum version.
69594         * INSTALL: Regenerated.
69596         [BZ #2541]
69597         [BZ #4108]
69598         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69599         before squaring exponent.
69600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69601         bottom long double and 27 bits of top long double before squaring
69602         exponent.
69603         * math/libm-test.inc (erfc_test): Add more tests.
69604         * sysdeps/i386/fpu/libm-test-ulps: Update.
69605         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69608 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69610         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69611         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69612         containing bit-fields.
69613         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69614         * soft-fp/single.h (_FP_UNION_S): Likewise.
69615         * soft-fp/double.h (_FP_UNION_D): Likewise.
69617 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69619         [BZ #13786]
69620         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69621         not include ../strcmp.S.
69622         [USE_AS_STRNCASECMP_L]: Likewise.
69623         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69624         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69625         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69626         (__strncasecmp_l_ia32): Define as alias to
69627         __strncasecmp_l_nonascii.
69629         [BZ #5794]
69630         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69631         * sysdeps/i386/fpu/libm-test-ulps: Update.
69632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69634         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69637 2012-02-29  Jeff Law  <law@redhat.com>
69639         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69640         out of bounds read.
69642 2012-02-29  Marek Polacek  <polacek@redhat.com>
69644         [BZ #13706]
69645         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69646         * elf/Makefile: Add rules to run tst-unused-dep.out.
69648 2012-02-28  David S. Miller  <davem@davemloft.net>
69650         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69651         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69652         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69653         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69654         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69655         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69657 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69659         * math/libm-test.inc (llround_test): Move one test from
69660         lround_test.  Use TEST_f_L in moved test.
69661         (lround_test): Move misplaced test to llround_test.  Add testcase
69662         from bug 2561.
69664 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69666         * sysdeps/x86_64/fpu/e_expf.S: New file.
69667         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69669 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69671         [BZ #13637]
69672         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69673         of remain_len that may cause incomplete multi-byte character and
69674         false match.
69675         * posix/bug-regex33.c: New file.
69676         * posix/Makefile (tests): Add bug-regex33.
69678 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69680         * manual/macros.texi: New file.
69681         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69682         * manual/libc.texinfo: Include macros.texi.
69683         * manual/creatute.texi: Likewise.
69684         * manual/install.texi: Likewise.
69685         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69686         @glibcadj{} in references to the GNU C Library.
69687         * manual/charset.texi: Likewise.
69688         * manual/conf.texi: Likewise.
69689         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69690         when not using those macros.
69691         * manual/creature.texi: Likewise.
69692         * manual/crypt.texi: Likewise.
69693         * manual/errno.texi: Likewise.
69694         * manual/filesys.texi: Likewise.
69695         * manual/header.texi: Likewise.
69696         * manual/install.texi: Likewise.
69697         * manual/intro.texi: Likewise.
69698         * manual/io.texi: Likewise.
69699         * manual/job.texi: Likewise.
69700         * manual/lang.texi: Likewise.
69701         * manual/libc.texiinfo: Likewise.
69702         * manual/llio.texi: Likewise.
69703         * manual/locale.texi: Likewise.
69704         * manual/maint.texi: Likewise.
69705         * manual/math.texi: Likewise.
69706         * manual/memory.texi: Likewise.
69707         * manual/message.texi: Likewise.
69708         * manual/nss.texi: Likewise.
69709         * manual/pattern.texi: Likewise.
69710         * manual/process.texi: Likewise.
69711         * manual/resource.texi: Likewise.
69712         * manual/search.texi: Likewise.
69713         * manual/setjmp.texi: Likewise.
69714         * manual/signal.texi: Likewise.
69715         * manual/socket.texi: Likewise.
69716         * manual/startup.texi: Likewise.
69717         * manual/stdio.texi: Likewise.
69718         * manual/string.texi: Likewise.
69719         * manual/sysinfo.texi: Likewise.
69720         * manual/syslog.texi: Likewise.
69721         * manual/terminal.texi: Likewise.
69722         * manual/time.texi: Likewise.
69723         * manual/users.texi: Likewise.
69724         * INSTALL: Regenerated.
69725         * NOTES: Regenerated.
69726         * sysdeps/gnu/errlist.c: Regenerated.
69728 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69730         * include/dirent.h: Include <dirstream.h> before
69731         <dirent/dirent.h>.
69733 2012-02-28  David S. Miller  <davem@davemloft.net>
69735         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69736         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69737         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69738         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69740 2012-02-27  David S. Miller  <davem@davemloft.net>
69742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69744         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69745         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69748         frame pointer instead of stack pointer relative arg slot.
69749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69750         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69751         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69753 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69755         [BZ #3992]
69756         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69758 2012-02-27  David S. Miller  <davem@davemloft.net>
69760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69764         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69765         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69766         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69767         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69769 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69771         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69772         later.  Allow versions 5-9.
69773         * configure: Regenerated.
69774         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69775         required minimum version and 4.6 as recommended version.  Do not
69776         mention bugs in GCC 2.7 and 2.8.
69777         * INSTALL: Regenerated.
69779 2012-02-27  David S. Miller  <davem@davemloft.net>
69781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69785         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69786         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69787         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69788         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69791         manipulate bits before adding and subtracting TWO112[sx].
69792         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69794 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69796         [BZ #13775]
69797         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69798         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69799         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69800         being in POSIX, because they are in 1003.1-2008.
69802         * rt/tst-aio.c: Include <fcntl.h>.
69803         * rt/tst-aio7.c: Likewise.
69804         * rt/tst-aio64.c: Likewise.
69806         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69808 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69810         * manual/install.texi (--with-headers): Describe headers as
69811         interface headers, not private headers.
69812         (Specific advice for GNU/Linux systems): Describe use of headers
69813         from "make headers_install", not private headers from older
69814         kernels.
69815         * INSTALL: Regenerated.
69816         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69817         Change to 2.6.19.
69818         * sysdeps/unix/sysv/linux/configure: Regenerated.
69820         * manual/llio.texi (fclean): Remove documentation.
69822         * manual/Makefile (libc-texi-generated): New variable.  Include
69823         version.texi.
69824         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69825         $(libc-texi-generated), not duplicated list of files.
69826         (version.texi, stamp-version): New rules.
69827         (realclean): Remove $(libc-texi-generated), not individual files
69828         from that list.  Do not remove dir-add.texinfo.
69829         * manual/libc.texinfo: Comment out uses of edition numbers and
69830         references to printed manual.  Remove last-updated dates.
69831         (EDITION): Comment out.
69832         (ISBN): Likewise.
69833         (VERSION, UPDATED): Remove.
69834         (version.texi): Include.
69836 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69838         * sysdeps/posix/spawni.c: Include <signal.h>.
69839         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69840         * sysdeps/pthread/aio_fsync.c: Likewise.
69842 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69844         * conform/Makefile (tests): Run only when not cross-compiling and
69845         when fast-check is not defined.
69847         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69848         * conform/data/limits.h-data: Fixes for POSIX2008.
69849         * conform/run-conformtest.sh: Run all tests.
69850         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69851         headers.
69852         * include/bits/dlfcn.h: Likewise.
69853         * include/langinfo.h: Likewise.
69854         * include/monetary.h: Likewise.
69855         * include/sys/poll.h: Likewise.
69857         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69858         for __USE_GNU.
69859         * posix/spawn.h: Define __need_sigset_t.
69860         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69861         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69862         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69863         to get sigevent_t only.
69864         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69865         only for __USE_GNU.
69866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69867         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69868         process_vm_writev only for __USE_GNU.
69869         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69871         * conform/Makefile: For now ignore errors from run-conformtest.
69872         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69873         POSIX to avoid namespace pollution.  Don't prepend headers.
69874         * conform/data/aio.h-data: Fixes for POSIX testing.
69875         * conform/data/fcntl.h-data: Likewise.
69876         * conform/data/glob.h-data: Likewise.
69877         * conform/data/grp.h-data: Likewise.
69878         * conform/data/pthread.h-data: Likewise.
69879         * conform/data/pwd.h-data: Likewise.
69880         * conform/data/signal.h-data: Likewise.
69881         * conform/data/spawn.h-data: Likewise.
69882         * conform/data/stdio.h-data: Likewise.
69883         * conform/data/stdlib.h-data: Likewise.
69884         * conform/data/stropts.h-data: Likewise.
69885         * conform/data/sys/mman.h-data: Likewise.
69886         * conform/data/sys/stat.h-data: Likewise.
69887         * conform/data/sys/types.h-data: Likewise.
69888         * conform/data/sys/wait.h-data: Likewise.
69889         * conform/data/time.h-data: Likewise.
69890         * conform/data/unistd.h-data: Likewise.
69891         * conform/data/utime.h-data: Likewise.
69893         * io/sys/stat.h: fchmod was always in POSIX.
69894         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69895         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69896         * rt/aio.h: Define __need_timespec before including <time.h>.
69897         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69898         struct.  Add forward declaration of pthread_attr_t and use it in
69899         sigevent.
69900         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69902         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69903         always remove CLK_TCK definition.
69905 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69907         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69909 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69911         * conform/run-conformtest.sh: New file.
69912         * conform/Makefile: Run run-conformtest for tests.
69913         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69914         support.
69916         * conform/data/uchar.h-data: New file.
69917         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69918         * conform/data/arpa/inet.h-data: Likewise.
69919         * conform/data/assert.h-data: Likewise.
69920         * conform/data/complex.h-data: Likewise.
69921         * conform/data/cpio.h-data: Likewise.
69922         * conform/data/ctype.h-data: Likewise.
69923         * conform/data/dirent.h-data: Likewise.
69924         * conform/data/dlfcn.h-data: Likewise.
69925         * conform/data/errno.h-data: Likewise.
69926         * conform/data/fcntl.h-data: Likewise.
69927         * conform/data/float.h-data: Likewise.
69928         * conform/data/fmtmsg.h-data: Likewise.
69929         * conform/data/fnmatch.h-data: Likewise.
69930         * conform/data/ftw.h-data: Likewise.
69931         * conform/data/glob.h-data: Likewise.
69932         * conform/data/grp.h-data: Likewise.
69933         * conform/data/iconv.h-data: Likewise.
69934         * conform/data/inttypes.h-data: Likewise.
69935         * conform/data/langinfo.h-data: Likewise.
69936         * conform/data/libgen.h-data: Likewise.
69937         * conform/data/limits.h-data: Likewise.
69938         * conform/data/locale.h-data: Likewise.
69939         * conform/data/math.h-data: Likewise.
69940         * conform/data/monetary.h-data: Likewise.
69941         * conform/data/mqueue.h-data: Likewise.
69942         * conform/data/ndbm.h-data: Likewise.
69943         * conform/data/net/if.h-data: Likewise.
69944         * conform/data/netdb.h-data: Likewise.
69945         * conform/data/netinet/in.h-data: Likewise.
69946         * conform/data/nl_types.h-data: Likewise.
69947         * conform/data/poll.h-data: Likewise.
69948         * conform/data/pthread.h-data: Likewise.
69949         * conform/data/pwd.h-data: Likewise.
69950         * conform/data/regex.h-data: Likewise.
69951         * conform/data/sched.h-data: Likewise.
69952         * conform/data/search.h-data: Likewise.
69953         * conform/data/semaphore.h-data: Likewise.
69954         * conform/data/setjmp.h-data: Likewise.
69955         * conform/data/signal.h-data: Likewise.
69956         * conform/data/spawn.h-data: Likewise.
69957         * conform/data/stdarg.h-data: Likewise.
69958         * conform/data/stdio.h-data: Likewise.
69959         * conform/data/stdlib.h-data: Likewise.
69960         * conform/data/string.h-data: Likewise.
69961         * conform/data/strings.h-data: Likewise.
69962         * conform/data/stropts.h-data: Likewise.
69963         * conform/data/sys/ipc.h-data: Likewise.
69964         * conform/data/sys/mman.h-data: Likewise.
69965         * conform/data/sys/msg.h-data: Likewise.
69966         * conform/data/sys/resource.h-data: Likewise.
69967         * conform/data/sys/select.h-data: Likewise.
69968         * conform/data/sys/sem.h-data: Likewise.
69969         * conform/data/sys/shm.h-data: Likewise.
69970         * conform/data/sys/socket.h-data: Likewise.
69971         * conform/data/sys/stat.h-data: Likewise.
69972         * conform/data/sys/statvfs.h-data: Likewise.
69973         * conform/data/sys/time.h-data: Likewise.
69974         * conform/data/sys/timeb.h-data: Likewise.
69975         * conform/data/sys/times.h-data: Likewise.
69976         * conform/data/sys/types.h-data: Likewise.
69977         * conform/data/sys/uio.h-data: Likewise.
69978         * conform/data/sys/un.h-data: Likewise.
69979         * conform/data/sys/utsname.h-data: Likewise.
69980         * conform/data/sys/wait.h-data: Likewise.
69981         * conform/data/syslog.h-data: Likewise.
69982         * conform/data/tar.h-data: Likewise.
69983         * conform/data/termios.h-data: Likewise.
69984         * conform/data/utime.h-data: Likewise.
69985         * conform/data/utmpx.h-data: Likewise.
69986         * conform/data/varargs.h-data: Likewise.
69987         * conform/data/wchar.h-data: Likewise.
69988         * conform/data/wctype.h-data: Likewise.
69989         * conform/data/wordexp.h-data: Likewise.
69991         * include/stropts.h: New file.
69992         * include/uchar.h: New file.
69993         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69994         * include/assert.h: Likewise.
69995         * include/ctype.h: Likewise.
69996         * include/dirent.h: Likewise.
69997         * include/dlfcn.h: Likewise.
69998         * include/fcntl.h: Likewise.
69999         * include/fnmatch.h: Likewise.
70000         * include/glob.h: Likewise.
70001         * include/grp.h: Likewise.
70002         * include/libio.h: Likewise.
70003         * include/locale.h: Likewise.
70004         * include/math.h: Likewise.
70005         * include/net/if.h: Likewise.
70006         * include/netdb.h: Likewise.
70007         * include/netinet/in.h: Likewise.
70008         * include/pthread.h: Likewise.
70009         * include/pwd.h: Likewise.
70010         * include/regex.h: Likewise.
70011         * include/sched.h: Likewise.
70012         * include/search.h: Likewise.
70013         * include/setjmp.h: Likewise.
70014         * include/signal.h: Likewise.
70015         * include/stdio.h: Likewise.
70016         * include/stdlib.h: Likewise.
70017         * include/string.h: Likewise.
70018         * include/sys/cdefs.h: Likewise.
70019         * include/sys/mman.h: Likewise.
70020         * include/sys/msg.h: Likewise.
70021         * include/sys/resource.h: Likewise.
70022         * include/sys/select.h: Likewise.
70023         * include/sys/socket.h: Likewise.
70024         * include/sys/stat.h: Likewise.
70025         * include/sys/statvfs.h: Likewise.
70026         * include/sys/time.h: Likewise.
70027         * include/sys/times.h: Likewise.
70028         * include/sys/uio.h: Likewise.
70029         * include/sys/utsname.h: Likewise.
70030         * include/sys/wait.h: Likewise.
70031         * include/termios.h: Likewise.
70032         * include/time.h: Likewise.
70033         * include/ulimit.h: Likewise.
70034         * include/unistd.h: Likewise.
70035         * include/utime.h: Likewise.
70036         * include/wchar.h: Likewise.
70037         * include/wctype.h: Likewise.
70038         * include/wordexp.h: Likewise.
70040         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70042         * time/time.h: TIME_UTC must be a macro.
70043         Make timespec_get available for ISO C11 only as well.
70045 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70047         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70048         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70050 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70052         * configure.in: Use -o not -a in test for unsupported multi-arch.
70054 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70056         * manual/texinfo.tex: Update to version 2012-01-19.16.
70058 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70060         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70062 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70064         [BZ #13738]
70065         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70066         * manual/fdl-1.3.texi: New file.
70067         * manual/fdl-1.1.texi: File removed.
70069         [BZ #13738]
70070         * manual/libc.texinfo (FDL_VERSION): New @set.
70071         Use it for mention of FDL in cover text.
70072         (Documentation License): Use it in @include file name.
70074 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70075             Roland McGrath  <roland@hack.frob.com>
70077         [BZ #5461]
70078         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70079         (not LONG_LONG_MAX and LONG_LONG_MIN.
70080         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70081         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70082         name.
70083         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70085 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70087         [BZ #2547]
70088         [BZ #11365]
70089         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70090         manipulate bits before adding and subtracting TWO23[sx].
70091         * math/libm-test.inc (nearbyint_test): Add more tests.
70093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70095         [BZ #2548]
70096         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70097         bits before adding and subtracting TWO23[sx].
70098         * math/libm-test.inc (rint_test): Add more tests.
70099         (rint_test_tonearest): Likewise.
70100         (rint_test_towardzero): Likewise.
70101         (rint_test_downward): Likewise.
70102         (rint_test_upward: Likewise.
70104 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70106         [BZ #10110]
70107         * include/stdc-predef.h: New file.  Extracted from features.h.
70108         * include/features.h: Include stdc-predef.h.
70109         * Makefile (headers): Add stdc-predef.h.
70110         * CONFORMANCE (Compiler limitations): Update.
70112 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70114         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70116 2012-02-21  David S. Miller  <davem@davemloft.net>
70118         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70119         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70121 2012-02-20  David S. Miller  <davem@davemloft.net>
70123         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70124         using a normal save/restore sequence, rather than allocating a
70125         dummy stack frame just to store a frame pointer and restore.
70126         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70128 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70130         * manual/install.texi: Fix stray word in line-wrapped comment.
70132 2012-02-20  David S. Miller  <davem@davemloft.net>
70134         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70135         both binutils and gcc support GOTDATA.
70137         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70138         "rd %pc" in the PIC register setup sequences.
70140         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70141         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70142         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70143         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70144         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70146         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70149         (SYSCALL_ERROR_HANDLER): Likewise.
70150         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70151         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70153         (SYSCALL_ERROR_HANDLER): Likewise.
70155         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70156         (HAVE_GCC_GOTDATA): New.
70157         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70158         relocation support in both binutils and gcc.
70159         * sysdeps/sparc/elf/configure: Regenerate.
70161         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70162         * sysdeps/sparc/sparc32/elf/configure: Delete.
70163         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70164         * sysdeps/sparc/sparc64/elf/configure: Delete.
70165         * sysdeps/sparc/elf/configure.in: New file.
70166         * sysdeps/sparc/elf/configure: Generate.
70168         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70169         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70170         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70171         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70172         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70174 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70176         * manual/install.texi: Do not mention specific glibc version
70177         numbers.
70178         * manual/libc.texinfo (VERSION, UPDATED): Update.
70179         (@copying): Use @copyright{} and range of years.
70181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70183         [BZ #13695]
70184         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70185         [crti.S not in sysdirs] (generated): Do not append.
70186         [crti.S not in sysdirs] (omit-deps): Likewise.
70187         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70188         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70189         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70190         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70191         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70192         Likewise.
70193         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70194         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70195         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70196         * csu/defs.awk: Remove file.
70197         * sysdeps/generic/initfini.c: Likewise.
70198         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70199         variable.
70200         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70201         Likewise.
70203 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70205         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70206         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70207         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70208         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70210         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70211         <bits/epoll.h>.
70212         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70213         (__EPOLL_PACKED): Define to empty if not defined by
70214         <bits/epoll.h>.
70215         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70217         bits/epoll.h.
70219 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70221         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70222         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70223         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70224         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70225         <bits/timerfd.h>.
70226         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70228         bits/timerfd.h.
70230 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70232         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70233         in C locale.
70234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70235         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70236         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70239 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70241         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70242         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70244 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70246         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70247         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70248         defined.
70249         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70250         Likewise.
70251         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70252         entry for 2.16.
70254 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70256         * math/w_acos.c: Use non-signaling floating-point comparisons.
70257         * math/w_acosf.c: Likewise.
70258         * math/w_acosh.c: Likewise.
70259         * math/w_acoshf.c: Likewise.
70260         * math/w_acoshl.c: Likewise.
70261         * math/w_acosl.c: Likewise.
70262         * math/w_asin.c: Likewise.
70263         * math/w_asinf.c: Likewise.
70264         * math/w_asinl.c: Likewise.
70265         * math/w_atanh.c: Likewise.
70266         * math/w_atanhf.c: Likewise.
70267         * math/w_atanhl.c: Likewise.
70268         * math/w_exp2.c: Likewise.
70269         * math/w_exp2f.c: Likewise.
70270         * math/w_exp2l.c: Likewise.
70271         * math/w_j0.c: Likewise.
70272         * math/w_j0f.c: Likewise.
70273         * math/w_j0l.c: Likewise.
70274         * math/w_j1.c: Likewise.
70275         * math/w_j1f.c: Likewise.
70276         * math/w_j1l.c: Likewise.
70277         * math/w_jn.c: Likewise.
70278         * math/w_jnf.c: Likewise.
70279         * math/w_log.c: Likewise.
70280         * math/w_log10.c: Likewise.
70281         * math/w_log10f.c: Likewise.
70282         * math/w_log10l.c: Likewise.
70283         * math/w_log2.c: Likewise.
70284         * math/w_log2f.c: Likewise.
70285         * math/w_log2l.c: Likewise.
70286         * math/w_logf.c: Likewise.
70287         * math/w_logl.c: Likewise.
70288         * math/w_sqrt.c: Likewise.
70289         * math/w_sqrtf.c: Likewise.
70290         * math/w_sqrtl.c: Likewise.
70291         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70292         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70293         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70294         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70295         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70297 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70299         [BZ #9739]
70300         * manual/string.texi (strnlen): Use correct parameter name in
70301         equivalent expression.
70303 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70305         [BZ #11174]
70306         * manual/users.texi (seteuid): Consistently use neweuid for
70307         argument name.
70309 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70311         [BZ #13704]
70312         * manual/nss.texi (Services in the NSS configuration): Correct
70313         list of services in example configuration file.
70315 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70317         [BZ #11322]
70318         * manual/arith.texi: Remove statements about negative zero
70319         behaving identically to zero.
70321 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70323         [BZ #5993]
70324         * manual/install.texi: Do not document upgrading from libc5.
70326 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70328         [BZ #4596]
70329         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70331 2012-02-18  David S. Miller  <davem@davemloft.net>
70333         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70334         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70335         %o7 across the call.
70336         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70337         instead.
70338         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70339         SETUP_PIC_REG_LEAF.
70340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70341         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70342         * sysdeps/sparc/crtn.S: Likewise.
70344 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70346         * aout/Makefile: Remove.
70348 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70350         [BZ #13058]
70351         * manual/examples/argp-ex1.c (main): Format definition in GNU
70352         style.
70353         * manual/examples/argp-ex2.c (main): Likewise.
70354         * manual/examples/argp-ex3.c (main): Likewise.
70355         * manual/examples/argp-ex4.c (main): Likewise.
70356         * manual/examples/longopt.c (main): Use new-style prototype
70357         definition.
70358         * manual/examples/strncat.c (main): Specify return type and use
70359         (void) for arguments.
70360         * manual/examples/subopt.c (main): Use char **argv argument.
70362 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70364         [BZ #5077]
70365         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70366         rounding modes.
70368 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70370         [BZ #6907]
70371         * manual/string.texi (strchr): Change when strchrnul is
70372         recommended.
70374 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70376         [BZ #174]
70377         * manual/locale.texi (setlocale): Document LOCPATH.
70379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70381         [BZ #10210]
70382         * manual/process.texi (execle): Move @dots{} before last argument.
70384 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70386         [BZ #12047]
70387         * manual/charset.texi (Generic Charset Conversion): Fix typo
70388         (LC_TYPE -> LC_CTYPE).
70390 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70392         [BZ #5805]
70393         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70394         (scalbnf): Likewise.
70395         (scalbnl): Likewise.
70396         (scalbln): Likewise.
70397         (scalblnf): Likewise.
70398         (scalblnl): Likewise.
70399         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70400         (vwarnx): Likewise.
70401         (verr): Likewise.
70402         (verrx): Likewise.
70403         * manual/filesys.texi (telldir): Use braces around return type.
70404         * manual/llio.texi (mmap): Add space after comma.
70405         (mmap64): Likewise.
70406         * manual/math.texi (jn): Use @var{} on parameter names.
70407         (jnf): Likewise.
70408         (jnl): Likewise.
70409         (yn): Likewise.
70410         (ynf): Likewise.
70411         (ynl): Likewise.
70412         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70413         line.
70414         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70415         "...".
70416         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70417         (sched_get_priority_max): Likewise.
70418         * manual/signal.texi (sigvec): Add space after comma.
70419         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70420         names.
70421         (if_indextoname): Likewise.
70422         (if_freenameindex): Likewise.
70423         (sendto): Use ',' instead of '.' in prototype.
70424         * manual/startup.texi (syscall): Use @dots{} instead of literal
70425         "...".
70426         * manual/stdio.texi (__fpending): Separate initial words of
70427         paragraph from @deftypefun line.
70428         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70429         "...".
70430         (vsyslog): Use @var{} on parameter names.
70431         * manual/terminal.texi (stty): Use @var{} on parameter names.
70432         * manual/users.texi (getutmp): Use @var{} on parameter names.
70433         (getutmpx): Likewise.
70435 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70437         [BZ #6884]
70438         * manual/stdio.texi (fopen): Fix typos in description of
70439         ",ccs=STRING".
70441 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70443         [BZ #4026]
70444         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70445         get clock_id definition.
70447 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70449         [BZ #4822]
70450         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70451         (madvise): Cast every argument to void on its own.
70453 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70455         [BZ #9902]
70456         * manual/startup.texi (Exit Status): Fix typo.
70458 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70460         [BZ #10140]
70461         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70462         * manual/examples/argp-ex2.c: Likewise.
70463         * manual/examples/argp-ex3.c: Likewise.
70465 2012-02-16  Richard Henderson  <rth@redhat.com>
70467         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70468         * sysdeps/s390/s390-32/initfini.c: Remove.
70469         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70470         * sysdeps/s390/s390-64/initfini.c: Remove.
70472 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70474         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70475         compiler output for sysdeps/generic/initfini.c.
70476         * sysdeps/sh/elf/initfini.c: Remove file.
70478 2012-02-16  David S. Miller  <davem@davemloft.net>
70480         [BZ #11494]
70481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70483         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70484         * sysdeps/sparc/crti.S: New file.
70485         * sysdeps/sparc/crtn.S: New file.
70486         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70487         * sysdeps/sparc/sparc64/Makefile: Likewise.
70489 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70491         [BZ #3335]
70492         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70494 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70496         [BZ #4822]
70497         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70499         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70500         (write, read, close): Likewise.
70501         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70503 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70505         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70506         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70507         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70508         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70509         <bits/signalfd.h>.
70510         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70512         bits/signalfd.h.
70514 2012-02-14  Marek Polacek  <polacek@redhat.com>
70516         * sysdeps/x86_64/crti.S: New file.
70517         * sysdeps/x86_64/crtn.S: New file.
70518         * sysdeps/x86_64/elf/initfini.c: Remove file.
70520 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70522         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70523         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70524         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70525         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70526         <bits/inotify.h>.
70527         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70529         bits/inotify.h.
70531 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70533         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70534         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70535         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70536         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70537         <bits/eventfd.h>.
70538         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70540         bits/eventfd.h.
70542 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70544         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70545         __feraiseexcept instead of feraiseexcept.
70547         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70548         nanosleep invocations.
70549         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70550         strings, and add error checking for a nanosleep invocations.
70552 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70554         Replace FSF snail mail address with URLs, as per GNU coding standards.
70555         Most of the snail mail addresses were wrong anyway, and omitting
70556         them makes the source code easier to maintain.  Almost all of the
70557         changes are to license notices and to locale LC_IDENTIFICATION
70558         addresses, except for this one:
70559         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70560         not its snail mail address.
70562 2012-02-09  Richard Henderson  <rth@twiddle.net>
70564         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70565         of kernel-features.h.
70567         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70569 2012-02-08  Marek Polacek  <polacek@redhat.com>
70571         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70572         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70573         * sysdeps/gnu/_G_config.h: Likewise.
70574         * sysdeps/generic/_G_config.h: Likewise.
70576 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70578         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70579         tests.
70580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70582         * sysdeps/powerpc/powerpc32/crti.S: New file.
70583         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70584         * sysdeps/powerpc/powerpc64/crti.S: New file.
70585         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70587         * Makeconfig (have-initfini): Don't set.
70588         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70589         * configure.in (nopic_initfini): Don't substitute.
70590         * config.h.in (HAVE_INITFINI): Don't #undef.
70591         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70592         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70594 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70596         Support crti.S and crtn.S provided directly by architectures.
70597         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70598         [crti.S in sysdirs] (omit-deps): Likewise.
70599         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70600         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70601         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70602         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70603         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70604         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70605         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70606         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70607         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70608         compiler output for sysdeps/generic/initfini.c.
70609         * sysdeps/i386/elf/Makefile: Remove file.
70610         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70612 2012-02-07  Marek Polacek  <polacek@redhat.com>
70614         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70615         * sysdeps/gnu/_G_config.h: Likewise.
70616         * sysdeps/mach/hurd/_G_config.h: Likewise.
70618 2012-02-07  Marek Polacek  <polacek@redhat.com>
70620         * math/Makefile (tests): Add tst-CMPLX2.
70621         * math/tst-CMPLX2.c: New file.
70623 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70627         * math/libm-test.inc (jn_test): Add missing L suffix.
70629 2012-02-06  Marek Polacek  <polacek@redhat.com>
70631         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70632         * sysdeps/i386/fpu/e_powf.S: Likewise.
70633         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70634         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70635         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70636         * sysdeps/i386/fpu/e_pow.S: Likewise.
70637         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70638         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70639         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70640         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70641         * sysdeps/i386/fpu/e_log2.S: Likewise.
70642         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70643         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70644         * sysdeps/i386/fpu/e_powl.S: Likewise.
70645         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70646         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70647         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70648         * sysdeps/i386/fpu/e_logl.S: Likewise.
70649         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70650         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70651         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70652         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70653         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70654         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70655         * sysdeps/i386/fpu/e_log.S: Likewise.
70656         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70657         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70658         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70659         * sysdeps/i386/fpu/e_logf.S: Likewise.
70660         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70661         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70662         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70663         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70664         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70665         * sysdeps/i386/fpu/e_log10.S: Likewise.
70666         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70667         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70668         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70669         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70670         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70671         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70672         * sysdeps/i386/asm-syntax.h: Likewise.
70673         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70674         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70675         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70676         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70677         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70678         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70679         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70680         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70681         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70682         * sysdeps/powerpc/sysdep.h: Likewise.
70683         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70684         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70686 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70688         [BZ #411]
70689         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70691 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70693         * sysdeps/i386/sysdep.h: Include <features.h>.
70694         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70695         version.
70697 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70699         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70700         Define.
70701         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70702         LOAD_PIC_REG_STR.
70704 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70706         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70707         (SETUP_PIC_REG): Use GET_PC_THUNK.
70708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70709         macro.
70711 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70713         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70714         for non-PIC compilation.
70715         (SETUP_PIC_REG): Add .p2align directive.
70716         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70717         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70718         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70719         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70720         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70721         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70722         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70723         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70724         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70725         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70726         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70727         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70728         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70729         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70730         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70731         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70732         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70733         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70734         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70735         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70736         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70737         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70738         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70739         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70740         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70742         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70743         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70744         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70745         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70746         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70747         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70748         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70749         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70750         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70751         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70752         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70753         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70754         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70755         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70756         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70758 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70760         * math/tst-CMPLX.c: Include <stdio.h>.
70762 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70764         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70765         float.
70766         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70767         * sysdeps/sparc/bits/mathdef.h: Likewise.
70769 2012-01-31  Marek Polacek  <polacek@redhat.com>
70771         * libio/libio.h: Don't define _PARAMS.
70772         * locale/programs/config.h: Don't define PARAMS.
70773         * stdlib/strtol_l.c: Likewise.
70774         (__strtol_l): Remove PARAMS from the prototype.
70776 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70778         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70779         names.  Just use the correct names.  Remove unnecessary wrapper
70780         functions.
70781         * malloc/arena.c: Likewise.
70782         * malloc/hooks.c: Likewise.
70784         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70785         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70786         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70788 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70790         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70791         into tail calls.
70792         (update_get_addr): New function.
70793         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70794         GET_ADDR_MODULE parameter.
70796 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70798         * crypt/cert.c: Remove __STDC__ conditionals.
70799         * crypt/crypt-entry.c: Likewise.
70800         * crypt/crypt_util.c: Likewise.
70801         * libio/filedoalloc.c: Likewise.
70802         * libio/fileops.c: Likewise.
70803         * libio/genops.c: Likewise.
70804         * libio/iofclose.c: Likewise.
70805         * libio/iofdopen.c: Likewise.
70806         * libio/iofopen.c: Likewise.
70807         * libio/iofopen64.c: Likewise.
70808         * libio/iogetdelim.c: Likewise.
70809         * libio/iopopen.c: Likewise.
70810         * libio/obprintf.c: Likewise.
70811         * libio/oldfileops.c: Likewise.
70812         * libio/oldiofclose.c: Likewise.
70813         * libio/oldiofdopen.c: Likewise.
70814         * libio/oldiofopen.c: Likewise.
70815         * libio/oldiopopen.c: Likewise.
70816         * libio/wfiledoalloc.c: Likewise.
70817         * libio/wgenops.c: Likewise.
70818         * locale/programs/xmalloc.c: Likewise.
70819         * misc/syslog.c: Likewise.
70820         * stdio-common/xbug.c: Likewise.
70821         * string/memchr.c: Likewise.
70822         * string/memcmp.c: Likewise.
70823         * string/memrchr.c: Likewise.
70824         * string/rawmemchr.c: Likewise.
70825         * sysdeps/posix/getcwd.c: Likewise.
70826         * time/strftime_l.c: Likewise.
70828 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70830         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70831         * config.make.in (config-cflags-sse2avx): Define.
70832         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70833         Fix typo.
70835 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70837         * scripts/config.guess: Update from upstream config git repository.
70838         * scripts/config.sub: Likewise.
70840 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70842         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70843         (EM_NUM): Update.
70844         (R_TILEPRO_*, R_TILEGX_*): New macros.
70846         * scripts/firstversions.awk: Fix bug in version range handling.
70848         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70852         * include/sys/epoll.h: New file.
70853         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70854         libc_hidden_def.
70856 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70858         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70859         Avoid unnecessary __WORDSIZE == 64 test.
70860         (fmaxf): Use VEX format if possible.
70861         (fmax): Likewise.
70862         (fminf): Likewise.
70863         (fmin): Likewise.
70865         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70866         * math/math_private.h: Remove libc_fegetround* and
70867         libc_fesetround*.
70868         * sysdeps/i386/configure.in: Check for -msse2avx.
70869         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70870         also if SSE2AVX is defined.
70871         Remove libc_fegetround* and libc_fesetround*.
70872         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70873         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70875         of HAS_YMM_USABLE.
70876         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70877         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70878         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70880         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70882         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70884 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70886         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70887         size is not set.
70888         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70890 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70892         [BZ #13618]
70893         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70894         relocation.
70895         * Makeconfig (libm): Define.
70896         * elf/Makefile: Add rules to build and run tst-relsort1.
70897         * elf/tst-relsort1.c: New file.
70898         * elf/tst-relsort1mod1.c: New file.
70899         * elf/tst-relsort1mod2.c: New file.
70901 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70903         * math/s_ldexp.c: Remove __STDC__ conditionals.
70904         * math/s_ldexpf.c: Likewise.
70905         * math/s_ldexpl.c: Likewise.
70906         * math/s_nextafter.c: Likewise.
70907         * math/s_nexttowardf.c: Likewise.
70908         * math/s_significand.c: Likewise.
70909         * math/s_significandf.c: Likewise.
70910         * math/s_significandl.c: Likewise.
70911         * math/w_jnl.c: Likewise.
70912         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70913         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70914         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70915         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70916         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70918         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70919         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70920         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70921         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70922         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70923         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70924         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70925         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70926         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70927         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70928         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70929         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70930         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70931         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70932         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70933         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70934         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70935         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70936         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70937         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70938         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70939         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70940         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70941         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70942         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70943         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70944         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70945         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70946         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70947         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70948         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70949         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70950         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70951         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70952         * sysdeps/ieee754/k_standard.c: Likewise.
70953         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70956         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70957         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70958         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70959         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70960         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70961         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70962         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70963         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70964         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70965         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70966         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70967         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70969         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70971         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70972         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70973         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70974         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70975         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70976         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70977         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70978         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70979         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71013         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71014         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71015         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71016         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71019         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71025         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71026         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71027         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71028         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71029         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71030         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71031         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71032         * sysdeps/ieee754/s_matherr.c: Likewise.
71033         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71034         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71038 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71040         * crypt/md5.h: Remove __STDC__ conditionals.
71041         * libio/libioP.h: Likewise.
71042         * locale/programs/config.h: Likewise.
71043         * sysdeps/generic/sysdep.h: Likewise.
71044         * sysdeps/i386/asm-syntax.h: Likewise.
71045         * sysdeps/s390/asm-syntax.h: Likewise.
71046         * sysdeps/unix/sysdep.h: Likewise.
71047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71050 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71052         * libio/libio.h: Remove __STDC__ conditionals.
71053         * malloc/obstack.h: Likewise.
71054         * math/complex.h: Likewise.
71055         * math/math.h: Likewise.
71056         * sysdeps/generic/_G_config.h: Likewise.
71057         * sysdeps/gnu/_G_config.h: Likewise.
71058         * sysdeps/mach/hurd/_G_config.h: Likewise.
71059         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71060         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71061         * sysdeps/sparc/bits/mathdef.h: Likewise.
71063 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71065         [BZ #13583]
71066         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71067         Clean up HAS_* macros.
71068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71069         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71070         possible.
71071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71072         HAS_AVX.
71073         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71074         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71075         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71076         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71077         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71079 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71081         * elf/tst-unique3.cc (gets): Remove declaration.
71082         * elf/tst-unique3lib.cc (gets): Likewise.
71083         * elf/tst-unique3lib2.cc (gets): Likewise.
71084         * elf/tst-unique4.cc (gets): Likewise.
71086 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71088         * include/stdio.h: Add C++ protection.  Add gets declarations and
71089         definitions.
71090         * debug/tst-chk1.c: Don't declare gets here.
71091         * stdio-common/tst-gets.c: Likewise.
71093 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71095         * posix/glob: Remove directory.
71097 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71099         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71101 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71103         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71104         of the non-standard EPFNOSUPPORT.
71106 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71108         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71109         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71110         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71112 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71114         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71116 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71118         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71119         transient errors.
71120         * nscd/grpcache.c (cache_addgr): Likewise.
71121         * nscd/hstcache.c (cache_addhst): Likewise.
71122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71123         * nscd/pwdcache.c (cache_addpw): Likewise.
71124         * nscd/servicescache.c (cache_addserv): Likewise.
71126 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71128         * malloc/malloc.c: Various cleanups.
71129         * malloc/hooks.c: Likewise.
71131         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71132         * stdlib/bug-fmtmsg1.c: New file.
71134         * stdlib/fmtmsg.c (init): Add missing unlock.
71135         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71137 2012-01-12  Marek Polacek  <polacek@redhat.com>
71139         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71140         and _GNU_SOURCE.
71142 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71144         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71145         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71146         macro to ensure uniqueness of label name.
71147         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71148         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71150 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71152         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71154         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71155         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71156         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71159 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71161         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71163         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71164         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71165         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71167         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71170         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71171         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71174         * math/bits/math-finite.h: Add ldexp support.
71176 2012-01-10  Marek Polacek  <polacek@redhat.com>
71178         * locale/programs/localedef.h (show_archive_content): Add noreturn
71179         attribute.
71181 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71183         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71185 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71187         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71189         * io/Makefile (headers): Add bits/poll2.h.
71191 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71194         typo #include statement.
71196 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71198         * include/sys/cdefs.h: Define __attribute_alloc_size.
71199         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71200         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71201         * elf/pldd.c: Likewise.
71202         * iconv/iconv_charmap.c: Likewise.
71203         * iconv/iconvconfig.c: Likewise.
71204         * iconv/strtab.c: Likewise.
71205         * locale/programs/locale.c: Likewise.
71206         * locale/programs/localedef.h: Likewise.
71207         * locale/programs/simple-hash.c: Likewise.
71208         * nscd/nscd.h: Likewise.
71209         * nss/makedb.c: Likewise.
71210         * sysdeps/generic/ldconfig.h: Likewise.
71211         * locale/programs/localedef.c: Remove xmalloc prototype.
71212         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71214 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71216         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71217         appropriate.
71219 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71221         * math/Makefile (tests): Add tst-CMPLX.
71222         * math/tst-CMPLX.c: New file.
71224         * math/complex.h (CMPLXL): Fix typo.
71226         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71227         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71228         GLIBC_2.16.
71229         * debug/tst-chk1.c: Add poll and ppoll tests.
71230         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71231         * include/sys/poll.h: Add hidden proto for ppoll.
71232         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71233         * sysdeps/mach/hurd/ppoll.c: Likewise.
71234         * io/ppoll.c: Likewise.
71235         * debug/poll_chk.c: New file.
71236         * debug/ppoll_chk.c: New file.
71237         * include/bits/poll2.h: New file.
71238         * io/bits/poll2.h: New file.
71240         [BZ #1350]
71241         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71243         * configure.in: static is always set to yes.  Remove.
71244         * config.make.in: Don't set build-static.
71245         * Makeconfig: Remove use of build-static.
71246         * dlfcn/Makefile: Likewise.
71247         * elf/Makefile: Likewise.
71248         * math/Makefile: Likewise.
71249         * misc/Makefile: Likewise.
71250         * nptl/Makefile: Likewise.
71251         * sysdeps/mach/hurd/Makefile: Likewise.
71253         * configure.in: PWD_P is not used anymore.
71254         * config.make.in: Remove PWD_P entry.
71256         * configure.in: Remove last remnants of RANLIB.
71257         No need to check for signed size_t anymore.
71258         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71259         and IA-64.
71260         Remove __builtin_expect test because we require at least gcc 3.4.
71261         * aclocal.m4: Likewise.
71263         * wcsmbs/mbrtoc16.c: Implement using towc function.
71264         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71265         * wcsmbs/wcsmbsload.c: Likewise.
71266         * iconv/gconv_simple.c: Likewise.
71267         * iconv/gconv_int.h: Likewise.
71268         * iconv/gconv_builtin.h: Likewise.
71269         * iconv/iconv_prog.c: Remove CHAR16 handling.
71271         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71273         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71275         * configure.in: Remove --with-elf and --enable-bounded options.
71276         Dont set base_machine for ia64.  More non-ELF conditions removed.
71277         Remove testing and setting of leading underscore information.
71278         * config.make.in (build-bounded): Set to no.
71279         * config.h.in: Remove NO_UNDERSCORES entry.
71280         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71281         them.
71282         * csu/start.c: Remove !NO_UNDERSCORE code.
71283         * locale/localeinfo.h: Likewise.
71284         * sysdeps/generic/machine-gmon.h: Likewise.
71285         * sysdeps/generic/sysdep.h: Likewise.
71286         * sysdeps/i386/sysdep.h: Likewise.
71287         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71288         * sysdeps/mach/sysdep.h: Likewise.
71289         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71290         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71291         * sysdeps/sh/sysdep.h: Likewise.
71292         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71293         * sysdeps/unix/i386/sysdep.S: Likewise.
71294         * sysdeps/unix/sparc/start.c: Likewise.
71295         * sysdeps/unix/sparc/sysdep.S: Likewise.
71296         * sysdeps/unix/sparc/sysdep.h: Likewise.
71297         * sysdeps/unix/start.c: Likewise.
71298         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71299         * sysdeps/x86_64/sysdep.h: Likewise.
71301 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71303         [BZ #13553]
71304         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71305         for non-gcc.
71306         * argp/argp-fmtstream.h: Use const instead __const.
71307         * argp/argp.h: Likewise.
71308         * assert/assert.h: Likewise.
71309         * bits/fenv.h: Likewise.
71310         * bits/sched.h: Likewise.
71311         * bits/sigset.h: Likewise.
71312         * bits/sigthread.h: Likewise.
71313         * catgets/nl_types.h: Likewise.
71314         * conform/data/pthread.h-data: Likewise.
71315         * crypt/crypt-private.h: Likewise.
71316         * crypt/crypt.h: Likewise.
71317         * crypt/crypt_util.c: Likewise.
71318         * ctype/ctype.h: Likewise.
71319         * debug/execinfo.h: Likewise.
71320         * debug/mbsnrtowcs_chk.c: Likewise.
71321         * debug/mbsrtowcs_chk.c: Likewise.
71322         * debug/wcsnrtombs_chk.c: Likewise.
71323         * debug/wcsrtombs_chk.c: Likewise.
71324         * debug/wcstombs_chk.c: Likewise.
71325         * dirent/dirent.h: Likewise.
71326         * dlfcn/dlfcn.h: Likewise.
71327         * elf/neededtest4.c: Likewise.
71328         * grp/grp.h: Likewise.
71329         * gshadow/gshadow.h: Likewise.
71330         * iconv/gconv.h: Likewise.
71331         * iconv/gconv_int.h: Likewise.
71332         * iconv/gconv_simple.c: Likewise.
71333         * iconv/iconv.h: Likewise.
71334         * iconv/loop.c: Likewise.
71335         * iconv/skeleton.c: Likewise.
71336         * include/aio.h: Likewise.
71337         * include/aliases.h: Likewise.
71338         * include/argz.h: Likewise.
71339         * include/arpa/inet.h: Likewise.
71340         * include/assert.h: Likewise.
71341         * include/dirent.h: Likewise.
71342         * include/dlfcn.h: Likewise.
71343         * include/execinfo.h: Likewise.
71344         * include/fcntl.h: Likewise.
71345         * include/fenv.h: Likewise.
71346         * include/glob.h: Likewise.
71347         * include/grp.h: Likewise.
71348         * include/libintl.h: Likewise.
71349         * include/mntent.h: Likewise.
71350         * include/netdb.h: Likewise.
71351         * include/pwd.h: Likewise.
71352         * include/rpc/netdb.h: Likewise.
71353         * include/sched.h: Likewise.
71354         * include/search.h: Likewise.
71355         * include/shadow.h: Likewise.
71356         * include/signal.h: Likewise.
71357         * include/stdio.h: Likewise.
71358         * include/stdlib.h: Likewise.
71359         * include/string.h: Likewise.
71360         * include/sys/socket.h: Likewise.
71361         * include/sys/stat.h: Likewise.
71362         * include/sys/statfs.h: Likewise.
71363         * include/sys/statvfs.h: Likewise.
71364         * include/sys/syslog.h: Likewise.
71365         * include/sys/time.h: Likewise.
71366         * include/sys/uio.h: Likewise.
71367         * include/time.h: Likewise.
71368         * include/unistd.h: Likewise.
71369         * include/utmp.h: Likewise.
71370         * include/wchar.h: Likewise.
71371         * include/wctype.h: Likewise.
71372         * inet/aliases.h: Likewise.
71373         * inet/arpa/inet.h: Likewise.
71374         * inet/netinet/ether.h: Likewise.
71375         * inet/netinet/in.h: Likewise.
71376         * intl/libintl.h: Likewise.
71377         * io/bits/fcntl2.h: Likewise.
71378         * io/fcntl.h: Likewise.
71379         * io/ftw.h: Likewise.
71380         * io/sys/poll.h: Likewise.
71381         * io/sys/stat.h: Likewise.
71382         * io/sys/statfs.h: Likewise.
71383         * io/sys/statvfs.h: Likewise.
71384         * io/utime.h: Likewise.
71385         * libio/bits/stdio.h: Likewise.
71386         * libio/bits/stdio2.h: Likewise.
71387         * libio/libio.h: Likewise.
71388         * libio/libioP.h: Likewise.
71389         * libio/stdio.h: Likewise.
71390         * locale/lc-ctype.c: Likewise.
71391         * locale/locale.h: Likewise.
71392         * login/utmp.h: Likewise.
71393         * malloc/arena.c: Likewise.
71394         * malloc/malloc.c: Likewise.
71395         * malloc/malloc.h: Likewise.
71396         * malloc/mcheck.c: Likewise.
71397         * malloc/mtrace.c: Likewise.
71398         * math/bits/mathcalls.h: Likewise.
71399         * math/fenv.h: Likewise.
71400         * math/math_private.h: Likewise.
71401         * misc/bits/error.h: Likewise.
71402         * misc/bits/syslog.h: Likewise.
71403         * misc/err.h: Likewise.
71404         * misc/error.h: Likewise.
71405         * misc/fstab.h: Likewise.
71406         * misc/mntent.h: Likewise.
71407         * misc/regexp.h: Likewise.
71408         * misc/search.h: Likewise.
71409         * misc/sgtty.h: Likewise.
71410         * misc/sys/mman.h: Likewise.
71411         * misc/sys/syslog.h: Likewise.
71412         * misc/sys/uio.h: Likewise.
71413         * misc/sys/xattr.h: Likewise.
71414         * misc/ttyent.h: Likewise.
71415         * nis/rpcsvc/ypclnt.h: Likewise.
71416         * nss/nss.h: Likewise.
71417         * posix/bits/unistd.h: Likewise.
71418         * posix/fnmatch.h: Likewise.
71419         * posix/glob.h: Likewise.
71420         * posix/sched.h: Likewise.
71421         * posix/spawn.h: Likewise.
71422         * posix/sys/wait.h: Likewise.
71423         * posix/unistd.h: Likewise.
71424         * posix/wordexp.h: Likewise.
71425         * pwd/pwd.h: Likewise.
71426         * resolv/netdb.h: Likewise.
71427         * resource/sys/resource.h: Likewise.
71428         * rt/aio.h: Likewise.
71429         * rt/bits/mqueue2.h: Likewise.
71430         * rt/mqueue.h: Likewise.
71431         * shadow/shadow.h: Likewise.
71432         * signal/signal.h: Likewise.
71433         * socket/send.c: Likewise.
71434         * socket/sendto.c: Likewise.
71435         * socket/sys/socket.h: Likewise.
71436         * stdio-common/printf.h: Likewise.
71437         * stdlib/bits/stdlib.h: Likewise.
71438         * stdlib/fmtmsg.h: Likewise.
71439         * stdlib/monetary.h: Likewise.
71440         * stdlib/stdlib.h: Likewise.
71441         * stdlib/ucontext.h: Likewise.
71442         * streams/stropts.h: Likewise.
71443         * string/argz.h: Likewise.
71444         * string/bits/string2.h: Likewise.
71445         * string/string.h: Likewise.
71446         * string/strings.h: Likewise.
71447         * sunrpc/rpc/auth.h: Likewise.
71448         * sunrpc/rpc/auth_des.h: Likewise.
71449         * sunrpc/rpc/clnt.h: Likewise.
71450         * sunrpc/rpc/netdb.h: Likewise.
71451         * sunrpc/rpc/pmap_clnt.h: Likewise.
71452         * sunrpc/rpc/xdr.h: Likewise.
71453         * sysdeps/generic/inttypes.h: Likewise.
71454         * sysdeps/generic/net/if.h: Likewise.
71455         * sysdeps/generic/sys/swap.h: Likewise.
71456         * sysdeps/gnu/net/if.h: Likewise.
71457         * sysdeps/gnu/utmpx.h: Likewise.
71458         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71459         * sysdeps/i386/i486/bits/string.h: Likewise.
71460         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71461         * sysdeps/s390/bits/string.h: Likewise.
71462         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71463         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71464         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71465         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71466         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71467         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71468         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71469         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71470         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71471         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71472         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71473         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71474         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71475         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71476         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71477         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71478         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71481         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71483         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71484         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71485         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71486         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71487         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71488         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71490         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71491         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71492         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71493         * sysvipc/sys/ipc.h: Likewise.
71494         * sysvipc/sys/msg.h: Likewise.
71495         * sysvipc/sys/sem.h: Likewise.
71496         * sysvipc/sys/shm.h: Likewise.
71497         * termios/termios.h: Likewise.
71498         * time/sys/time.h: Likewise.
71499         * time/time.h: Likewise.
71500         * wcsmbs/bits/wchar2.h: Likewise.
71501         * wcsmbs/uchar.h: Likewise.
71502         * wcsmbs/wchar.h: Likewise.
71503         * wctype/wctype.h: Likewise.
71505         [BZ #13551]
71506         * Makeconfig: Remove all but ELF support including AIX support.
71507         * Makerules: Likewise.
71508         * config.h.in: Likewise.
71509         * config.make.in: Likewise.
71510         * configure: Likewise.
71511         * configure.in: Likewise.
71512         * csu/Makefile: Likewise.
71513         * csu/version.c: Likewise.
71514         * debug/Makefile: Likewise.
71515         * dlfcn/Makefile: Likewise.
71516         * elf/Makefile: Likewise.
71517         * extra-lib.mk: Likewise.
71518         * iconv/Makefile: Likewise.
71519         * include/libc-symbols.h: Likewise.
71520         * include/shlib-compat.h: Likewise.
71521         * resolv/Makefile: Likewise.
71522         * resolv/res_libc.c: Likewise.
71523         * rt/Makefile: Likewise.
71524         * sysdeps/i386/asm-syntax.h: Likewise.
71525         * sysdeps/i386/sysdep.h: Likewise.
71526         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71527         * sysdeps/mach/sysdep.h: Likewise.
71528         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71529         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71530         * sysdeps/s390/asm-syntax.h: Likewise.
71531         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71532         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71533         * sysdeps/sh/sysdep.h: Likewise.
71534         * sysdeps/unix/sparc/sysdep.h: Likewise.
71535         * sysdeps/wordsize-32/divdi3.c: Likewise.
71536         * sysdeps/x86_64/sysdep.h: Likewise.
71538         * argp/Versions: Remove _argp_unlock_xxx.
71540         [BZ #13559]
71541         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71542         * abilist/libBrokenLocale.abilist: Likewise.
71543         * abilist/libanl.abilist: Likewise.
71544         * abilist/libc.abilist: Likewise.
71545         * abilist/libcrypt.abilist: Likewise.
71546         * abilist/libdl.abilist: Likewise.
71547         * abilist/libm.abilist: Likewise.
71548         * abilist/libnsl.abilist: Likewise.
71549         * abilist/libpthread.abilist: Likewise.
71550         * abilist/libresolv.abilist: Likewise.
71551         * abilist/librt.abilist: Likewise.
71552         * abilist/libthread_db.abilist: Likewise.
71553         * abilist/libutil.abilist: Likewise.
71554         * abilist/libnss_db.abilist: New file.
71556         * scripts/abilist.awk: Add support for indirect functions.
71558         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71560         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71562         * shlib-versions: Remove entries for ports architectures.
71564         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71565         files in ports.
71566         * elf/stackguard-macros.h: Remove support for IA-64.
71567         * elf/tst-auditmod1.c: Likewise.
71568         * sysdeps/generic/ldsodefs.h: Likewise.
71570         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71571         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71572         configure files.
71574         [BZ #13552]
71575         * configure.in: Remove --enable-omitfp support.
71576         * FAQ.in: Adjust.
71577         * config.make.in: Likewise.
71578         * Makeconfig: Likewise.
71579         * manual/install.texi: Likewise.
71581         In case anyone cares, the IA-64 architecture could move to ports.
71582         * sysdeps/ia64/*: Removed.
71583         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71584         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71586         [BZ #13555]
71587         * configure.in: Remove entries for unsupported architectures.
71589         [BZ #13533]
71590         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71591         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71592         routines.
71593         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71594         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71595         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71596         fall back to using wcrtomb.
71597         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71598         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71599         renaming.
71600         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71601         * wcsmbs/tst-c16c32-1.c: New file.
71603         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71604         local variable.
71606         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71608         * elf/tst-unique3.cc: Add explicit declaration of gets.
71609         * elf/tst-unique3lib.cc: Likewise.
71610         * elf/tst-unique3lib2.cc: Likewise.
71611         * elf/tst-unique4.cc: Likewise.
71613         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71615 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71617         [BZ #13566]
71618         * assert/assert.h (static_assert): Don't define for C++.
71619         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71620         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71622 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71624         * iconv/loop.c (single loop): Fix assertion in storing of
71625         remaining bytes.
71627         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71629 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71631         * posix/getconf.c: Update copyright year.
71632         * nss/getent.c: Likewise.
71633         * nss/makedb.c: Likewise.
71634         * iconv/iconvconfig.c: Likewise.
71635         * iconv/iconv_prog.c: Likewise.
71636         * elf/ldconfig.c: Likewise.
71637         * elf/pldd.c: Likewise.
71638         * elf/sotruss.ksh: Likewise.
71639         * catgets/gencat.c: Likewise.
71640         * csu/version.c: Likewise.
71641         * elf/ldd.bash.in: Likewise.
71642         * elf/sprof.c (print_version): Likewise.
71643         * locale/programs/locale.c: Likewise.
71644         * locale/programs/localedef.c: Likewise.
71645         * login/programs/pt_chown.c: Likewise.
71646         * nscd/nscd.c (print_version): Likewise.
71647         * debug/xtrace.sh: Likewise.
71648         * malloc/memusage.sh: Likewise.
71649         * malloc/mtrace.pl: Likewise.
71650         * debug/catchsegv.sh: Likewise.
71652 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71654         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71655         pure attribute.
71657 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71659         [BZ #13533]
71660         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71661         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71662         transformations.
71663         * iconv/gconv_int.h: Likewise.
71664         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71665         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71666         from libc for GLIBC_2.16.
71667         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71668         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71669         * wcsmbs/uchar.h: Really define mbstate_t.
71670         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71671         * wcsmbs/c16rtomb.c: New file.
71672         * wcsmbs/mbrtoc16.c: New file.
71673         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71674         for C/POSIX locale.
71675         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71676         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71678         * wcsmbs/wchar.h: Add missing __restrict.
71680 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71682         [BZ #13532]
71683         * time/Makefile (routines): Add timespec_get.
71684         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71685         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71686         timespec for ISO C11.
71687         * time/timespec_get.c: New file.
71688         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71689         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71691         [BZ #13531]
71692         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71693         * stdlib/stdlib.h: Declare aligned_alloc.
71694         * Versions.def: Add GLIBC_2.16 for libc.
71695         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71697         [BZ 13527]
71698         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71699         ISO C11.
71701         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71702         code.
71704         [BZ #13528]
71705         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71707         [BZ #13529]
71708         * assert/assert.h (static_assert): Define.
71710         * version.h: Update for 2.16 development version.
71712         [BZ #13526]
71713         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71714         _ISOC11_SOURCE.
71716         * version.h (RELEASE): Bump for 2.15 release.
71717         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71719         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71720         Patch by Marek Polacek <mpolacek@redhat.com>.
71722         * bits/byteswap.h: Protect long long constants with __extension__.
71723         * sysdeps/i386/bits/byteswap.h: Likewise.
71724         * sysdeps/ia64/bits/byteswap.h: Likewise.
71725         * sysdeps/s390/bits/byteswap.h: Likewise.
71726         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71728 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71730         [BZ #13540]
71731         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71732         destination buffer.
71733         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71735 2011-12-23  Marek Polacek  <polacek@redhat.com>
71737         * elf/dl-addr.c (determine_info): Add inline keyword.
71738         * elf/tst-auditmod4b.c (check_avx): Likewise.
71739         * elf/tst-auditmod6b.c (check_avx): Likewise.
71740         * elf/tst-auditmod6c.c (check_avx): Likewise.
71741         * elf/tst-auditmod7b.c (check_avx): Likewise.
71743 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71745         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71746         !__SSE_MATH__.
71748 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71750         [BZ #13540]
71751         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71752         processing for last bytes.
71754 2011-08-06  Bruno Haible  <bruno@clisp.org>
71756         [BZ #13061]
71757         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71758         U+0385, not to U+1FEE.
71760         [BZ #13062]
71761         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71762         entry for U+00A5 U+0301.
71764 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71766         [BZ #13166]
71767         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71768         buffer for the output is too small.
71770         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71771         optimization.
71773         [BZ #13185]
71774         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71775         SSE flags if possible.
71777 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71779         [BZ #13540]
71780         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71781         processing for last bytes.
71783 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71785         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71786         (syscall-list-default-options, syscall-list-default-condition)
71787         (syscall-list-includes): Define.
71788         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71789         list of ABIs and options and #if conditions for each ABI.  Do not
71790         handle common syscalls between ABIs specially.
71791         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71792         Remove.
71793         (syscall-list-variants, syscall-list-32bit-options)
71794         (syscall-list-32bit-condition, syscall-list-64bit-options)
71795         (syscall-list-64bit-condition): Define.
71796         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71797         (syscall-list-variants, syscall-list-32bit-options)
71798         (syscall-list-32bit-condition, syscall-list-64bit-options)
71799         (syscall-list-64bit-condition): Define.
71800         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71801         Remove.
71802         (syscall-list-variants, syscall-list-32bit-options)
71803         (syscall-list-32bit-condition, syscall-list-64bit-options)
71804         (syscall-list-64bit-condition): Define.
71805         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71806         Remove.
71807         (syscall-list-variants, syscall-list-32bit-options)
71808         (syscall-list-32bit-condition, syscall-list-64bit-options)
71809         (syscall-list-64bit-condition): Define.
71811 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71813         * locale/iso-639.def: Add brx entry.
71815         [BZ #13328]
71816         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71817         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71819         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71820         __feraiseexcept_renamed.
71822 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71824         [BZ #13538]
71825         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71826         EPOLLET with unsigned values.
71827         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71830         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71831         to large cancellation.
71832         * math/s_cacoshf.c: Likewise.
71833         * math/s_cacoshl.c: Likewise.
71835 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71837         [BZ #13305]
71838         [BZ #12786]
71839         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71840         * math/s_cacoshf.c: Likewise.
71841         * math/s_cacoshl.c: Likewise.
71843 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71845         [BZ #13439]
71846         * iconv/gconv.h: Define __GCONV_SWAP.
71847         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71848         * iconvdata/utf-16.c: Likewise.
71849         * iconvdata/utf-32.c: Likewise.
71851 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71853         [BZ #13524]
71854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71855         numerator after shifting it by one limb.
71857 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71859         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71860         under [__USE_EXTERN_INLINES].
71862 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71864         [BZ #13446]
71865         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71867 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71869         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71870         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71871         optimized code.
71872         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71873         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71874         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71875         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71876         for strncasecmp/strncasecmp_l compilation.
71877         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71878         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71880 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71882         [BZ #13484]
71883         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71884         of __asm__.
71886 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71888         [BZ #13506]
71889         * time/tzfile.c (__tzfile_read): Check values from file header.
71891 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71893         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71894         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71895         * powerpc/powerpc32/dl-start.S: Likewise.
71896         * powerpc/powerpc32/elf/start.S: Likewise.
71897         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71898         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71899         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71900         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71901         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71902         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71903         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71904         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71905         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71906         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71907         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71908         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71909         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71910         * powerpc/powerpc32/memset.S: Likewise.
71911         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71912         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71913         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71914         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71915         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71916         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71917         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71918         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71919         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71920         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71921         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71922         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71923         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71925 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71927         * math/libm-test.inc: Added more nearbyint tests.
71928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71929         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71930         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71931         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71933 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71935         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71936         FD_CLOEXEC.
71938 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71940         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71941         Add wcscpy-ssse3 wcscpy-c.
71942         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71943         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71944         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71945         * sysdeps/x86_64/wcschr.S: New file.
71946         * sysdeps/x86_64/wcsrchr.S: New file.
71947         * string/test-strcmp.c: Remove checking of wcscmp function for
71948         wrong alignments.
71949         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71950         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71951         wcsrchr-sse2 wcsrchr-c.
71952         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71953         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71954         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71955         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71956         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71957         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71958         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71959         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71960         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71961         * wcsmbc/wcschr.c (WCSCHR): New macro.
71963 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71965         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71966         * wcsmbs/test-wcsrchr.c: New file.
71967         * string/test-strrchr.c: Add wcsrchr support.
71968         (WIDE): New macro.
71969         * wcsmbs/test-wcscpy.c: New file.
71970         * string/test-strcpy.c: Add wcscpy support.
71971         (WIDE): New macro.
71973 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71975         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71976         the inner loop.
71978 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71980         [BZ #13472]
71981         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71983 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71985         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71986         Minor optimizations.
71988         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71989         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71990         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71992 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71994         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71995         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71996         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71997         for gcc to avoid warnings.
71998         * inet/Makefile (tests): Add tst-checks.
71999         * inet/tst-checks.c: New file.
72001         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72002         warning.
72004         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72005         __wmemcmp_sse2.
72007         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72008         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72010         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72012 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72014         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72015         problem.
72017         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72019 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72021         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72022         conditional on GCC version.
72023         (__arch_compare_and_exchange_val_8_acq)
72024         (__arch_compare_and_exchange_val_16_acq)
72025         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72026         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72027         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72029 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72031         * sysdeps/sh/backtrace.c: New file.
72033 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72035         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72036         parenthesis.
72038 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72040         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72041         falling back to utime.
72043 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72045         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72046         expectations for float.
72048 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72050         * locale/weight.h (findidx): Add parameter len.
72051         * locale/weightwc.h (findidx): Likewise.
72052         * posix/fnmatch_loop.c (FCT): Adjust caller.
72053         * posix/regcomp.c (build_equiv_class): Likewise.
72054         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72055         * posix/regexec.c (check_node_accept_bytes): Likewise.
72056         * string/strcoll_l.c (STRCOLL): Likewise.
72057         * string/strxfrm_l.c (STRXFRM): Likewise.
72059 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72061         * Makefile.in: Remove CVSOPT handling.
72062         * configure.in: Remove use of AC_REVISION.
72063         * iconvdata/Makefile (distribute): No need to filter out CVS.
72064         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72065         handling.
72067 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72069         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72070         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72071         [USE_AS_STRNCASECMP_L]: Likewise.
72072         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72073         NO_TLS_DIRECT_SEG_REFS.
72074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72075         Fix argument offsets for non-PIC.
72076         [USE_AS_STRNCASECMP_L]: Likewise.
72077         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72078         NO_TLS_DIRECT_SEG_REFS.
72080 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72082         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72083         O_CLOEXEC.
72084         * locale/loadlocale.c (_nl_load_locale): Likewise.
72086 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72088         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72089         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72090         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72091         (SYSCALL_GETTIME): Set errno on error.
72093         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72094         count references to noai6ai_cached.
72096 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72098         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72100         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72101         FD_CLOEXEC for /proc/self/maps.
72103         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72104         FD_CLOEXEC for /proc/meminfo.
72106         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72107         gai.conf.
72109         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72110         FD_CLOEXEC for given file.
72112         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72114         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72115         FD_CLOEXEC for /etc/hosts.
72116         (_gethtent): Likewise.
72118         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72120         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72121         cancellation and set FD_CLOEXEC for /etc/netgroup.
72123         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72124         reading /etc/publickey.
72126         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72127         allow cancellation when reading /etc/group.
72129         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72130         cancellation.
72131         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72133         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72134         when using data file.
72136         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72138         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72139         (write_nis_obj): Use "c" and "e" in fopen.
72141         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72143         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72145         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72147         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72149         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72150         locale.alias.
72152         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72154         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72156         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72158         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72159         file parsing and set FD_CLOEXEC.
72161 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72163         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72165 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72167         * malloc/arena.c (arena_get2): Don't call reused_arena when
72168         _int_new_arena failed.
72170 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72172         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72173         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72174         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72175         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72178         to compile strcasecmp and strncasecmp.
72179         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72180         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72184 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72186         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72187         locale-defines.sym to gen-as-const-headers.
72188         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72189         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72191         to compile strcasecmp and strncasecmp.
72192         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72193         strcasecmp_l and strncasecmp_l.
72194         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72195         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72196         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72197         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72198         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72199         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72200         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72201         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72202         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72203         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72204         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72206 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72208         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72209         result of SYSDEP_GETTIME_CPU to retval.
72210         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72211         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72213         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72214         variable.
72216         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72217         mantissa words.
72218         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72220         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72221         from unused variable.
72223         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72224         DWARF definitions.
72225         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72226         for assembling.
72228         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72229         over namespaces.
72231         * sunrpc/rpc_prot.c (rejected): Fix case value.
72233         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72234         unsigned long long int to avoid warnings in shift.
72236         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72237         of use of trans.
72238         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72239         variable tmp.
72241         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72242         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72243         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72245         * nis/nis_table.c (nis_list): Use variable of correct type for
72246         result of __follow_path call.
72248 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72250         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72251         of math functions ceil, trunc, floor, round, and sqrt, when
72252         avaliable on the platform.
72253         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72254         name clash.
72255         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72256         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72257         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72259 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72261         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72262         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72264 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72266         * include/unistd.h: Fix __readlink return type.
72267         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72269 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72271         * stdlib/ucontext.h: Undo last change for makecontext.
72273 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72275         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72277         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72278         * setjmp/setjmp.h: Mark functions as non-leaf.
72279         * setjmp/bits/setjmp2.h: Likewise.
72280         * stdlib/ucontext.h: Likewise.
72282 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72284         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72285         (reused_arena): Don't check arena limit.
72286         (arena_get2): Atomically check arena limit.
72288 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72290         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72291         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72294         instructions.
72296 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72298         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72299         handler when locking.
72301         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72302         Fix size of allocated buffer.
72304 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72306         [BZ #10103]
72307         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72308         declarations for long double functions.
72309         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72311         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72313 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72315         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72316         installed.
72318         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72319         is disabled.
72321 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72323         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72325 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72327         * include/alloca.h (stackinfo_alloca_round): Define.
72328         (extend_alloca): Use it.
72329         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72330         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72331         here.
72333         * scripts/check-local-headers.sh: Ignore libaudit.h.
72335         * nscd/Makefile (extra-objs): Make recursively expanded.
72337 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72339         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72342         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72343         * posix/tst-rfc3484-2.c: Likewise.
72344         * posix/tst-rfc3484-3.c: Likewise.
72346         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72347         process_vm_writev.
72348         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72349         process_vm_writev.
72350         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72351         process_vm_writev from libc using GLIBC_2.15 version.
72353         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72355 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72357         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72358         stack usage.
72360 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72362         [BZ #13367]
72363         * nss/getent.c (initgroups_keys): Show error message in case no group
72364         names are given.
72366         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72367         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72368         __bump_nl_timestamp.
72369         * nscd/connections (nscd_init): When host database is served open
72370         netlink socket and request notification about configuration changes.
72371         (main_loop_poll): Track netlink file descriptor and bump timestamp
72372         in case data becomes available.
72373         (main_loop_epoll): Likewise.
72374         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72375         (database_pers_head): Add extra_data fileds.
72376         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72377         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72378         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72379         Adjust caller.
72380         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72381         in6ai data, call __free_in6ai.
72382         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72383         Add -DHAVE_NETLINK.
72384         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72385         interface information.  Reuse previous data if netlink timestamp
72386         is not changed.
72387         (__bump_nl_timestamp): New function.
72388         (__free_in6ai): New function.
72390 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72392         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72393         close_not_cancel_no_status here.
72394         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72396 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72398         [BZ #13276]
72399         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72400         return value.
72402         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72403         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72404         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72406 2011-07-03  Andreas Jaeger  <aj@suse.de>
72408         [BZ #10709]
72409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72410         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72411         * math/libm-test.inc (sin_test): Add test case.
72413 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72415         [BZ #13337]
72416         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72417         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72419         * elf/chroot_canon.c (chroot_canon): Cleanups.
72421         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72423         [BZ #13335]
72424         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72425         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72427         * string/test-strchr.c: Make usable for strchrnul testing.
72428         * string/test-strchrnul.c: New file.
72429         * string/Makefile (strop-tests): Add strchrnul.
72431         * po/it.po: Update from translation team.
72432         * po/es.po: Likewise.
72434 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72436         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72437         the three constants needed as parameters.  Drop the others.
72438         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72439         __m128i_strloadu_tolower.
72440         Create and initialize variable zero and use it in all the places
72441         where _mm_setzero_si128 was used.
72443         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72444         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72445         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72446         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72447         anymore.
72448         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72449         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72450         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72451         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72452         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72453         __mpranred, __mptan.
72454         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72455         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72456         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72457         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72458         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72459         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72461         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72462         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72464 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72466         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72467         redefine if SHARED.
72468         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72471         wide char related routines to wcsmbs subdir.
72473 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72475         [BZ #13344]
72476         * misc/sys/cdefs.h (__THROWNL): Define.
72477         * posix/unistd.h: Use __THREADNL instead of __THREAD
72478         for memory synchronization functions.
72480 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72482         [BZ #13349]
72483         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72484         doesn't exist.
72485         * manual/stdio.texi (Obstack Streams): Node removed.
72487 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72489         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72490         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72491         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72493         * math/math_private.h (math_force_eval): Allow non-addressable
72494         arguments.
72495         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72497 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72499         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72500         file is not needed.
72502         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72504         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72505         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72506         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72507         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72508         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72509         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72510         Add AVX variants.
72511         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72512         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72513         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72514         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72515         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72516         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72517         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72518         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72519         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72520         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72521         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72522         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72523         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72524         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72525         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72526         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72527         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72528         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72529         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72531         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72532         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72534         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72535         place.  Use VEX encoding when compiling for AVX.
72537 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72539         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72540         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72542         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72544 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72546         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72547         useless if() expression.
72548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72549         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72550         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72552         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72553         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72554         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72555         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72556         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72557         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72558         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72559         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72560         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72561         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72562         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72563         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72564         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72565         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72566         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72568         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72570 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72572         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72573         condition.
72574         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72576 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72578         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72579         .text section.  Avoid duplicate constants.
72580         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72589         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72590         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72591         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72592         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72594         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72595         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72596         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72597         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72602         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72603         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72604         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72605         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72606         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72607         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72608         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72609         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72610         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72611         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72612         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72613         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72614         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72615         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72616         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72617         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72618         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72619         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72620         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72621         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72622         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72623         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72624         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72626 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72628         * sysdeps/x86_64/dla.h: Move to ...
72629         * sysdeps/x86_64/fpu/dla.h: ...here.
72630         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72631         situations.  Use __builtin_fma only for gcc 4.6 and up.
72633         * config.make.in: Add have-mfma4 entry.
72634         * configure.in: Substitute libc_cv_cc_fma4.
72635         * math/Makefile (dbl-only-routines): Add sincostab.
72636         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72637         Use __sincostab not sincos.
72638         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72639         name is a macro.
72640         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72644         using __copysign.
72645         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72646         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72647         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72648         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72649         and __inv.
72650         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72651         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72652         __copysign.
72653         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72654         define aliases when function name is a macro.
72655         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72656         sysdeps/ieee754/dbl-64/sincos.tbl.
72657         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72658         fma4-enabled routines.
72659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72660         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72661         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72662         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72664         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72666         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72667         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72668         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72669         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72670         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72671         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72672         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72673         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72674         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72675         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72676         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72677         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72678         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72679         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72680         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72682         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72683         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72684         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72685         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72686         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72687         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72688         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72690         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72691         rename.
72692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72701 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72703         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72705 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72707         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72709         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72710         prediction.
72711         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72713         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72714         Remove unused variable magic_bits.
72715         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72717         * string/strnlen.c: Define and use STRNLEN macro.
72718         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72719         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72720         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72721         * wcsmbs/wcslen.c: Define and use WCSLEN.
72722         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72723         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72724         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72725         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72726         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72727         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72728         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72730 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72733         strnlen-sse2-no-bsf.
72734         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72735         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72736         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72737         Add strnlen support.
72738         (USE_AS_STRNLEN): New macro.
72739         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72740         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72741         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72742         * sysdeps/x86_64/wcslen.S: New file.
72744 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72746         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72747         XMM-moves are used for copying on small sizes.
72749 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72751         * wcsmbs/Makefile (strop-tests): Add wcschr.
72752         * wcsmbs/test-wcschr.c: New file.
72753         * string/test-strchr.c: Update.
72754         Add wcschr support.
72755         (WIDE): New macro.
72757 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72759         * wcsmbs/Makefile (strop-tests): Add wcslen.
72760         * wcsmbs/test-wcslen.c: New file.
72761         * string/test-strlen.c: Update.
72762         Add wcslen support.
72763         (WIDE): New macro.
72765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72767         * po/it.po: Update from translation team.
72769 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72771         * sysdeps/x86_64/wcscmp.S: Update.
72772         Fix wrong comparison semantics.
72773         wcscmp shall use signed comparison not unsigned.
72774         Don't use substraction to avoid overflow bug.
72775         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72776         * wcsmbc/wcscmp.c: Likewise.
72777         * string/test-strcmp.c: Likewise.
72778         Add new tests to check cases with negative values.
72780 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72782         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72783         * sysdeps/x86_64/dla.h: ...here.  New file.
72784         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72785         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72789         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72791         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72792         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72794 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72797         __ynl_finite aliases.
72799 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72803         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72804         define DLA_FMA.
72805         [DLA_FMA] (EMULV): Use DLA_FMA.
72806         [DLA_FMA] (MUL12): Use EMULV.
72807         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72808         that are not needed.
72809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72810         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72814         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72815         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72817 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72819         * math/s_nan.c: Undef __nan.
72820         * math/s_nanf.c: Undef __nanf.
72821         * math/s_nanl.c: Undef __nanl.
72822         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72823         "math_private.h".
72825 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72827         * math/s_catan.c: Add branch predictions.
72828         * math/s_catanf.c: Likewise.
72829         * math/s_catanh.c: Likewise.
72830         * math/s_catanhf.c: Likewise.
72831         * math/s_catanhl.c: Likewise.
72832         * math/s_catanl.c: Likewise.
72833         * math/s_cexp.c: Likewise.
72834         * math/s_cexpf.c: Likewise.
72835         * math/s_cexpl.c: Likewise.
72836         * math/s_clog.c: Likewise.
72837         * math/s_clog10.c: Likewise.
72838         * math/s_clog10f.c: Likewise.
72839         * math/s_clog10l.c: Likewise.
72840         * math/s_clogf.c: Likewise.
72841         * math/s_clogl.c: Likewise.
72842         * math/s_csqrt.c: Likewise.
72843         * math/s_csqrtf.c: Likewise.
72844         * math/s_csqrtl.c: Likewise.
72845         * math/s_ctanf.c: Likewise.
72846         * math/s_ctanh.c: Likewise.
72847         * math/s_ctanhf.c: Likewise.
72848         * math/s_ctanhl.c: Likewise.
72849         * math/s_ctanl.c: Likewise.
72851         * math/math_private.h: Define __nan, __nanf, __nanl.
72852         * math/s_cacosh.c: Include <math_private.h>.
72853         * math/s_cacoshl.c: Likewise.
72854         * math/s_casinh.c: Likewise.
72855         * math/s_casinhf.c: Likewise.
72856         * math/s_casinhl.c: Likewise.
72857         * math/s_ccos.c: Rely entire on ccosh.
72858         * math/s_ccosf.c: Rely entire on ccoshf.
72859         * math/s_ccosl.c: Rely entirely on ccoshl.
72860         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72861         Remove tests for FE_INVALID.
72862         * math/s_ccoshf.c: Likewise.
72863         * math/s_ccoshl.c: Likewise.
72864         * math/s_csin.c: Likewise.
72865         * math/s_csinf.c: Likewise.
72866         * math/s_csinh.c Likewise.
72867         * math/s_csinhf.c: Likewise.
72868         * math/s_csinhl.c: Likewise.
72869         * math/s_csinl.c: Likewise.
72870         * math/s_ctan.c: Likewise.
72871         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72872         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72873         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72875 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72878         compilation problems.
72880         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72881         __builtin_expect.
72883 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72885         * sysdeps/i386/configure.in: Test for -mfma4 option.
72886         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72887         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72888         COMMON_CPUID_INDEX_80000001.
72889         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72890         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72891         use it if FMA3 is not supported.
72892         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72894         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72895         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72897 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72899         [BZ #12892]
72900         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72901         it would create a cycle with a link time dependency.
72903 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72905         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72906         instruction.
72907         * string/Makefile (strop-tests): Add rawmemchr.
72908         * string/test-rawmemchr.c: New file.
72910         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72911         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72912         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72913         when compiling str{,n}casecmp and when AVX is available.  Hook up
72914         new optimized code in initializers.
72916 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72918         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72919         __feraiseexcept instead of feraiseexcept.
72921 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72923         * math/math_private.h: Define defaults for libc_fetestexcept and
72924         libc_feupdateenv.
72925         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72926         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72927         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72928         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72929         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72930         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72931         libc_fetestexcept and libc_feupdateenv.
72933         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72934         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72935         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72936         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72937         libc_feholdexcept_setround.
72939         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72940         Add s_nearbyint-c and s_nearbyintf-c.
72941         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72942         nearbyintf inlines.
72943         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72944         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72945         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72946         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72948         * math/math_private.h: Define defaults for libc_fegetround,
72949         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72950         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72951         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72952         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72953         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72954         standard functions.
72955         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72956         Remove comments and hacks for old compiler versions.
72957         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72958         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72959         libc_feholdexceptl.
72961 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72963         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72964         (__feraiseexcept_renamed): Add __NTH.
72965         (feraiseexcept): Add __NTH.  Rename local variables to fix
72966         namespace violations.
72968 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72970         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72972         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72974         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72975         recently added interfaces.
72976         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72978         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72979         about macro parameter expansion.
72981         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72982         __NO_MATH_INLINES is defined.  Cleanups.
72984         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72985         and __floorf is target has SSE4.1.
72986         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72987         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72988         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72989         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72991         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72992         name.
72993         (floorf): Likewise.
72995         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72997 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72999         * misc/sys/cdefs.h: Fix last change.
73001         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73002         database lookup.
73004 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73006         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73008         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73009         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73010         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73011         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73012         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73014         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73015         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73016         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73017         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73018         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73019         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73020         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73021         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73022         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73023         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73024         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73025         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73026         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73027         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73028         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73029         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73031         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73032         ceil, ceilf, floor, floorf.
73034         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73035         Perform IRELATIVE relocations last.
73037         * elf/do-rel.h: Add another parameter nrelative, replacing the
73038         local variable with the same name.  Change name of the function
73039         to end in Rel or Rela (uppercase).
73040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73041         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73042         elf_dynamic_do_##reloc function.
73044 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73046         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73047         is sufficient, at least on modern CPUs.
73049         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73051         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73052         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73054         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73055         __expl_finite.
73056         * math/bits/math-finite.h: Add entries for exp.
73057         * math/e_expl.c: Add __*_finite alias.
73058         * sysdeps/i386/fpu/e_exp.S: Likewise.
73059         * sysdeps/i386/fpu/e_expf.S: Likewise.
73060         * sysdeps/i386/fpu/e_expl.c: Likewise.
73061         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73062         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73063         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73065         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73066         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73067         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73069         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73070         is sufficient, at least on modern CPUs.
73072         * ctype/ctype-info.c (__ctype_init): Define.
73073         * include/ctype.h (__ctype_init): Declare.
73074         (__ctype_b_loc): The variable is always initialized.
73075         (__ctype_toupper_loc): Likewise.
73076         (__ctype_tolower_loc): Likewise.
73077         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73078         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73080 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73082         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73084         * configure.in: Also look in $cxxmachine/include for C++ system
73085         headers.
73087 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73089         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73090         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73091         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73092         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73093         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73094         (USE_AS_WMEMCMP): New macro.
73095         Fixing indents.
73096         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73097         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73098         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73099         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73101         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73102         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73103         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73104         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73105         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73106         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73107         (USE_AS_WMEMCMP): New macro.
73108         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73109         * sysdeps/string/test-memcmp.c: Update.
73110         Fix simple_wmemcmp.
73111         Add new tests.
73112         * wcsmbs/wmemcmp.c: Update.
73113         (WMEMCMP): New macro.
73114         Fix overflow bug.
73116 2011-10-12  Andreas Jaeger  <aj@suse.de>
73118         [BZ #13268]
73119         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73121 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73123         * libio/iofwide.c (do_length): Avoid warning.
73125         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73127 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73129         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73131         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73132         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73133         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73134         * sysdeps/i386/i686/fpu/e_log.S: New file.
73135         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73136         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73138         * ctype/ctype.h: Add support for inlined isXXX functions when
73139         compiling C++ code.
73141 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73143         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73145         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73147 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73149         [BZ #13291]
73150         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73152 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73154         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73155         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73156         feraiseexcept.
73158         * sysdeps/x86_64/memrchr.S: Check for zero size.
73160         * string/stratcliff.c: Add memrchr tests.
73162 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73165         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73166         rawmemchr-sse2 rawmemchr-sse2-bsf.
73167         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73168         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73169         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73170         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73171         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73172         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73173         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73174         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73175         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73176         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73177         * string/memrchr.c (MEMRCHR): New macro.
73179 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73181         Add integration with gcc's -ffinite-math-only and optimize wrapper
73182         functions in libm.
73183         * Versions.def: Define GLIBC_2.15 version for libm.
73184         * math/Makefile (headers): Add bits/math-finite.h.
73185         * math/bits/math-finite.h: New file.
73186         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73187         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73188         * math/e_acoshl.c: Add __*_finite alias.
73189         * math/e_acosl.c: Likewise.
73190         * math/e_asinl.c: Likewise.
73191         * math/e_atan2l.c: Likewise.
73192         * math/e_atanhl.c: Likewise.
73193         * math/e_coshl.c: Likewise.
73194         * math/e_exp10.c: Likewise.
73195         * math/e_exp10f.c: Likewise.
73196         * math/e_exp10l.c: Likewise.
73197         * math/e_exp2l.c: Likewise.
73198         * math/e_fmodl.c: Likewise.
73199         * math/e_gammal_r.c: Likewise.
73200         * math/e_hypotl.c: Likewise.
73201         * math/e_j0l.c: Likewise.
73202         * math/e_j1l.c: Likewise.
73203         * math/e_jnl.c: Likewise.
73204         * math/e_lgammal_r.c: Likewise.
73205         * math/e_log10l.c: Likewise.
73206         * math/e_log2l.c: Likewise.
73207         * math/e_logl.c: Likewise.
73208         * math/e_powl.c: Likewise.
73209         * math/e_sinhl.c: Likewise.
73210         * math/e_sqrtl.c: Likewise.
73211         * math/e_scalb.c: Completely rewritten and optimized.
73212         * math/e_scalbf.c: Likewise.
73213         * math/e_scalbl.c: Likewise.
73214         * math/w_acos.c: Likewise.
73215         * math/w_acosf.c: Likewise.
73216         * math/w_acosl.c: Likewise.
73217         * math/w_acosh.c: Likewise.
73218         * math/w_acoshf.c: Likewise.
73219         * math/w_acoshl.c: Likewise.
73220         * math/w_asin.c: Likewise.
73221         * math/w_asinf.c: Likewise.
73222         * math/w_asinl.c: Likewise.
73223         * math/w_atan2.c: Likewise.
73224         * math/w_atan2f.c: Likewise.
73225         * math/w_atan2l.c: Likewise.
73226         * math/w_atanh.c: Likewise.
73227         * math/w_atanhf.c: Likewise.
73228         * math/w_atanhl.c: Likewise.
73229         * math/w_exp10.c: Likewise.
73230         * math/w_exp10f.c: Likewise.
73231         * math/w_exp10l.c: Likewise.
73232         * math/w_fmod.c: Likewise.
73233         * math/w_fmodf.c: Likewise.
73234         * math/w_fmodl.c: Likewise.
73235         * math/w_j0.c: Likewise.
73236         * math/w_j0f.c: Likewise.
73237         * math/w_j0l.c: Likewise.
73238         * math/w_j1.c: Likewise.
73239         * math/w_j1f.c: Likewise.
73240         * math/w_j1l.c: Likewise.
73241         * math/w_jn.c: Likewise.
73242         * math/w_jnf.c: Likewise.
73243         * math/w_log.c: Likewise.
73244         * math/w_logf.c: Likewise.
73245         * math/w_logl.c: Likewise.
73246         * math/w_log10.c: Likewise.
73247         * math/w_log10f.c: Likewise.
73248         * math/w_log10l.c: Likewise.
73249         * math/w_log2.c: Likewise.
73250         * math/w_log2f.c: Likewise.
73251         * math/w_log2l.c: Likewise.
73252         * math/w_pow.c: Likewise.
73253         * math/w_powf.c: Likewise.
73254         * math/w_powl.c: Likewise.
73255         * math/w_remainder.c: Likewise.
73256         * math/w_remainderf.c: Likewise.
73257         * math/w_remainderl.c: Likewise.
73258         * math/w_scalb.c: Likewise.
73259         * math/w_scalbf.c: Likewise.
73260         * math/w_scalbl.c: Likewise.
73261         * math/w_sqrt.c: Likewise.
73262         * math/w_sqrtf.c: Likewise.
73263         * math/w_sqrtl.c: Likewise.
73264         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73265         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73266         used.
73267         * math/math_private.h: Declare __kernel_standard_f.
73268         * math/w_cosh.c: Remove cruft and optimize a bit.
73269         * math/w_coshf.c: Likewise.
73270         * math/w_coshl.c: Likewise.
73271         * math/w_exp2.c: Likewise.
73272         * math/w_exp2f.c: Likewise.
73273         * math/w_exp2l.c: Likewise.
73274         * math/w_hypot.c: Likewise.
73275         * math/w_hypotf.c: Likewise.
73276         * math/w_hypotl.c: Likewise.
73277         * math/w_lgamma.c: Likewise.
73278         * math/w_lgamma_r.c: Likewise.
73279         * math/w_lgammaf.c: Likewise.
73280         * math/w_lgammaf_r.c: Likewise.
73281         * math/w_lgammal.c: Likewise.
73282         * math/w_lgammal_r.c: Likewise.
73283         * math/w_sinh.c: Likewise.
73284         * math/w_sinhf.c: Likewise.
73285         * math/w_sinhl.c: Likewise.
73286         * math/w_tgamma.c: Likewise.
73287         * math/w_tgammaf.c: Likewise.
73288         * math/w_tgammal.c: Likewise.
73289         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73290         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73291         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73292         Minor optimizations.  Pretty printing.  Remove cruft.
73293         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73294         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73295         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73296         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73297         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73298         * sysdeps/i386/fpu/e_asin.S: Likewise.
73299         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73300         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73301         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73302         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73303         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73304         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73305         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73306         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73307         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73308         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73309         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73310         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73311         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73312         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73313         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73314         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73315         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73316         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73317         * sysdeps/i386/fpu/e_log.S: Likewise.
73318         * sysdeps/i386/fpu/e_log10.S: Likewise.
73319         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73320         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73321         * sysdeps/i386/fpu/e_log2.S: Likewise.
73322         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73323         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73324         * sysdeps/i386/fpu/e_logf.S: Likewise.
73325         * sysdeps/i386/fpu/e_logl.S: Likewise.
73326         * sysdeps/i386/fpu/e_pow.S: Likewise.
73327         * sysdeps/i386/fpu/e_powf.S: Likewise.
73328         * sysdeps/i386/fpu/e_powl.S: Likewise.
73329         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73330         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73331         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73332         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73334         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73335         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73336         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73337         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73338         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73339         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73341         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73342         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73343         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73344         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73345         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73347         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73348         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73349         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73351         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73352         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73354         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73355         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73356         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73357         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73358         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73359         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73360         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73361         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73362         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73363         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73364         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73365         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73366         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73367         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73369         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73370         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73372         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73373         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73374         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73375         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73376         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73377         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73378         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73379         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73380         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73381         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73382         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73383         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73384         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73385         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73386         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73387         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73388         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73389         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73391         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73393         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73394         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73395         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73396         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73397         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73398         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73399         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73402         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73403         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73404         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73406         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73408         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73409         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73410         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73412         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73415         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73416         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73417         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73418         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73419         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73420         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73421         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73422         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73423         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73424         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73425         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73426         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73427         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73428         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73429         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73430         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73431         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73432         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73433         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73434         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73435         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73436         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73437         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73438         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73439         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73440         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73441         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73442         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73443         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73444         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73445         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73446         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73447         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73448         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73449         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73450         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73451         (__isnanf): Likewise.
73452         (__isinf_ns): Likewise.
73453         (__isinf_nsf): Likewise.
73454         (__finite): Likewise.
73455         (__finitef): Likewise.
73456         (__ieee754_sqrt): Define as macro.
73457         (__ieee754_sqrtf): Define as macro.
73458         (__ieee754_sqrtl): Define as macro.
73459         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73460         inlined copy.
73461         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73462         __FINITE_MATH_ONLY__ consistent.
73463         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73465 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73467         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73468         of rawmemchr.
73470         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73472 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73474         * po/ja.po: Update from translation team.
73476 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73478         * locale/programs/locarchive.c (prepare_address_space): New function.
73479         (create_archive, enlarge_archive, open_archive): Use it.
73481         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73482         inside [SHARED], where it is used.
73484         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73486         * nss/getent.c (netgroup_keys): Remove unused variable.
73487         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73489 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73491         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73492         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73494         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73495         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73496         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73497         * math/Makefile (libm-calls): Add s_isinf_ns.
73498         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73499         * math/multc3.c: Likewise.
73500         * math/s_casin.c: Likewise.
73501         * math/s_casinf.c: Likewise.
73502         * math/s_casinl.c: Likewise.
73503         * math/s_ccos.c: Likewise.
73504         * math/s_ccosf.c: Likewise.
73505         * math/s_ccosl.c: Likewise.
73506         * math/s_ctan.c: Likewise.
73507         * math/s_ctanf.c: Likewise.
73508         * math/s_ctanh.c: Likewise.
73509         * math/s_ctanhf.c: Likewise.
73510         * math/s_ctanhl.c: Likewise.
73511         * math/s_ctanl.c: Likewise.
73512         * math/w_fmod.c: Likewise.
73513         * math/w_fmodf.c: Likewise.
73514         * math/w_fmodl.c: Likewise.
73515         * math/w_remainder.c: Likewise.
73516         * math/w_remainderf.c: Likewise.
73517         * math/w_remainderl.c: Likewise.
73518         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73519         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73520         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73522         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73523         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73524         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73525         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73527         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73528         of the number.
73529         * stdio-common/printf_fphex.c: Likewise.
73530         * stdio-common/printf_size.c: Likewise.
73532         * math/e_exp10.c: Include math_private.h using <...> not "...".
73533         * math/e_exp10f.c: Likewise.
73534         * math/e_exp10l.c: Likewise.
73535         * math/e_exp2l.c: Likewise.
73536         * math/e_j0l.c: Likewise.
73537         * math/e_j1l.c: Likewise.
73538         * math/e_jnl.c: Likewise.
73539         * math/e_lgammal_r.c: Likewise.
73540         * math/e_rem_pio2l.c: Likewise.
73541         * math/e_scalb.c: Likewise.
73542         * math/e_scalbf.c: Likewise.
73543         * math/e_scalbl.c: Likewise.
73544         * math/k_cosl.c: Likewise.
73545         * math/k_sinl.c: Likewise.
73546         * math/k_tanl.c: Likewise.
73547         * math/s_cacoshf.c: Likewise.
73548         * math/s_catan.c: Likewise.
73549         * math/s_catanf.c: Likewise.
73550         * math/s_catanh.c: Likewise.
73551         * math/s_catanhf.c: Likewise.
73552         * math/s_catanhl.c: Likewise.
73553         * math/s_catanl.c: Likewise.
73554         * math/s_ccosh.c: Likewise.
73555         * math/s_ccoshf.c: Likewise.
73556         * math/s_ccoshl.c: Likewise.
73557         * math/s_cexp.c: Likewise.
73558         * math/s_cexpf.c: Likewise.
73559         * math/s_cexpl.c: Likewise.
73560         * math/s_clog.c: Likewise.
73561         * math/s_clog10.c: Likewise.
73562         * math/s_clog10f.c: Likewise.
73563         * math/s_clog10l.c: Likewise.
73564         * math/s_clogf.c: Likewise.
73565         * math/s_clogl.c: Likewise.
73566         * math/s_csin.c: Likewise.
73567         * math/s_csinf.c: Likewise.
73568         * math/s_csinh.c: Likewise.
73569         * math/s_csinhf.c: Likewise.
73570         * math/s_csinhl.c: Likewise.
73571         * math/s_csinl.c: Likewise.
73572         * math/s_csqrt.c: Likewise.
73573         * math/s_csqrtf.c: Likewise.
73574         * math/s_csqrtl.c: Likewise.
73575         * math/s_ctan.c: Likewise.
73576         * math/s_ctanf.c: Likewise.
73577         * math/s_ctanh.c: Likewise.
73578         * math/s_ctanhf.c: Likewise.
73579         * math/s_ctanhl.c: Likewise.
73580         * math/s_ctanl.c: Likewise.
73581         * math/s_ldexp.c: Likewise.
73582         * math/s_ldexpf.c: Likewise.
73583         * math/s_ldexpl.c: Likewise.
73584         * math/s_significand.c: Likewise.
73585         * math/s_significandf.c: Likewise.
73586         * math/s_significandl.c: Likewise.
73587         * math/w_acos.c: Likewise.
73588         * math/w_acosf.c: Likewise.
73589         * math/w_acosh.c: Likewise.
73590         * math/w_acoshf.c: Likewise.
73591         * math/w_acoshl.c: Likewise.
73592         * math/w_acosl.c: Likewise.
73593         * math/w_asin.c: Likewise.
73594         * math/w_asinf.c: Likewise.
73595         * math/w_asinl.c: Likewise.
73596         * math/w_atan2.c: Likewise.
73597         * math/w_atan2f.c: Likewise.
73598         * math/w_atan2l.c: Likewise.
73599         * math/w_atanh.c: Likewise.
73600         * math/w_atanhf.c: Likewise.
73601         * math/w_atanhl.c: Likewise.
73602         * math/w_cosh.c: Likewise.
73603         * math/w_coshf.c: Likewise.
73604         * math/w_coshl.c: Likewise.
73605         * math/w_dremf.c: Likewise.
73606         * math/w_exp10.c: Likewise.
73607         * math/w_exp10f.c: Likewise.
73608         * math/w_exp10l.c: Likewise.
73609         * math/w_exp2.c: Likewise.
73610         * math/w_exp2f.c: Likewise.
73611         * math/w_fmod.c: Likewise.
73612         * math/w_fmodf.c: Likewise.
73613         * math/w_fmodl.c: Likewise.
73614         * math/w_hypot.c: Likewise.
73615         * math/w_hypotf.c: Likewise.
73616         * math/w_hypotl.c: Likewise.
73617         * math/w_j0.c: Likewise.
73618         * math/w_j0f.c: Likewise.
73619         * math/w_j0l.c: Likewise.
73620         * math/w_j1.c: Likewise.
73621         * math/w_j1f.c: Likewise.
73622         * math/w_j1l.c: Likewise.
73623         * math/w_jn.c: Likewise.
73624         * math/w_jnf.c: Likewise.
73625         * math/w_jnl.c: Likewise.
73626         * math/w_lgamma.c: Likewise.
73627         * math/w_lgamma_r.c: Likewise.
73628         * math/w_lgammaf.c: Likewise.
73629         * math/w_lgammaf_r.c: Likewise.
73630         * math/w_lgammal.c: Likewise.
73631         * math/w_lgammal_r.c: Likewise.
73632         * math/w_log.c: Likewise.
73633         * math/w_log10.c: Likewise.
73634         * math/w_log10f.c: Likewise.
73635         * math/w_log10l.c: Likewise.
73636         * math/w_log2.c: Likewise.
73637         * math/w_log2f.c: Likewise.
73638         * math/w_log2l.c: Likewise.
73639         * math/w_logf.c: Likewise.
73640         * math/w_logl.c: Likewise.
73641         * math/w_pow.c: Likewise.
73642         * math/w_powf.c: Likewise.
73643         * math/w_powl.c: Likewise.
73644         * math/w_remainder.c: Likewise.
73645         * math/w_remainderf.c: Likewise.
73646         * math/w_remainderl.c: Likewise.
73647         * math/w_scalb.c: Likewise.
73648         * math/w_scalbf.c: Likewise.
73649         * math/w_scalbl.c: Likewise.
73650         * math/w_sinh.c: Likewise.
73651         * math/w_sinhf.c: Likewise.
73652         * math/w_sinhl.c: Likewise.
73653         * math/w_sqrt.c: Likewise.
73654         * math/w_sqrtf.c: Likewise.
73655         * math/w_sqrtl.c: Likewise.
73656         * math/w_tgamma.c: Likewise.
73657         * math/w_tgammaf.c: Likewise.
73658         * math/w_tgammal.c: Likewise.
73660         * po/ja.po: Update from translation team.
73662 2011-09-29  Andreas Jaeger  <aj@suse.de>
73664         [BZ #13179]
73665         * sunrpc/netname.c (netname2host): Fix logic.
73667         [BZ #6779]
73668         [BZ #6783]
73669         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73670         correctly.
73671         * math/w_remainder.c (__remainder): Likewise.
73672         * math/w_remainderf.c (__remainderf): Likewise.
73673         * math/libm-test.inc (remainder_test): Add test cases.
73675 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73677         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73678         sdiv_qrnnd.
73680 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73682         * string/test-memcmp.c: Avoid unncessary #defines.
73683         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73685 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73687         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73688         Use new sse2 version for core i3 - i7 as it's faster
73689         than sse42 version.
73690         (bit_Prefer_PMINUB_for_stringop): New.
73691         * sysdeps/x86_64/rawmemchr.S: Update.
73692         Replace with faster SSE2 version.
73693         * sysdeps/x86_64/memrchr.S: New file.
73694         * sysdeps/x86_64/memchr.S: Update.
73695         Replace with faster SSE2 version.
73697 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73699         * elf/dl-load.c (lose): Add cast to avoid warning.
73701 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73703         * po/ca.po: Update from translation team.
73705         * inet/getnetgrent_r.c: Hook up nscd.
73706         * nscd/Makefile (routines): Add nscd_netgroup.
73707         (nscd-modules): Add netgroupcache.
73708         (CFLAGS-netgroupcache.c): Define.
73709         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73710         (cache_search): Add const to second parameter.
73711         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73712         INNETGR.
73713         (dbs): Add netgrdb entry.
73714         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73715         (verify_persistent_db): Handle netgrdb.
73716         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73717         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73718         GETFDNETGR.
73719         (netgroup_response_header): Define.
73720         (innetgroup_response_header): Define.
73721         (datahead): Add netgroup_response_header and innetgroup_response_header
73722         elements.
73723         * nscd/nscd.conf: Add entries for netgroup cache.
73724         * nscd/nscd.h (dbtype): Add netgrdb.
73725         (_PATH_NSCD_NETGROUP_DB): Define.
73726         (netgroup_iov_disabled): Declare.
73727         (xmalloc, xcalloc, xrealloc): Move declarations here.
73728         (cache_search): Adjust prototype.
73729         Add netgroup-related prototypes.
73730         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73731         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73732         (__nscd_innetgr): Declare.
73733         * nscd/selinux.c (perms): Use access_vector_t as element type and
73734         add netgroup-related initializers.
73735         * nscd/netgroupcache.c: New file.
73736         * nscd/nscd_netgroup.c: New file.
73737         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73738         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73739         For four parameters use innetgr.
73740         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73741         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73742         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73743         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73745         * nscd/connections.c (register_traced_file): Don't register file
73746         for disabled databases.
73748 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73750         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73752         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73753         from tree and freeing node.
73755 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73757         * nss/nsswitch.c (__nss_database_lookup): Handle
73758         nss_parse_service_list out of memory case.
73760 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73762         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73763         out of memory case.
73765 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73767         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73768         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73769         pass it down.
73770         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73771         elf_machine_rela, elf_machine_lazy_rel.
73772         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73773         (ELF_DYNAMIC_DO_REL): Likewise.
73774         (ELF_DYNAMIC_DO_RELA): Likewise.
73775         (ELF_DYNAMIC_RELOCATE): Likewise.
73776         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73777         to ELF_DYNAMIC_DO_REL.
73778         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73779         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73780         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73781         elf_machine_rela.
73782         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73783         skip_ifunc, don't call ifunc function if non-zero.
73784         (elf_machine_rela): Likewise.
73785         (elf_machine_lazy_rel): Likewise.
73786         (elf_machine_lazy_rela): Likewise.
73787         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73788         (elf_machine_lazy_rel): Likewise.
73789         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73790         Likewise.
73791         (elf_machine_lazy_rel): Likewise.
73792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73793         Likewise.
73794         (elf_machine_lazy_rel): Likewise.
73795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73796         (elf_machine_lazy_rel): Likewise.
73797         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73798         (elf_machine_lazy_rel): Likewise.
73799         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73800         (elf_machine_lazy_rel): Likewise.
73801         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73802         (elf_machine_lazy_rel): Likewise.
73803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73804         (elf_machine_lazy_rel): Likewise.
73805         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73806         (elf_machine_lazy_rel): Likewise.
73808 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73810         * nss/nss_files/files-init.c (_nss_files_init): Use static
73811         initialization for all the *_traced_file variables.
73813 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73815         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73817 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73819         [BZ #13226]
73820         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73822 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73824         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73825         Reread the line before reparsing it.
73827 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73829         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73831 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73832             Maxim Kuvyrkov  <maxim@codesourcery.com>
73833             Joseph Myers  <joseph@codesourcery.com>
73835         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73836         if needed for __stack_chk_guard.
73838 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73840         * sysdeps/posix/spawni.c (script_execute): Always define it.
73841         It will be optimized away if unused.
73842         (maybe_script_execute): New function.
73843         (__spawni): Call it.
73845         * Makerules: Don't include tls.make.
73846         (config-tls): Always set to thread.
73847         * tls.make.c: File removed.
73849 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73851         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73852         * config.make.in (CPPFLAGS-config): New substituted variable.
73854 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73856         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73858         [BZ #13192]
73859         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73860         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73862 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73864         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73865         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73866         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73867         (CALL_FAIL): Likewise.
73868         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73869         (CALL_FAIL): Macro removed.
73870         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73872 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73874         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73875         for __FINITE_MATH_ONLY__ == 1.
73877 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73879         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73880         __ieee754_sqrt instead of sqrt.
73881         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73882         __ieee754_sqrtf instead of sqrtf.
73883         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73884         __floorf instead of floorf.
73885         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73886         __floorf, __truncf instead of floorf, truncf.
73888 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73890         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73892         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73893         __extern_always_inline.
73894         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73895         32-bit.
73897 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73899         * elf/rtld.c (dl_main): Also relocate in dependency order when
73900         doing symbol dependency testing.
73902 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73905         Always define `refsym'.
73907 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73909         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73910         (__FD_ELT): Renamed from __FDELT.
73911         * misc/bits/select2.h (__FD_ELT): Likewise.
73912         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73913         __FD_MASK instead of __FDELT, __FDMASK.
73914         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73915         Likewise.
73916         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73917         Likewise.
73919         * elf/Makefile (gen-ldd): Fix pattern.
73921         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73922         (init_tls): Likewise.
73924 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73926         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73928 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73930         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73931         `struct cmsghdr *' instead of `void *'.
73932         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73933         Likewise.
73935 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73937         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73938         if non-absolute.
73939         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73940         ldd_rewrite_script.
73942 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73944         * configure.in: Remove --with-tls option.
73945         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73946         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73947         out in case it is missing.
73948         * sysdeps/ia64/elf/configure.in: Likewise.
73949         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73950         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73951         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73952         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73953         * sysdeps/sh/elf/configure.in: Likewise.
73954         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73955         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73956         * sysdeps/x86_64/elf/configure.in: Likewise.
73957         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73958         * sysdeps/mach/hurd/tls.h: Likewise.
73960         [BZ #13067]
73961         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73963         [BZ #13090]
73964         * configure.in: Fix use of AC_INIT.
73966         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73968 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73970         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73971         __set_errno.
73972         * malloc/hooks.c: Likewise.
73974         [BZ #11929]
73975         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73976         variables statically.
73977         (narenas): Initialize.
73978         (list_lock): Initialize.
73979         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73980         initializtion of main_arena and list_lock.  Small cleanups.
73981         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73982         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73983         Add initializers to main_arena and mp_.
73984         (malloc_state): Remove pagesize member.  Change all users to use
73985         GLRO(dl_pagesize).
73987         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73988         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73989         is always initialized.
73991         * malloc/malloc.c: Removed unused configurations and dead code.
73992         * malloc/arena.c: Likewise.
73993         * malloc/hooks.c: Likewise.
73994         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73996         * include/tls.h: Removed.  USE___THREAD must always be defined.
73997         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73998         * elf/dl-libc.c: Likewise.
73999         * elf/dl-tsd.c: Likewise.
74000         * include/errno.h: Likewise.
74001         * include/netdb.h: Likewise.
74002         * include/resolv.h: Likewise.
74003         * inet/herrno-loc.c: Likewise.
74004         * inet/herrno.c: Likewise.
74005         * malloc/arena.c: Likewise.
74006         * malloc/hooks.c: Likewise.
74007         * malloc/malloc.c: Likewise.
74008         * resolv/res-state.c: Likewise.
74009         * resolv/res_libc.c: Likewise.
74010         * sysdeps/i386/dl-machine.h: Likewise.
74011         * sysdeps/ia64/dl-machine.h: Likewise.
74012         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74013         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74014         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74015         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74016         * sysdeps/sh/dl-machine.h: Likewise.
74017         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74018         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74019         * sysdeps/unix/i386/sysdep.S: Likewise.
74020         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74021         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74022         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74024         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74026         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74030         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74031         * sysdeps/x86_64/dl-machine.h: Likewise.
74032         * tls.make.c: Likewise.
74034         * configure.in: Remove --with-__thread option.  Make tests for
74035         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74036         tls_model attribute fail if no support is available.  Remove
74037         USE_IN_LIBIO.
74038         * Makeconfig: Adjust for dropped configure option.  All features are
74039         now mandatory.
74040         * Makerules: Likewise.
74041         * Versions.def: Likewise.
74042         * argp/argp-fmtstream.c: Likewise.
74043         * argp/argp-fmtstream.h: Likewise.
74044         * argp/argp-help.c: Likewise.
74045         * assert/assert.c: Likewise.
74046         * config.h.in: Likewise.
74047         * config.make.in: Likewise.
74048         * configure: Likewise.
74049         * configure.in: Likewise.
74050         * csu/Versions: Likewise.
74051         * csu/init.c: Likewise.
74052         * elf/tst-audit2.c: Likewise.
74053         * elf/tst-tls10.c: Likewise.
74054         * elf/tst-tls10.h: Likewise.
74055         * elf/tst-tls11.c: Likewise.
74056         * elf/tst-tls12.c: Likewise.
74057         * elf/tst-tls14.c: Likewise.
74058         * elf/tst-tlsmod11.c: Likewise.
74059         * elf/tst-tlsmod12.c: Likewise.
74060         * elf/tst-tlsmod13.c: Likewise.
74061         * elf/tst-tlsmod13a.c: Likewise.
74062         * elf/tst-tlsmod14a.c: Likewise.
74063         * elf/tst-tlsmod15b.c: Likewise.
74064         * elf/tst-tlsmod16a.c: Likewise.
74065         * elf/tst-tlsmod16b.c: Likewise.
74066         * elf/tst-tlsmod7.c: Likewise.
74067         * elf/tst-tlsmod8.c: Likewise.
74068         * elf/tst-tlsmod9.c: Likewise.
74069         * gmon/gmon.c: Likewise.
74070         * grp/fgetgrent_r.c: Likewise.
74071         * grp/putgrent.c: Likewise.
74072         * hurd/fopenport.c: Likewise.
74073         * include/libc-symbols.h: Likewise.
74074         * include/tls.h: Likewise.
74075         * intl/gettextP.h: Likewise.
74076         * intl/loadinfo.h: Likewise.
74077         * locale/global-locale.c: Likewise.
74078         * locale/localeinfo.h: Likewise.
74079         * mach/devstream.c: Likewise.
74080         * malloc/arena.c: Likewise.
74081         * malloc/set-freeres.c: Likewise.
74082         * misc/err.c: Likewise.
74083         * misc/getttyent.c: Likewise.
74084         * misc/mntent_r.c: Likewise.
74085         * posix/getopt.c: Likewise.
74086         * posix/wordexp.c: Likewise.
74087         * pwd/fgetpwent_r.c: Likewise.
74088         * resolv/Versions: Likewise.
74089         * resolv/res_hconf.c: Likewise.
74090         * shadow/fgetspent_r.c: Likewise.
74091         * shadow/putspent.c: Likewise.
74092         * stdio-common/printf_fphex.c: Likewise.
74093         * stdio-common/tmpfile.c: Likewise.
74094         * stdlib/abort.c: Likewise.
74095         * stdlib/fmtmsg.c: Likewise.
74096         * sunrpc/auth_unix.c: Likewise.
74097         * sunrpc/clnt_perr.c: Likewise.
74098         * sunrpc/clnt_tcp.c: Likewise.
74099         * sunrpc/clnt_udp.c: Likewise.
74100         * sunrpc/clnt_unix.c: Likewise.
74101         * sunrpc/openchild.c: Likewise.
74102         * sunrpc/svc_simple.c: Likewise.
74103         * sunrpc/svc_tcp.c: Likewise.
74104         * sunrpc/svc_udp.c: Likewise.
74105         * sunrpc/svc_unix.c: Likewise.
74106         * sunrpc/xdr.c: Likewise.
74107         * sunrpc/xdr_array.c: Likewise.
74108         * sunrpc/xdr_rec.c: Likewise.
74109         * sunrpc/xdr_ref.c: Likewise.
74110         * sunrpc/xdr_stdio.c: Likewise.
74112 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74114         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74116 2011-07-03  Andreas Jaeger  <aj@suse.de>
74118         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74119         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74120         regenerate with gen-libm-tests.pl.
74122 2010-05-12  Petr Baudis  <pasky@suse.cz>
74124         [BZ #11589]
74125         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74126         around j0() zero points by switching to j1().
74127         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74128         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74130         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74132 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74134         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74135         instead of 0.
74136         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74137         instead of 0.
74138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74139         Patch in part by Pavel Roskin <proski@gnu.org>.
74141         [BZ #13138]
74142         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74143         realloc.
74144         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74145         Free memory block if necessary.
74147         [BZ #12847]
74148         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74149         be NULL.  Don't lock in this case.
74151 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74153         * elf/elf.h (ELFOSABI_GNU): New macro.
74154         (ELFOSABI_LINUX): Define to that.
74156 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74158         * string/strncat.c (strncat): Undef the symbol in case it has been
74159         defined in bits/string.h.
74161 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74163         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74165         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74166         link map.
74168 2011-08-17  Andreas Jaeger  <aj@suse.de>
74170         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74172 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74173             Ian Lance Taylor  <iant@google.com>
74175         * math/libm-test.inc (lround_test): New testcase.
74176         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74178 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74180         * Makefile: Remove support for automatic cvs check-ins.
74181         * Makerules: Likewise.
74182         * config.make.in: Likewise.
74183         * configure.in: Likewise.
74184         * intl/Makefile: Likewise.
74185         * locale/Makefile: Likewise.
74186         * po/Makefile: Likewise.
74187         * posix/Makefile: Likewise.
74188         * sysdeps/gnu/Makefile: Likewise.
74189         * sysdeps/mach/hurd/Makefile: Likewise.
74190         * sysdeps/sparc/sparc32/Makefile: Likewise.
74192         [BZ #13118]
74193         * posix/Makefile (bug-regex32-ENV): Define.
74194         Patch by John Stanley <jpsinthemix@verizon.net>.
74196         * misc/Makefile (headers): Add bits/select2.h.
74197         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74198         * misc/bits/select2.h: New file.
74199         * include/bits/select2.h: New file.
74200         * debug/Makefile (routines): Add fdelt_chk.
74201         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74202         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74203         FD_ISSET.
74204         * debug/fdelt_chk.c: New file.
74206         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74207         * wcsmbs/test-wmemcmp.c: Likewise.
74208         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74209         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74211 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74213         * string/Makefile (strop-tests): Add memcmp.
74214         * string/test-wmemcmp.c: New file.
74215         * string/test-memcmp.c: Add wmemcmp support.
74217 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74219         [BZ #13153]
74220         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74221         2011-07-19 change.
74223         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74224         garbage value in a __mach_port_mod_refs call in the cases of the
74225         task-self and thread-self ports.
74227 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74229         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74231 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74233         * elf/dl-load.c (lose): Check for non-null L.
74235 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74237         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74239         * elf/dl-libc.c (dlerror_run): Pass back error code from
74240         dl_catch_error.
74242         [BZ #13123]
74243         * elf/dl-load.c (lose): Free l_origin if it is valid.
74245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74246         names.
74247         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74248         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74249         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74250         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74251         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74252         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74254 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74256         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74257         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74258         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74259         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74260         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74261         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74262         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74263         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74264         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74265         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74267 2011-08-15  Alan Modra  <amodra@gmail.com>
74269         [BZ #13092]
74270         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74271         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74272         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74273         ppc_mcount to static-only-routines.
74274         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74275         __mcount_internal.
74276         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74277         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74279 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74282         for finite and infinity parameters.
74284 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74287         and add nop instructions for throughput optimization.
74288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74290 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74292         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74293         aligned copy for power7 with vector-scalar instructions.
74294         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74296 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74299         AVX check.
74301 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74303         [BZ #13144]
74304         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74305         last change.
74307 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74309         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74310         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74311         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74312         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74313         clock_gettime.
74315 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74317         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74318         Forgot to demangle the pointer.
74320         * sysdeps/i386/sysdep.h: Define atom_text_section.
74321         * sysdeps/x86_64/sysdep.h: Likewise.
74322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74323         section with atom_text_section.
74324         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74325         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74328         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74330         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74331         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74332         already be defined.  Change to take two parameters and don't assign
74333         result to variable.  Adjust all users.
74334         Define INTERNAL_GETTIME if not already defined.
74335         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74336         call.
74337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74338         HAVE_CLOCK_GETTIME_VSYSCALL.
74339         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74342         gettimeofday vsyscall, just use time.
74344 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74347         <errno.h>.
74349 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74351         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74352         syscall on x86-64.
74353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74354         syscall.
74355         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74357         syscall if possible.
74359 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74361         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74362         e_ident.  Don't pass to find_mapsXX.
74363         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74365 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74368         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74369         * sysdeps/x86_64/multiarch/strchr.S: Update.
74370         Check bit_slow_BSF bit.
74371         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74372         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74373         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74375 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74377         [BZ #13134]
74378         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74379         before glibc 2.15.
74380         (tryshell): Define.
74381         (__spawni): Change last parameter to be flag.  Test
74382         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74383         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74384         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74385         * posix/spawni.c: Likewise.
74386         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74387         * posix/spawnp.c: Likewise.  Change normal version to use
74388         SPAWN_XFLAGS_USE_PATH.
74389         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74390         SPAWN_XFLAGS_TRY_SHELL.
74392         [BZ #13150]
74393         * posix/glob.h: Remove gcc 1.x support.
74395         [BZ #13068]
74396         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74398 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74401         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74402         strrchr-sse2-bsf
74403         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74404         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74405         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74406         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74407         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74408         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74410 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74412         * sysdeps/x86_64/wcscmp.S: New file.
74414         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74415         wcscmp-c wcscmp-sse2
74416         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74417         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74418         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74419         * wcsmbs/wcscmp.c: Allow renaming.
74421 2011-09-05  David S. Miller  <davem@davemloft.net>
74423         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74424         stack slot, rather than the struct return pointer slot.
74425         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74426         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74428         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74430 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74432         * po/ja.po: Update from translation team.
74434         [BZ #13144]
74435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74436         kernel in 64-bit binaries.
74438 2011-09-01  David S. Miller  <davem@davemloft.net>
74440         * elf/elf.h (HWCAP_SPARC_*): Move to..
74441         * sysdeps/sparc/sysdep.h: this new file and add new values.
74442         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74443         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74444         _DL_HWCAP_COUNT to 24.
74445         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74446         entries.
74447         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74448         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74449         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74451         instead of magic constants.
74452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74454 2011-08-31  David S. Miller  <davem@davemloft.net>
74456         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74458         Reimplement to do errno handling inline.
74459         (SYSCALL_ERROR_HANDLER): New macro.
74460         (__SYSCALL_STRING): Do not do errno handling in asm.
74461         (__CLONE_SYSCALL_STRING): Delete.
74462         (__INTERNAL_SYSCALL_STRING): Delete.
74463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74464         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74465         (PSEUDO): Reimplement to do errno handling inline.
74466         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74467         (SYSCALL_ERROR_HANDLER): New macro.
74468         (__SYSCALL_STRING): Do not do errno handling in asm.
74469         (__CLONE_SYSCALL_STRING): Delete.
74470         (__INTERNAL_SYSCALL_STRING): Delete.
74471         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74472         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74473         i386.
74474         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74475         (inline_syscall*): Add 'err' argument.
74476         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74477         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74478         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74479         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74481         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74482         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74484 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74486         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74488 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74490         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74491         directive.
74493 2011-08-24  David S. Miller  <davem@davemloft.net>
74495         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74497 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74499         * elf/Makefile: Add rules to build and run unload8 test.
74500         * elf/unload8.c: New file.
74501         * elf/unload8mod1.c: New file.
74502         * elf/unload8mod1x.c: New file.
74503         * elf/unload8mod2.c: New file.
74504         * elf/unload8mod3.c: New file.
74506         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74507         it wasn't used.
74509 2011-08-23  David S. Miller  <davem@davemloft.net>
74511         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74512         subtract stack bias.
74513         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74514         %sp not %fp in calculations.
74515         (_JMPBUF_UNWINDS_ADJ): Likewise.
74517         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74518         (aio_suspend): Call it to force an exception region around the
74519         AIO_MISC_WAIT() invocation.
74521 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74523         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74524         backslash.
74526 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74528         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74529         protection macro.
74530         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74531         and <dl-machine.h>.
74532         (Elf64_FuncDesc): Remove.
74534 2011-08-22  David S. Miller  <davem@davemloft.net>
74536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74537         sigaltstack check, add missing cfi directives.
74538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74539         missing cfi directives, and sigaltstack handling.
74541 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74543         [BZ #11724]
74544         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74545         object is seen twice.
74546         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74548         * elf/Makefile (distribute): Add tst-initorder2.c.
74549         (tests): Add tst-initorder2.
74550         (modules-names): Add tst-initorder2a tst-initorder2b
74551         tst-initorder2c tst-initorder2d.  Add rules to build them.
74552         ($(objpfx)tst-initorder2.out): New rule.
74553         * elf/tst-initorder2.c: New file.
74554         * elf/tst-initorder2.exp: New file.
74556 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74558         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74560         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74561         dependencies back to end of function.
74563         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74564         $(elfobjdir)/ld.so.
74566 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74569         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74570         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74571         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74572         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74573         of __vdso_gettimeofday.
74574         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74575         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74576         attribute_hidden.
74577         (_libc_vdso_platform_setup): Remove initialization of
74578         __vdso_gettimeofday and __vdso_time.
74580 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74582         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74583         and fgetc_unlocked.
74584         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74585         getc_unlocked.
74587         * elf/dl-open.c (add_to_global): Report additions to the global scope
74588         for LD_DEBUG=scopes.
74589         (dl_open_worker): Also print scope of newly loaded dependencies.
74590         (_dl_show_scope): Indicate if there is no scope.
74592         [BZ #13114]
74593         * stdio-common/Makefile (tests): Add bug24.
74594         * stdio-common/bug24.c: New file.
74596 2011-08-19  Andreas Jaeger  <aj@suse.de>
74598         [BZ #13114]
74599         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74600         non-existant file when using close-on-exec mode.
74602 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74605         the very first instruction.
74607         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74608         the CFI state in the end.
74609         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74610         inclusion of dl-trampoline.h.
74611         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74613 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74615         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74616         expectations for long double.
74618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74619         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74621 2011-08-14  David S. Miller  <davem@davemloft.net>
74623         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74624         artificual limit depends upon the system page size.
74626 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74628         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74629         * resolv/Makefile: Define CFLAGS-libresolv.
74631 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74633         * nss/makedb.c (compute_tables): Make variables used in nested
74634         function static.
74636 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74638         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74639         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74640         if buffer was too small.
74642         * elf/pldd.c (main): Attach to all threads in the process.
74643         Rewrite /proc handling to use *at functions.
74645 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74647         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74648         specifies first scope to show.
74649         (dl_open_worker): Update callers.  Move printing scope of new
74650         object to before the relocation.
74651         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74652         * sysdeps/generic/ldsodefs.h: Update declaration.
74654         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74655         string for the scope number.
74657 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74659         * nscd/servicescache.c (cache_addserv): Make sure written is always
74660         initialized.
74662 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74664         * sysdeps/i386/i486/bits/atomic.h
74665         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74666         statement expression, so as to suppress "set but not used" warning.
74667         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74669         * string/strncat.c (STRNCAT): Use prototype definition.
74671         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74672         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74673         -Iprograms here.
74674         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74675         (localedef-modules): Add localedef.
74676         (locale-modules): Add locale.
74678         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74679         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74680         to avoid a warning.
74682 2011-08-14  David S. Miller  <davem@davemloft.net>
74684         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74685         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74687 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74689         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74690         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74691         * elf/rtld.c (dl_main): Set l_name of vDSO.
74692         Call _dl_show_scope when DL_DEBUG_SCOPES.
74693         (process_dl_debug): Recognize scopes flag and also set it for all.
74694         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74695         Declare _dl_show_scope.
74697         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74698         (do_dlopen): Pass caller_dlopen to dl_open.
74699         (__libc_dlopen_mode): Initialize caller_dlopen.
74701         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74702         of libc.  Make tolower call locale-independent.  Optimize a bit by
74703         using isdigit instead of isalnum.
74704         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74706 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74708         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74709         was a dependency or dynamically loaded.
74711 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74713         * intl/l10nflist.c: Allow architecture-specific pop function.
74714         * sysdeps/x86_64/l10nflist.c: New file.
74716         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74717         classification.
74719 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74721         * include/dirent.h: Add libc_hidden_proto for scandirat and
74722         scandirat64.  Don't declare __scandirat64.
74723         * dirent/scandirat.c: Add libc_hidden_def.
74724         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74725         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74727 2011-08-10  David S. Miller  <davem@davemloft.net>
74729         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74730         enum.
74731         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74732         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74733         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74735 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74737         * Versions.def [libc]: Add GLIBC_2.15.
74738         * dirent/Makefile (routines): Add scandirat and scandirat64.
74739         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74740         GLIBC_2.15.
74741         * dirent/dirent.h: Declare scandirat and scandirat64.
74742         * dirent/scandirat.c: New file.
74743         * dirent/scandirat64.c: New file.
74744         * sysdeps/wordsize-64/scandirat.c: New file.
74745         * sysdeps/wordsize-64/scandirat64.c: New file.
74746         * dirent/opendir.c: Define opendirat.
74747         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74748         using scandirat.
74749         * dirent/scandir64.c: Adjust for scandir.c change.
74750         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74751         __scandirat64, and __scandir_cancel_handler.
74752         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74753         additional parameter and use openat instead of open (outside of ld.so).
74754         Add new __opendir as wrapper around __opendirat.
74755         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74756         here without requiring old scandirat implementation.
74758 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74760         * dirent/scandir.c (cancel_handler): Renamed to
74761         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74762         defined.  Adjust users.
74763         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74764         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74766 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74768         * string/test-string.h (IMPL): Use __STRING to expand name and then
74769         stringify it.
74771         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74772         of cleanups.
74774 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74776         * string/Makefile: Update.
74777         (strop-tests): Append strncat.
74778         * string/test-wcscmp.c: New file.
74779         New comprehensive test for wcscmp.
74780         * string/test-strcmp.c: Update.
74781         (WIDE): New define.
74783 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74785         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74786         line.
74788 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74791         encoding to ACE if AI_IDN.
74793 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74796         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74798 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74800         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74801         Fix overflow bug in strncat.
74802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74804         * string/test-strncat.c: Update.
74805         Add new tests for checking overflow bugs.
74807 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74810         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74811         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74812         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74813         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74814         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74815         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74816         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74817         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74820         (USE_AS_STRCAT): Define.
74821         Add strcat and strncat support.
74822         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74824 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74826         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74827         __n bigger than INT_MAX+1.
74828         (__strncmp_g): Likewise.
74830 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74832         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74833         * libio/stido.h: Likewise.
74835         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74836         (AF_NFC): Define.
74837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74838         (AF_NFC): Define.
74840         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74841         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74842         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74843         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74846         [BZ #13021]
74847         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74848         installed.
74850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74851         typo.
74852         (_dl_x86_64_save_sse): Likewise.
74854 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74856         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74857         OSXSAVE.
74858         (_dl_x86_64_save_sse): Likewise.
74860         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74862         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74864 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74867         change.
74868         (_dl_x86_64_save_sse): Use correct AVX check.
74870 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74872         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74873         bug in strncpy/strncat.
74874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74876 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74878         * string/tester.c (test_strcat): Add tests for different alignments
74879         of source and destination.
74880         (test_strncat): Likewise.
74882 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74884         [BZ #12852]
74885         * posix/glob.c (glob): Check passed in values before using them in
74886         expressions to avoid some overflows.
74887         (glob_in_dir): Likewise.
74889         [BZ #13007]
74890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74891         check for AVX enablement so that we don't crash with old kernels and
74892         new hardware.
74893         * elf/tst-audit4.c: Add same checks here.
74894         * elf/tst-audit6.c: Likewise.
74896         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74898 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74900         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74902 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74904         * po/cs.po: Update from translation team.
74905         * po/bg.po: Likewise.
74907 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74909         * misc/sys/cdefs.h: Add support for const attribute.
74910         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74911         to gnu_dev_{major,minor,makedev} functions.
74913 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74915         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74917 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74919         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74920         strlen results.
74922 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74925         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74926         register in order to avoid conflicts with the soft frame pointer
74927         being held in r11 when necessary.
74928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74929         (INTERNAL_VSYSCALL_NCS): Likewise.
74931 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74933         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74934         * elf/dl-fini.c (_dl_fini): Adjust caller.
74935         * elf/dl-close.c (_dl_close_worker): Likewise.
74936         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74938 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74940         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74941         "aux_cache->nlibs < 0".
74943         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74944         in the reload-count case.
74946 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74949         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74950         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74951         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74952         * sysdeps/x86_64/multiarch/strcat.S: New file.
74953         * sysdeps/x86_64/multiarch/strncat.S: New file.
74954         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74955         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74956         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74957         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74958         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74959         (USE_AS_STRCAT): Define.
74960         Add strcat and strncat support.
74961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74962         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74963         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74964         * string/strncat.c: Update.
74965         (USE_AS_STRNCAT): Define.
74966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74967         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74968         and i7.
74969         * sysdeps/x86_64/multiarch/init-arch.h
74970         (bit_Prefer_PMINUB_for_stringop): New.
74971         (index_Prefer_PMINUB_for_stringop): Likewise.
74972         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74973         bit_Prefer_PMINUB_for_stringop.
74975 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74977         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74978         buffer64.
74979         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74980         of casting of buffer.
74981         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74982         buffer32 and buffer64.
74983         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74984         writes instead of casting of buffer.
74985         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74986         buffer32.
74987         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74988         casting of buffer.
74990 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74992         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74994 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74996         * nscd/nscd.c (termination_handler): Don't do anything for a database
74997         if it has not yet been initialized.
74999 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75001         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75003 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75005         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75007 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75009         * po/nl.po: Update from translation team.
75010         * po/sv.po: Likewise.
75012 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75014         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75015         now disallowed by GCC.
75017         * configure.in (use-default-link): Default to yes if a test -shared
75018         link meets our qualifications.
75019         * configure: Regenerated.
75021         * config.make.in (output-format): New variable.
75022         * configure.in: Check for ld --print-output-format support.
75023         * configure: Regenerated.
75024         * Makerules ($(common-objpfx)format.lds)
75025         [$(output-format) != unknown]: Just use $(output-format),
75026         instead of the linker-script munging.
75028 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75030         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75031         of $(common-objpfx)shlib.lds.
75032         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75034         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75035         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75037         * configure.in (-z relro check): Adjust test code to add a large
75038         writable data section after it.
75039         * configure: Regenerated.
75041 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75043         * configure.in (-z relro check): Fix test code to make the variable
75044         truly const.
75045         * configure: Regenerated.
75047 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75049         * nscd/nscd.h (struct traced_file): Define.
75050         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75051         elements.  Add traced_files.
75052         (inotify_fd): Declare.
75053         (register_traced_file): Declare.
75054         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75055         (inotify_fd): Export.
75056         (resolv_conf_descr): Remove.
75057         (nscd_init): Move inotify descriptor creation to main.
75058         Don't register files for notification here.
75059         (register_traced_file): New function.
75060         (invalidate_cache): Don't use reset_res to determine whether to call
75061         res_init, go through the list of registered files.
75062         (main_loop_poll): The inotify descriptors are now stored in the
75063         structures for the traced files.
75064         (main_loop_epoll): Likewise.
75065         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75066         to __nss_disable_nscd.
75067         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75068         for a database anymore.  Check the records for all the registered
75069         files instead.
75070         * nss/Makefile (libnss_files-routines): Add files-init.
75071         (libnss_db-routines): Add db-init.
75072         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75073         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75074         * nss/nss_db/db-init.c: New file.
75075         * nss/nss_files/files-init.c: New file.
75076         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75077         __nss_lookup_function.
75078         (__nss_lookup_function): Call nss_load_library.
75079         (nss_load_all_libraries): New function.
75080         (__nss_disable_nscd): Take parameter with callback function for files
75081         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75082         used for the cached services.
75083         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75084         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75085         options for features to all the files in nscd.
75087         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75089 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75091         * csu/elf-init.c (__libc_csu_init): Comment typo.
75093 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75095         * po/pl.po: Update from translation team.
75096         * po/ja.po: Likewise.
75097         * po/ru.po: Likewise.
75098         * po/ko.po: Likewise.
75099         * po/fr.po: Likewise.
75101 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75103         * configure.in (.ctors/.dtors header and trailer check):
75104         Use an empirical test on a built program.
75105         * configure: Regenerated.
75107         * configure.in (-z relro check): Use an empirical test on a built DSO.
75108         Detect, but do not require, on ia64.
75109         * configure: Regenerated.
75111         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75112         Update tests that use readelf to use $READELF instead.
75113         * configure: Regenerated.
75115 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75117         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75118         if the result is not used.
75120 2011-07-05  Andreas Jaeger  <aj@suse.de>
75122         [BZ#9696]
75123         * stdlib/tst-strtod.c: Add testcase.
75125 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75127         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75128         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75129         The latter has a higher limit.  Take additional parameter to pass to
75130         the new function.
75131         (__pathconf): Pass file to __statfs_link_max.
75132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75133         __statfs_link_max.
75134         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75135         __statfs_link_max.
75137         [BZ #12868]
75138         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75139         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75140         Handle Lustre.
75141         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75142         (__statfs_filesize_max): Likewise.
75143         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75145 2011-07-05  Andreas Jaeger  <aj@suse.de>
75147         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75149 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75151         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75152         `status' variable.
75153         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75154         Likewise.
75156 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75158         * Makefile (strop-tests): Add strncat.
75159         * string/test-strncat.c: New file.
75161 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75163         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75165 2011-06-21  Andreas Jaeger  <aj@suse.de>
75167         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75168         Copy rule from iconvdata/Makefile.
75170 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75172         [BZ #12922]
75173         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75174         but no long options are defined, just return 'W'.
75176 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75178         [BZ #9696]
75179         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75181 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75183         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75184         netgroups to read.
75185         (innetgr): Likewise.
75187 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75189         * config.make.in (install_root): Default to $(DESTDIR).
75191 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75195 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75197         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75199         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75200         containing directory rather than embedding absolute directory names.
75202         * scripts/check-local-headers.sh: Rewritten using awk.
75203         Match by word, not by line.  Print error messages for matches.
75204         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75206         * Makerules [shlib-lds-flags empty]:
75207         ($(common-objpfx)libc_pic.opts): New target.
75208         ($(common-objpfx)libc_pic.os.clean): New target.
75209         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75211         * config.make.in (OBJCOPY): New variable.
75212         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75213         * configure: Regenerated.
75215         * config.make.in (use-default-link): New variable.
75216         * configure.in (use_default_link): Grok --with-default-link to set it.
75217         * configure: Regenerated.
75218         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75219         (shlib-lds, shlib-lds-flags): Define to empty.
75221         * Makerules (shlib-lds): New variable.
75222         (shlib-lds-flags): New variable.
75223         (build-shlib, build-moduile, build-module-asneeded): Use it.
75224         ($(common-objpfx)libc.so): Use $(shlib-lds).
75225         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75226         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75228         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75229         DT_FLAGS/DT_FLAGS_1 with zero flags.
75231         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75232         linker script munging.
75234 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75236         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75237         as 128-bit value.
75238         * crypt/sha512.c (sha512_process_block): Perform total addition using
75239         128-bit if possible.
75240         (__sha512_finish_ctx): Likewise.
75241         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75242         as 64-bit value.
75243         * crypt/sha256.c (SWAP64): Define.
75244         (sha256_process_block): Perform total addition using 64-bit if
75245         possible.
75246         (__sha256_finish_ctx): Likewise.
75248 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75250         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75252         * nscd/hstcache.c (cache_addhst): Likewise.
75253         * nscd/grpcache.c (cache_addgr): Likewise.
75254         * nscd/aicache.c (addhstaiX): Likewise.
75255         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75257 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75259         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75260         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75261         * nscd/hstcache.c (cache_addhst): Likewise.
75262         * nscd/grpcache.c (cache_addgr): Likewise.
75263         * nscd/aicache.c (addhstaiX): Likewise.
75265 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75267         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75268         domain only when needed.
75270 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75273         is always restored.
75275 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75277         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75278         are re-adding the entry.
75279         * nscd/servicescache.c (cache_addserv): Likewise.
75281 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75283         * sysdeps/generic/dl-irel.h: fix protection against multiple
75284         inclusions.
75285         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75287 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75289         [BZ #12935]
75290         * malloc/memusage.sh: Fix quoting in message.
75291         * debug/xtrace.sh: Likewise.
75293         * configure.in: Remove support for --experimental-malloc option, make
75294         it the default.
75295         * config.make.in: Likewise.
75296         * malloc/Makefile: Likewise.
75298 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75300         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75301         two-byte characters.
75303 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75305         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75306         AC_CACHE_CHECK invocation.
75307         * configure: Regenerated.
75309         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75311 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75313         [BZ #12350]
75314         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75315         bit from old_res_options.
75317         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75319         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75320         value type for setfct.
75322 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75325         __gettimeofday instead of gettimeofday.
75327 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75329         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75331 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75333         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75335         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75336         info.
75338 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75341         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75342         strcpy-sse2-unaligned strncpy-sse2-unaligned
75343         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75344         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75345         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75346         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75347         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75348         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75349         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75350         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75351         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75352         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75353         (STRCPY): Support SSE2 and SSSE3 versions.
75355 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75357         [BZ #12874]
75358         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75359         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75360         kernels which artificially limit size of requests.
75362 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75365         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75366         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75367         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75368         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75369         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75370         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75371         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75373         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75374         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75375         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75376         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75377         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75378         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75380         Enable unaligned load optimization for Intel Core i3, i5 and i7
75381         processors.
75382         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75383         Define.
75384         (index_Fast_Unaligned_Load): Define.
75385         (HAS_FAST_UNALIGNED_LOAD): Define.
75387 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75389         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75391 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75393         [BZ #12907]
75394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75395         until it is clear that the information is realy needed.
75396         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75398 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75402 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75404         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75405         /sys/devices/system/cpu/online if it is usable.
75407         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75408         reading the information from the /proc filesystem to once a second.
75410 2011-06-21  Andreas Jaeger  <aj@suse.de>
75412         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75413         NULL after inclusion of kernel headers.
75415 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75417         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75418         calls to internal_setent.
75420         [BZ #12885]
75421         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75422         addresses using gethostbyname4_r ignore IPv4 addresses.
75424         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75425         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75427         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75429 2011-06-20  David S. Miller  <davem@davemloft.net>
75431         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75432         inclusions.
75433         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75435         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75436         (elf_irel): Use it.
75437         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75438         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75439         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75440         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75441         * sysdeps/x86_64/dl-irel.h: Likewise.
75443         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75444         * elf/dl-sym.c: Likewise.
75446 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75448         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75449         need to dereference resplen2.
75451 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75453         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75455 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75457         * Makeconfig: Define vardbdir and inst_vardbdir.
75458         * nss/Makefile: Add rules to install db-Makefile.
75460         * nss/nss_db/db-XXX.c: Cleanup.
75462         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75463         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75464         GLIBC_PRIVATE.
75465         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75466         * nss/makedb.c: Implement -g option to specify that value strings
75467         are generated and should not be added to table iterated over for
75468         get*ent calls.
75469         * nss/nss_db/db-initgroups.c: New file.
75471         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75472         interface.
75474         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75475         (internal_getgrouplist): Adjust to name change.
75476         Update use_initgroups_entry if this is not the first call.
75477         * nss/databases.def: Add initgroups entry.
75479         * nss/makedb.c (compute_tables): Check result of multiple hash table
75480         sizes to minimize maximum chain length.
75482 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75484         * Versions.def: Add entry for libnss_db.
75485         * shlib-versions: Likewise.
75486         * nss/Makefile: Add rules to build libnss_db.
75487         * nss/Versions: Add libnss_db information.  Organize libnss_files
75488         entries better.
75489         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75490         makedb progra.  Some minor improvements to generate smaller files.
75491         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75492         here from...
75493         * nss/makedb.c: ...here.
75494         Improve database format to be smaller and require less memory at
75495         runtime.
75496         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75497         db anymore.
75498         * nss/nss_db/db-netgrp.c: Likewise.
75499         * nss/nss_db/db-open.c: Likewise.
75500         * nss/nss_files/flies-XXX.x: Adjust comments.
75501         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75502         * nss/nss_files/files-grp.c: Likewise.
75503         * nss/nss_files/files-hosts.c: Likewise.
75504         * nss/nss_files/files-network.c: Likewise.
75505         * nss/nss_files/files-proto.c: Likewise.
75506         * nss/nss_files/files-pwd.c: Likewise.
75507         * nss/nss_files/files-rpc.c: Likewise.
75508         * nss/nss_files/files-service.c: Likewise.
75509         * nss/nss_files/files-sgrp.c: Likewise.
75510         * nss/nss_files/files-spwd.c: Likewise.
75511         * nss/nss_db/db-alias.c: Removed.
75512         * nss/nss_db/dummy-db.h: Removed.
75514 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75516         * nss/makedb.c: Rewritten to not use database library.
75517         * nss/Makefile: Update to build new makedb program.
75519 2011-06-14  Andreas Jaeger  <aj@suse.de>
75521         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75522         memset declaration.
75524 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75527         tmpbuf.
75529 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75531         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75532         * elf/Makefile ($(objpfx)ld.so): Likewise.
75534         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75535         Don't list ld.so twice in dependencies.
75537         * posix/bug-regex31.c: Include <stdlib.h>.
75539         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75541         * nis/nss_compat/compat-spwd.c
75542         (getspent_next_nss_netgr): Remove unused variable.
75543         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75545         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75546         nonmembers" output to use the right array.
75548         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75550         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75552         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75553         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75554         * catgets/gencat.c (read_input_file): Likewise.
75555         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75557         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75558         variable definition inside #if's controlling its use.
75560         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75562         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75564         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75566         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75567         unreachable code.
75569         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75571         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75572         * configure: Regenerated.
75574         * Makerules: Revert last change.
75575         * elf/Makefile: Likewise.
75577 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75579         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75580         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75581         (reloc-link): Likewise.
75583 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75585         * elf/Makefile: Add rules to build pldd.
75586         * elf/pldd.c: New file.
75587         * elf/pldd-xx.c: New file.
75589 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75591         * version.h: Update for 2.15 development version.
75593 2011-06-07  David S. Miller  <davem@davemloft.net>
75595         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75596         ifuncs.
75597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75598         elf_machine_lazy_rel): Likewise.
75599         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75600         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75601         elf_machine_lazy_rel): Likewise.
75602         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75603         dl_hwcap via passed in argument.
75604         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75605         Likewise.
75607 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75609         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75611 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75613         [BZ #12849]
75614         * manual/fdl-1.1.texi: New file, verbatim from:
75615         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75616         * manual/lgpl-2.1.texi: New file, verbatim from:
75617         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75618         * manual/Makefile (licenses): New variable, list those new file names.
75619         (texis): Use it.
75620         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75622         * manual/fdl.texi: File removed.
75623         * manual/lesser.texi: File removed.
75624         * manual/libc.texinfo (Copying, Documentation License):
75625         Use new @include file names, put @appendix directive before @include.
75627 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75629         [BZ #12841]
75630         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75631         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75632         (mq_open): Add __NTH.
75634 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75637         Assume Intel Core i3/i5/i7 processor if AVX is available.
75639 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75642         typo.
75644 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75646         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75647         memory.  Use alloca_account.  Fix memory leak when retrying.
75649 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75651         * version.h (RELEASE): Bump for 2.14 release.
75652         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75654         * config.make.in (RANLIB): Remove entry.
75656 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75658         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75659         (libc.pot): Work around missing support for .ksh extension in xgettext.
75661         [BZ #12684]
75662         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75663         if both request failed.
75664         (send_dg): In case of server errors clear resplen or *resplen2.
75666         [BZ #12454]
75667         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75668         when there are multiple maps.
75669         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75670         (_dl_fini): Remove test here.
75672         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75674 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75676         [BZ #12350]
75677         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75678         bit from old_res_options.
75679         (gaih_inet): Likewise.
75681         [BZ #11099]
75682         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75683         as signed.
75685         * resolv/res_init.c (res_setoptions): Make the code more compact.
75687         [BZ #11558]
75688         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75689         set RES_USEVC.
75691         [BZ #11634]
75692         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75694         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75696         [BZ #11781]
75697         * malloc/malloc.h: Declare malloc hook variables as volatile.
75699         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75700         in last patch.
75702         [BZ #11799]
75703         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75704         raise in the comment.
75705         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75707         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75709 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75711         [BZ #12811]
75712         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75713         grow the buffers more if it already has to be sufficient.
75714         (build_wcs_upper_buffer): Likewise.
75715         * posix/regexec.c (check_matching): Likewise.
75716         (clean_state_log_if_needed): Likewise.
75717         (extend_buffers): Don't enlarge buffers beyond size of the input
75718         buffer.
75719         Patches mostly by Emil Wojak <emil@wojak.eu>.
75720         * posix/bug-regex32.c: New file.
75721         * posix/Makefile (tests): Add bug-regex32.
75723         * locale/findlocale.c (_nl_find_locale): Return right away if
75724         _nl_explode_name failed.
75725         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75727         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75729         * debug/xtrace.sh: Unify messages.
75730         * malloc/memusage.sh: Likewise.
75732         [BZ #12813]
75733         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75734         time symbol from vDSO.  Substitute with vsyscall if not available.
75735         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75736         __vdso_time.
75738         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75739         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75740         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75741         Add sendmmsg and internal_sendmmsg.
75742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75743         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75744         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75746         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75747         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75750 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75752         [BZ #12813]
75753         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75754         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75755         available.
75756         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75757         __vdso_getcpu.
75759         [BZ #12814]
75760         * iconvdata/Makefile (tests): Add bug-iconv9.
75761         * iconvdata/bug-iconv9.c: New file.
75763 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75765         [BZ #12814]
75766         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75768 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75770         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75771         (struct user_regs_struct): Change intcs field back to cs.
75773 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75775         * po/ja.po: Update from translation team.
75777 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75779         [BZ #12795]
75780         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75781         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75783 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75785         * stdlib/longlong.h: Update from GCC.
75787 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75789         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75790         parameter name.
75791         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75792         Add parameter name.
75793         (__sysconf): Pass it down.
75795 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75797         [BZ #12671]
75798         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75799         some situations.
75800         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75801         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75802         add in in __libc_use_alloca calls.  Adjust callers.
75803         (glob): Use malloc in some situations.
75805         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75806         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75807         pltexit.
75809 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75811         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75812         and CLOCK_BOOTTIME_ALARM.
75814         [BZ #12782]
75815         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75816         is returned.
75818         * string/_strerror.c (__strerror_r): Print negative errors as signed
75819         numbers.
75821         [BZ #12777]
75822         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75823         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75824         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75826         * configure.in: Fix typo in redirection and correct removal of test
75827         files in two cases.
75829         [BZ #12788]
75830         * locale/setlocale.c (new_composite_name): Fix test to check for
75831         identical name of all categories.
75833         [BZ #12792]
75834         * libio/filedoalloc.c (local_isatty): New function.
75835         (_IO_file_doallocate): Use local_isatty.
75836         * stdio-common/perror.c (perror): In case a new stream is used
75837         forward the stream error.
75838         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75839         error flag.
75841 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75843         [BZ #11884]
75844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75845         alloca.
75846         * include/alloca.h (extend_alloca_account): Define.
75848         [BZ #11857]
75849         * posix/regex.h: Fix comments with documentation of user-accessible
75850         fields after compilation and describe correct free'ing of pattern
75851         after re_compile_pattern.
75852         Patch by Reuben Thomas <rrt@sc3d.org>.
75854 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75856         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75857         and -mno-altivec to prevent the compiler from using Altivec and/or
75858         VSX instructions when the corresponding registers are not available.
75860 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75862         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75864 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75866         * libio/freopen.c (freopen): Use __dup2, not dup2.
75867         * libio/freopen64.c (freopen64): Likewise.
75869 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75871         [BZ #12775]
75872         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75873         * math/Makefile (tests): Add test-powl.
75874         (CFLAGS-test-powl.c): Define.
75875         * math/test-powl.c: New file.
75877 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75879         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75881 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75883         [BZ #11837]
75884         * iconvdata/gb18030.c: Update to GB18020-2005.
75886 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75888         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75889         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75890         Patch by Aharon Robbins <arnold@skeeve.com>.
75892         [BZ #11892]
75893         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75894         on the stack.
75896         [BZ #11895]
75897         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75898         through underflows.
75900         [BZ #12766]
75901         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75902         point to strings before performing equality test for error_one_per_line
75903         mode.
75905         [BZ #11697]
75906         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75908         [BZ #11820]
75909         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75910         (struct user_fpregs_struct): Avoid __uint*_t types.
75912         [BZ #6420]
75913         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75914         symbol info.  Use it instead of calling _dl_addr locally.
75915         (lock_and_info): New function.
75916         (tr_freehook): Call lock_and_info and pass symbol info as additional
75917         parameter to tr_where.
75918         (tr_mallochook): Likewise.
75919         (tr_reallochook): Likewise.
75920         (tr_memalignhook): Likewise.
75922         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75923         used and couldn't be at all thread-safe.
75925 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75927         * libio/freopen.c (freopen): Don't close old file descriptor
75928         before the new one is opened.  Instead dup the new file descriptor
75929         to the old one after the new stream is created.
75930         * libio/freopen64.c (freopen64): Likewise.
75931         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75932         * libio/fileops.c (_IO_new_file_close_it): Handle new
75933         _IO_FLAGS2_NOCLOSE flag.
75934         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75935         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75936         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75937         _IO_FLAGS2_NOCLOSE flag.
75938         * include/unistd.h: Add hidden_proto for dup3.
75939         Define __have_dup3.
75940         * io/dup3.c: Define hidden symbol.
75941         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75943         [BZ #7101]
75944         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75945         when an incomplete long option is used.
75946         * posix/tst-getopt_long1.c: New file.
75947         * posix/Makefile (tests): Add tst-getopt_long1.
75949         [BZ #10138]
75950         * scripts/config.guess: Update from autoconf-2.68.
75951         * scripts/config.sub: Likewise.
75953         [BZ #10157]
75954         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75955         tests into ...
75956         (has_cpuclock): ...this.  New function.
75957         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75958         macro here based on has_cpuclock code.
75960         [BZ #10149]
75961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75962         First byte (not low byte) is now always NUL.
75963         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75966         Use non-cancelable interfaces.
75968         [BZ #9809]
75969         * locale/iso-639.def: Add entry for Sorani.
75971         [BZ #11901]
75972         * include/stdlib.h: Move include protection to the right place.
75973         Define abort_msg_s.  Declare __abort_msg with it.
75974         * stdlib/abort.c (__abort_msg): Adjust type.
75975         * assert/assert.c (__assert_fail_base): New function.  Majority
75976         of code from __assert_fail.  Allocate memory for __abort_msg with
75977         mmap.
75978         (__assert_fail): Now call __assert_fail_base.
75979         * assert/assert-perr.c: Remove bulk of implementation.  Use
75980         __assert_fail_base.
75981         * include/assert.hL Declare __assert_fail_base.
75982         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75983         mmap.
75984         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75986 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75988         [BZ #11952]
75989         [BZ #12453]
75990         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75991         until all modules are registered in the DTV.
75992         * elf/Makefile: Add rules to build and run tst-tls19.
75993         * elf/tst-tls19.c: New file.
75994         * elf/tst-tls19mod1.c: New file.
75995         * elf/tst-tls19mod2.c: New file.
75996         * elf/tst-tls19mod3.c: New file.
75997         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75999         [BZ #12083]
76000         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76001         correctly.
76003         [BZ #12601]
76004         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76005         two-byte sequence errors.
76006         * iconvdata/Makefile (tests): Add bug-iconv8.
76007         * iconvdata/bug-iconv8.c: New file.
76009         [BZ #12626]
76010         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76011         buf2 definition.
76013         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76015         [BZ #12432]
76016         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76017         (dummy_getcfa): New function.
76018         (init): Get _Unwind_GetCFA address, use dummy if not found.
76019         (backtrace_helper): In recursion check, also check whether CFA changes.
76020         (__backtrace): Completely initialize arg.
76022         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76023         storing incomplete byte sequence in state object.  Avoid testing for
76024         guaranteed too small input if we know there is enough data available.
76026 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76028         * Makeconfig (+link-pie): Indent.
76029         * Rules (binaries-pie): Define if $(have-fpie) and
76030         $(build-shared).
76031         (binaries-shared): Also filter out $(binaries-pie).
76032         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76033         * nscd/Makefile (others-pie): Add nscd.
76034         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76035         ($(objpfx)nscd): Remove command override.
76036         * login/Makefile (others-pie): Add pt_chown.
76037         ($(objpfx)pt_chown): Remove command override.
76038         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76039         remove command overrides.
76041 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76043         * libio/tst_putwc.c: Fix error messages.
76045         [BZ #12724]
76046         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76047         currently writing and seek to current position when not.
76048         * libio/Makefile (tests): Add bug-fclose1.
76049         * libio/bug-fclose1.c: New file.
76051 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76053         [BZ #12511]
76054         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76055         don't set DF_1_NODELETE here.
76056         (do_lookup_x): When entering new entry test for copy relocation
76057         and if necessary set DF_1_NODELETE flag.
76058         * elf/tst-unique4.cc: New file.
76059         * elf/tst-unique4.h: New file.
76060         * elf/tst-unique4lib.cc: New file.
76061         * elf/Makefile: Add rules to build and run tst-unique4.
76062         Patch by Piotr Bury <pbury@goahead.com>.
76064 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76066         [BZ #12052]
76067         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76069         [BZ #12625]
76070         * misc/mntent_r.c (addmntent): Flush the stream after the output
76072         [BZ #12393]
76073         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76074         (is_trusted_path_normalize): Skip initial colon.  Append slash
76075         to empty buffer.  Duplicate is_trusted_path code but allow
76076         constructed patch to be prefix.
76077         (is_dst): Allow $ORIGIN followed by /.
76078         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76079         Correct testing of result of is_trusted_path_normalize
76080         (decompose_rpath): Fix warning.
76082 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76084         [BZ #11257]
76085         * grp/initgroups.c (internal_getgrouplist): When we found the service
76086         list through the initgroups entry in nsswitch.conf do not always
76087         continue on a successful lookup.  Don't always use the
76088         __nss_group_database value if it is set.
76089         * nss/nsswitch.conf (initgroups): Change action for successful db
76090         lookup to continue for compatibility.
76092 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76094         [BZ #11532]
76095         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76096         and CP774 modules.
76097         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76098         and CP774 modules.
76099         * iconvdata/tst-tables.sh: Likewise.
76100         * iconvdata/cp770.c: New file.
76101         * iconvdata/cp771.c: New file.
76102         * iconvdata/cp772.c: New file.
76103         * iconvdata/cp773.c: New file.
76104         * iconvdata/cp774.c: New file.
76105         * iconvdata/testdata/CP770: New file.
76106         * iconvdata/testdata/CP770..UTF8: New file.
76107         * iconvdata/testdata/CP771: New file.
76108         * iconvdata/testdata/CP771..UTF8: New file.
76109         * iconvdata/testdata/CP772: New file.
76110         * iconvdata/testdata/CP772..UTF8: New file.
76111         * iconvdata/testdata/CP773: New file.
76112         * iconvdata/testdata/CP773..UTF8: New file.
76113         * iconvdata/testdata/CP774: New file.
76114         * iconvdata/testdata/CP774..UTF8: New file.
76116         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76117         END CHARMAP line.
76118         * iconvdata/gen-8bit-gap.sh: Likewise.
76119         * iconvdata/gen-8bit.sh: Likewise.
76121         * locale/iso-639.def: Add ary entry.
76123         [BZ #11258]
76124         * locale/C-translit.h.in: Add U20A1 transliteration.
76126         [BZ #12178]
76127         * locale/iso-639.def: Add wae entry.
76128         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76130         [BZ #12545]
76131         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76132         for n.
76134         [BZ #12711]
76135         * locale/C-translit.h.in: Add entry for U20B9.
76136         Patch by pravin.d.s@gmail.com.
76138 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76140         [BZ #12713]
76141         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76142         ENAMETOOLONG use generic getcwd.
76143         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76144         in rtld.  Use *stat64.
76145         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76146         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76147         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76148         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76149         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76150         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76151         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76152         __fstatat64 macros.
76153         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76154         * dirent/rewinddir.c: Add libc_hidden_def.
76155         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76156         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76158         * include/dirent.h (__alloc_dir): Add flags parameter.
76159         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76160         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76161         __alloc_dir.
76162         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76163         from fdopendir if O_CLOEXEC is already set.
76165 2011-03-15  Alan Modra  <amodra@gmail.com>
76167         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76168         l_tls_firstbyte_offset non-zero.  Save padding offset in
76169         l_tls_firstbyte_offset for later use.
76170         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76171         freeing static tls block.
76173 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76175         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76176         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76177         being defined by the kernel headers.
76179 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76181         [BZ #12734]
76182         * resolv/resolv.h: Define RES_NOTLDQUERY.
76183         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76184         no-tld-query and set RES_NOTLDQUERY.
76185         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76186         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76187         modern BIND to search name as TLD unless forbidden.
76189 2011-05-07  Petr Baudis  <pasky@suse.cz>
76190             Ulrich Drepper  <drepper@gmail.com>
76192         [BZ #12393]
76193         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76194         (is_trusted_path): ...to here.
76195         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76196         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76197         using is_trusted_path_normalize() in setuid scripts.
76199 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76201         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76202         __BEGIN/__END_DECLS.
76204 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76206         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76207         NSS_STATUS_NOTFOUND if no record was found.
76209 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76211         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76212         (headers-not-in-tirpc): Remove rpc/netdb.h
76213         * resolv/netdb.h: Revert last change.
76215 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76217         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76218         circular dependency between libgcc.a and libc.a.
76220 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76222         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76223         * nis/Makefile: Don't install rpcsvc/*.
76224         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76225         instead of <rpc/types.h>.
76226         (MAXHOSTNAMELEN): Define.
76228 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76230         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76232 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76234         [BZ #12714]
76235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76236         gethostbyname4_r when IPv6 results are possible.
76238 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76240         [BZ #12723]
76241         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76242         _PC_PIPE_BUF handling.
76244 2011-04-30  Bruno Haible  <bruno@clisp.org>
76246         [BZ #12717]
76247         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76248         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76249         to 'int'.
76250         * inet/getnameinfo.c (getnameinfo): Likewise.
76252 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76254         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76255         to groups setting in database lookup.
76256         * nss/nsswitch.conf: Add initgroups entry.
76258 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76260         [BZ #12685]
76261         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76262         mode string.
76263         Patch by Eric Blake <eblake@redhat.com>.
76265 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76267         * sunrpc/Makefile (need-export-routines): Add svc_run.
76268         (routines): Remove svc_run.
76269         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76270         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76271         * sunrpc/svc_run.c (svc_run): Likewise.
76272         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76274 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76277         problem in reallocation in last patch.
76279 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76281         * sunrpc/Makefile: Move inclusion of Rules.
76283 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76285         * nss/nss_files/files-initgroups.c: New file.
76286         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76287         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76288         _nss_files_initgroups_dyn.
76290 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76292         * elf/elf.h (R_ARM_IRELATIVE): Define.
76294 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76296         * po/ru.po: Update from translation team.
76298 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76300         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76301         dependencies.
76303 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76305         [BZ #12653]
76306         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76307         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76308         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76312 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76314         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76315         differing bytes.
76316         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76317         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76318         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76320 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76322         [BZ #12420]
76323         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76324         storing it.
76325         * stdlib/bug-getcontext.c: New file.
76326         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76328 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76330         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76331         instructions into .machine "z9-109".
76332         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76333         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76335 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76337         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76338         between environment variables and auxiliary vector.
76340 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76342         * Makefile: Add rules to build linkobj/libc.so.
76343         * include/libc-symbols.h: Define libc_hidden_nolink.
76344         * include/rpc/auth.h: Mark functions which are to be hidden.
76345         * include/rpc/auth_des.h: Likewise.
76346         * include/rpc/auth_unix.h: Likewise.
76347         * include/rpc/clnt.h: Likewise.
76348         * include/rpc/des_crypt.h: Likewise.
76349         * include/rpc/key_prot.h: Likewise.
76350         * include/rpc/pmap_clnt.h: Likewise.
76351         * include/rpc/pmap_prot.h: Likewise.
76352         * include/rpc/pmap_rmt.h: Likewise.
76353         * include/rpc/rpc_msg.h: Likewise.
76354         * include/rpc/svc.h: Likewise.
76355         * include/rpc/svc_auth.h: Likewise.
76356         * include/rpc/xdr.h: Likewise.
76357         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76358         * nss/Makefile: Likewise.
76359         * sunrpc/Makefile: Don't install headers.  Build library with normal
76360         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76361         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76362         for the compat linking library.  Remove use of INTDEF/INTUSE.
76363         * sunrpc/auth_none.c: Likewise.
76364         * sunrpc/auth_unix.c: Likewise.
76365         * sunrpc/authdes_prot.c: Likewise.
76366         * sunrpc/authuxprot.c: Likewise.
76367         * sunrpc/clnt_gen.c: Likewise.
76368         * sunrpc/clnt_perr.c: Likewise.
76369         * sunrpc/clnt_raw.c: Likewise.
76370         * sunrpc/clnt_simp.c: Likewise.
76371         * sunrpc/clnt_tcp.c: Likewise.
76372         * sunrpc/clnt_udp.c: Likewise.
76373         * sunrpc/clnt_unix.c: Likewise.
76374         * sunrpc/des_crypt.c: Likewise.
76375         * sunrpc/des_soft.c: Likewise.
76376         * sunrpc/get_myaddr.c: Likewise.
76377         * sunrpc/key_call.c: Likewise.
76378         * sunrpc/key_prot.c: Likewise.
76379         * sunrpc/netname.c: Likewise.
76380         * sunrpc/pm_getmaps.c: Likewise.
76381         * sunrpc/pm_getport.c: Likewise.
76382         * sunrpc/pmap_clnt.c: Likewise.
76383         * sunrpc/pmap_prot.c: Likewise.
76384         * sunrpc/pmap_prot2.c: Likewise.
76385         * sunrpc/pmap_rmt.c: Likewise.
76386         * sunrpc/publickey.c: Likewise.
76387         * sunrpc/rpc_cmsg.c: Likewise.
76388         * sunrpc/rpc_common.c: Likewise.
76389         * sunrpc/rpc_dtable.c: Likewise.
76390         * sunrpc/rpc_prot.c: Likewise.
76391         * sunrpc/rpc_thread.c: Likewise.
76392         * sunrpc/rtime.c: Likewise.
76393         * sunrpc/svc.c: Likewise.
76394         * sunrpc/svc_auth.c: Likewise.
76395         * sunrpc/svc_authux.c: Likewise.
76396         * sunrpc/svc_raw.c: Likewise.
76397         * sunrpc/svc_run.c: Likewise.
76398         * sunrpc/svc_simple.c: Likewise.
76399         * sunrpc/svc_tcp.c: Likewise.
76400         * sunrpc/svc_udp.c: Likewise.
76401         * sunrpc/svc_unix.c: Likewise.
76402         * sunrpc/svcauth_des.c: Likewise.
76403         * sunrpc/xcrypt.c: Likewise.
76404         * sunrpc/xdr.c: Likewise.
76405         * sunrpc/xdr_array.c: Likewise.
76406         * sunrpc/xdr_float.c: Likewise.
76407         * sunrpc/xdr_intXX_t.c: Likewise.
76408         * sunrpc/xdr_mem.c: Likewise.
76409         * sunrpc/xdr_rec.c: Likewise.
76410         * sunrpc/xdr_ref.c: Likewise.
76411         * sunrpc/xdr_sizeof.c: Likewise.
76412         * sunrpc/xdr_stdio.c: Likewise.
76414 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76416         [BZ #12650]
76417         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76418         * sysdeps/ia64/dl-tls.h: Likewise.
76419         * sysdeps/powerpc/dl-tls.h: Likewise.
76420         * sysdeps/s390/dl-tls.h: Likewise.
76421         * sysdeps/sh/dl-tls.h: Likewise.
76422         * sysdeps/sparc/dl-tls.h: Likewise.
76423         * sysdeps/x86_64/dl-tls.h: Likewise.
76424         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76426 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76428         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76429         rpath element also skip the following colon.
76430         (expand_dynamic_string_token): Add is_path parameter and pass
76431         down to DL_DST_REQUIRED and _dl_dst_substitute.
76432         (decompose_rpath): Call expand_dynamic_string_token with
76433         non-zero is_path.  Ignore empty rpaths.
76434         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76435         with zero is_path.
76437 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76440         Make cancelable.
76442 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76444         [BZ #12655]
76445         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76446         Patch by Filipe David Manana <fdmanana@apache.org>.
76448 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76450         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76451         Maintain aligned stack.
76452         (CHECK_RSP): Remove unused macro.
76454 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76456         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76457         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76459 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76461         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76463         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76465 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76467         [BZ #12518]
76468         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76469         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76470         * sysdeps/x86_64/memmove.c: New file.
76471         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76472         (memcpy): Renamed to ...
76473         (__new_memcpy): This.
76474         (memcpy): Provide GLIBC_2_14 memcpy.
76475         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76476         (memcpy): Provide GLIBC_2_2_5 memcpy.
76478 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76480         [BZ #12631]
76481         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76483 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76485         * misc/syncfs.c: New file.
76486         * misc/Makefile (routines): Add syncfs.
76487         * posix/unistd.h: Declare syncfs.
76488         * sysdeps/unix/syscalls.list: Add syncfs.
76490 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76492         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76493         open_by_handle_at.
76494         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76495         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76497         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76499         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76500         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76506         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76512         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76513         sync_file_range.c with -fexceptions.
76514         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76515         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76516         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76517         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76518         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76519         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76521         sync_file_range as cancellation point
76522         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76523         now a wrapper around __call_sync_file_range with cancellation handling.
76524         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76525         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76526         function name to __call_sync_file_range.
76527         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76528         Add call_sync_file_range.
76530 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76533         bits/timex.h.
76535 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76537         * iconv/iconv.h: Fix typo in comment.
76538         * io/fcntl.h: Likewise.
76539         * libio/stdio.h: Likewise.
76540         * posix/spawn.h: Likewise.
76541         * posix/unistd.h: Likewise.
76542         * stdlib/stdlib.h: Likewise.
76543         * time/time.h: Likewise.
76544         * wcsmbs/wchar.h: Likewise.
76546         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76547         open_by_handle): Add.
76548         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76549         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76550         Augment a few comments.
76551         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76553         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76556         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76557         open_by_handle.
76559         * io/fcntl.h (AT_EMPTY_PATH): Define.
76561 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76563         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76564         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76565         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76566         to...
76567         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76568         * Versions.def: Add GLIBC_2.14.
76569         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76570         Export.
76572 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76575         round counter.
76576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76578 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76580         [BZ #12597]
76581         * string/test-strncmp.c (do_page_test): New function.
76582         (check2): Likewise.
76583         (test_main): Call check2.
76584         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76586 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76588         [BZ #12587]
76589         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76590         Handle cache information in CPU leaf 4.
76591         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76593 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76595         [BZ #12583]
76596         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76597         character representation.
76598         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76600 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76602         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76603         END(__isnan) to END(__isnanf) to match function entry point/label
76604         EALIGN(__isnanf,...).
76606 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76608         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76610 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76612         [BZ #12510]
76613         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76614         copy from the symbol referenced in the relocation to initialize the
76615         used variable.
76616         Patch by Piotr Bury <pbury@goahead.com>.
76617         * elf/Makefile: Add rules to build and tst-unique3.
76618         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76619         * elf/tst-unique3.cc: New file.
76620         * elf/tst-unique3.h: New file.
76621         * elf/tst-unique3lib.cc: New file.
76622         * elf/tst-unique3lib2.cc: New file.
76624         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76626 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76628         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76629         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76630         to _start.
76632 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76634         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76635         to-be-loaded object along a path to loader is ld.so.
76637 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76638             Ulrich Drepper  <drepper@gmail.com>
76640         * sysdeps/x86_64/memset.S: After aligning destination, code
76641         branches to different locations depending on the value of
76642         misalignment, when multiarch is enabled. Fix this.
76644 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76646         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76647         Set _x86_64_preferred_memory_instruction for AMD processsors.
76648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76649         Set bit_Prefer_SSE_for_memop for AMD processors.
76651 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76653         * libio/fmemopen.c (fmemopen): Optimize a bit.
76655 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76657         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76659 2011-03-03  Roland McGrath  <roland@redhat.com>
76661         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76663 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76665         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76666         __bzero_ultra1 instead of __memset_ultra1.
76668 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76669             Ulrich Drepper  <drepper@gmail.com>
76671         [BZ #12509]
76672         * include/link.h (struct link_map): Add l_orig_initfini.
76673         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76674         returning unsuccessfully.
76675         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76676         close of a file loaded at startup, restore the original l_initfini
76677         list.
76678         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76679         list, store the pointer.
76680         * elf/Makefile ($(objpfx)noload-mem): New rule.
76681         (noload-ENV): Define.
76682         (tests): Add $(objpfx)noload-mem.
76683         * elf/noload.c: Include <memcheck.h>.
76684         (main): Call mtrace.  Close all opened handles.
76686 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76688         [BZ #12454]
76689         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76690         dependencies are missing.
76692 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76694         Fix __if_freereq crash: Unlike the generic version which uses free,
76695         Hurd needs munmap.
76696         * sysdeps/mach/hurd/ifreq.h: New file.
76698 2011-01-27  Petr Baudis  <pasky@suse.cz>
76699             Ulrich Drepper  <drepper@gmail.com>
76701         [BZ 12445]#
76702         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76703         to extend_alloca().
76704         * stdio-common/bug23.c: New file.
76705         * stdio-common/Makefile (tests): Add bug23.
76707 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76708             Ulrich Drepper  <drepper@gmail.com>
76710         [BZ #12489]
76711         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76712         before performing relro protection.  At old place add assertion
76713         to make sure nothing changed.
76715 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76716             Glauber de Oliveira Costa  <glommer@gmail.com>
76718         * elf/elf.h: Add new ARM TLS relocs.
76720 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76723         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76724         cast from r3.
76725         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76726         'tests' variable.
76727         * sysdeps/wordsize-64/tst-writev.c: New file.
76729 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76731         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76732         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76733         insns in _dl_start to prevent a TOC reference before relocs are
76734         resolved.
76736 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76738         [BZ #12469]
76739         * Makeconfig: Remove RANLIB definition.
76740         * Makerules: Don't use RANLIB.
76741         * aclocal.m4: Remove ranlib test.
76742         * configure.in: No need to check for ranlib.
76743         * elf/rtld-Rules: Don't use RANLIB.
76745 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76747         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76748         protection macro.
76749         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76750         inclusion protection macro.
76752         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76753         SIGRTMIN and SIGRTMAX and print information in that case only when
76754         SIGRTMIN is defined.
76756 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76758         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76759         arginfo fn returning -1.
76761         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76762         and thousands string is zero terminated.
76764 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76767         sysdeps/unix/sysv/linux/bits/socket.h.
76769 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76771         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76772         (__CPU_COUNT): Remove old macros.
76773         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76774         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76775         (__CPU_ALLOC, __CPU_FREE): Add macros.
76776         (__sched_cpualloc, __sched_cpufree): Add declarations.
76778 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76780         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76781         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76782         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76783         (readdhstai): Return value of addhstaiX call.
76784         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76785         (addgrbyX): Return value returned by cache_addgr.
76786         (readdgrbyname): Return value returned by addgrbyX.
76787         (readdgrbygid): Likewise.
76788         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76789         (addpwbyX): Return value returned by cache_addpw.
76790         (readdpwbyname): Return value returned by addhstbyX.
76791         (readdpwbyuid): Likewise.
76792         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76793         (addservbyX): Return value returned by cache_addserv.
76794         (readdservbyname): Return value returned by addservbyX:
76795         (readdservbyport): Likewise.
76796         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76797         (addhstbyX): Return value returned by cache_addhst.
76798         (readdhstbyname): Return value returned by addhstbyX.
76799         (readdhstbyaddr): Likewise.
76800         (readdhstbynamev6): Likewise.
76801         (readdhstbyaddrv6): Likewise.
76802         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76803         (readdinitgroups): Return value returned by addinitgroupsX.
76804         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76805         (prune_cache): Keep track of timeout value of re-added entries.
76806         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76807         * nscd/nscd.h: Adjust prototypes of readd* functions.
76809 2011-02-04  Roland McGrath  <roland@redhat.com>
76811         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76812         (nis_stats): Likewise.
76813         * nis/nis_modify.c (nis_modify): Likewise.
76814         * nis/nis_remove.c (nis_remove): Likewise.
76815         * nis/nis_add.c (nis_add): Likewise.
76817         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76819         * posix/fnmatch_loop.c: Add some consts.
76821         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76823 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76825         [BZ #12460]
76826         * config.make.in (config-cflags-novzeroupper): Define.
76827         * configure.in: Substitute libc_cv_cc_novzeroupper.
76828         * elf/Makefile (AVX-CFLAGS): Define.
76829         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76830         (CFLAGS-tst-auditmod4a.c): Likewise.
76831         (CFLAGS-tst-auditmod4b.c): Likewise.
76832         (CFLAGS-tst-auditmod6b.c): Likewise.
76833         (CFLAGS-tst-auditmod6c.c): Likewise.
76834         (CFLAGS-tst-auditmod7b.c): Likewise.
76835         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76837 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76839         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76840         function to the callback.
76841         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76843 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76845         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76846         of errno.
76848 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76850         [BZ #11724]
76851         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76852         of constructors.
76853         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76854         of destructors.
76855         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76857         [BZ #11724]
76858         * elf/Makefile: Add rules to build and run new test.
76859         * elf/tst-initorder.c: New file.
76860         * elf/tst-initorder.exp: New file.
76861         * elf/tst-initordera1.c: New file.
76862         * elf/tst-initordera2.c: New file.
76863         * elf/tst-initordera3.c: New file.
76864         * elf/tst-initordera4.c: New file.
76865         * elf/tst-initorderb1.c: New file.
76866         * elf/tst-initorderb2.c: New file.
76867         * elf/tst-order-a1.c: New file.
76868         * elf/tst-order-a2.c: New file.
76869         * elf/tst-order-a3.c: New file.
76870         * elf/tst-order-a4.c: New file.
76871         * elf/tst-order-b1.c: New file.
76872         * elf/tst-order-b2.c: New file.
76873         * elf/tst-order-main.c: New file.
76874         New test case by George Gensure <werkt0@gmail.com>.
76876 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76879         decoding ACE if AI_CANONIDN.
76881 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76883         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76885 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76887         * version.h (RELEASE): Bump for 2.13 release.
76888         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76890         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76892         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76893         MADV_NOHUGEPAGE.
76894         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76896         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76897         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76898         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76899         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76901         * posix/getconf.c: Update copyright year.
76902         * catgets/gencat.c: Likewise.
76903         * csu/version.c: Likewise.
76904         * debug/catchsegv.sh: Likewise.
76905         * debug/xtrace.sh: Likewise.
76906         * elf/ldconfig.c: Likewise.
76907         * elf/ldd.bash.in: Likewise.
76908         * elf/sprof.c (print_version): Likewise.
76909         * iconv/iconv_prog.c: Likewise.
76910         * iconv/iconvconfig.c: Likewise.
76911         * locale/programs/locale.c: Likewise.
76912         * locale/programs/localedef.c: Likewise.
76913         * malloc/memusage.sh: Likewise.
76914         * malloc/mtrace.pl: Likewise.
76915         * nscd/nscd.c (print_version): Likewise.
76916         * nss/getent.c: Likewise.
76918         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76919         PF_CAIF, and PF_ALG.
76920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76922 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76924         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76925         (modules-names): Use them.
76926         (ifunc-test-modules, ifunc-pie-tests): Define.
76927         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76928         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76929         (test-extras): Likewise.
76930         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76931         $(compile-command.c).
76932         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76933         (all-built-dso): Define.
76934         (check-textrel.out, check-execstack.out): Depend on it.
76936         * configure.in: Don't override --enable-multi-arch.
76938 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76940         [BZ #6812]
76941         * nscd/hstcache.c (tryagain): Define.
76942         (cache_addhst): Return tryagain not notfound for temporary errors.
76943         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76944         failed.
76946 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76948         [BZ #10563]
76949         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76950         to make the syscall.
76951         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76953         [BZ #12378]
76954         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76955         and fall back to matching as normal character if the string ends before
76956         the matching ']' is found.  This is what POSIX requires.
76957         * posix/testfnm.c: Adjust test result.
76958         * posix/globtest.sh: Adjust test result.  Add new test.
76959         * posix/tst-fnmatch.input: Likewise.
76960         * posix/tst-fnmatch2.c: Add new test.
76962 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76964         * elf/Makefile (check-execstack): Revert last change.  Depend on
76965         check-execstack.h.
76966         (check-execstack.h): New target.
76967         (generated): Add check-execstack.h.
76968         * elf/check-execstack.c: Include "check-execstack.h".
76969         (main): Revert last change.
76970         (handle_file): Return zero if GNU_STACK is absent and
76971         DEFAULT_STACK_PERMS doesn't include PF_X.
76973 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76975         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76976         in child fails because the descriptor is already closed.
76977         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76978         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76979         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76981         [BZ #12397]
76982         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76983         syscall.
76985         [BZ #10484]
76986         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76987         temporary buffer used to handle multi lookups locally.
76988         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76990 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76992         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76993         loader is ld.so.
76995 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76997         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76998         alignment for SSE2.
77000 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77002         [BZ #12394]
77003         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77004         characters.  When rounding increased number of integer digits recompute
77005         number of groups.
77006         * stdio-common/tst-grouping.c: New file.
77007         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77009 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77011         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77012         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77014         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77015         void.
77016         * bits/select.h: Likewise.
77018 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77020         * po/ja.po: Update from translation team.
77022 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77024         [BZ #11155]
77025         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77026         implementation just like for lxstat, fxstatat, et al.
77028 2010-12-27  Jim Meyering  <meyering@redhat.com>
77030         [BZ #12348]
77031         * posix/regexec.c (build_trtable): Return failure indication upon
77032         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77034 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77036         [BZ #12201]
77037         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77038         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77039         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77040         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77042         [BZ #12207]
77043         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77045         [BZ #12204]
77046         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77047         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77049 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77051         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77052         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77053         script has SORT_BY_INIT_PRIORITY.
77054         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77055         NO_CTORS_DTORS_SECTIONS is defined.
77056         * elf/soinit.c: Likewise.
77057         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77058         NO_CTORS_DTORS_SECTIONS is defined.
77059         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77060         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77061         * sysdeps/sh/init-first.c: Likewise.
77062         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77064 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77066         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77067         always use the slow path.
77069 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77071         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77072         similar rule which adds the sysdep directories to the header search in
77073         order to pick up the correct platform stackinfo.h.
77074         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77075         perform test if it is, otherwise return successfully without testing.
77076         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77077         DEFAULT_STACK_PERMS define in stackinfo.h.
77078         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77079         defined in stackinfo.h.
77080         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77081         DEFAULT_STACK_PERMS defined in stackinfo.h.
77082         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77083         * sysdeps/ia64/stackinfo.h: Likewise.
77084         * sysdeps/s390/stackinfo.h: Likewise.
77085         * sysdeps/sh/stackinfo.h: Likewise.
77086         * sysdeps/sparc/stackinfo.h: Likewise.
77087         * sysdeps/x86_64/stackinfo.h: Likewise.
77088         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77089         PF_X for powerpc64.  Retain PF_X for powerpc32.
77091 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77093         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77094         accurately.
77095         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77096         GETDENTS_64BIT_ALIGNED.
77098 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77100         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77102 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77104         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77105         _GNU_SOURCE.
77107         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77108         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77109         Remove __restrict.
77110         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77111         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77113 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77115         [BZ #11655]
77116         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77117         are initialized.
77119 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77121         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77123 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77125         * po/it.po: Update from translation team.
77127 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77130         unused codes.
77132 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77134         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77136 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77138         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77139         specially.
77140         (gaih_getanswer_slice): Likewise.
77142 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77146 2010-05-31  Petr Baudis  <pasky@suse.cz>
77148         [BZ #11149]
77149         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77150         silently even in the chroot mode.
77152 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77154         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77155         last patch a bit.  Pretty printing
77157 2010-05-31  Petr Baudis <pasky@suse.cz>
77159         [BZ #10085]
77160         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77161         initialization of skip_initgroups_dyn.
77163 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77165         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77168 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77170         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77172 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77174         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77175         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77176         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77177         ($(objpfx)tst-fnmatch-mem): New rule.
77178         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77179         * posix/tst-fnmatch.c (main): Call mtrace.
77181 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77184         Support Intel processor model 6 and model 0x2c.
77186 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77188         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77189           signed comparison.
77191 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77193         [BZ #12205]
77194         * string/test-strncasecmp.c (check_result): New function.
77195         (do_one_test): Use it.
77196         (check1): New function.
77197         (test_main): Use it.
77198         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77199         Support strcasecmp and strncasecmp.
77201 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77203         [BZ #12194]
77204         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77207 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77209         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77210         IFUNC support.
77211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77212         memset-x86-64.
77213         * sysdeps/x86_64/multiarch/bzero.S: New file.
77214         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77215         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77216         * sysdeps/x86_64/multiarch/memset.S: New file.
77217         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77219         Set bit_Prefer_SSE_for_memop for Intel processors.
77220         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77221         Define.
77222         (index_Prefer_SSE_for_memop): Define.
77223         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77225 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77227         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77228         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77230 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77232         [BZ #12191]
77233         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77234         (__x86_64_raw_data_cache_size_half): Likewise.
77235         (__x86_64_raw_shared_cache_size): Likewise.
77236         (__x86_64_raw_shared_cache_size_half): Likewise.
77238         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77239         (__x86_64_raw_data_cache_size_half): Likewise.
77240         (__x86_64_raw_shared_cache_size): Likewise.
77241         (__x86_64_raw_shared_cache_size_half): Likewise.
77242         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77243         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77244         and __x86_64_raw_shared_cache_size_half.  Round
77245         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77246         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77247         to multiple of 256 bytes.
77249 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77251         [BZ #12167]
77252         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77253         of inacessible symlinks.  Verify result of symlink before returning it.
77254         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77255         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77257 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77259         * math/math.h (isinf): Fix typo in comment.
77261 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77263         * po/da.po: Update from translation team.
77265 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77267         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77268         is added to the list.
77270 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77271             Ulrich Drepper  <drepper@gmail.com>
77273         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77274         the global list here.  Move code to...
77275         (_dl_add_to_namespace_list): ...here.  New function.
77276         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77277         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77278         * elf/dl-load.c (lose): Don't remove the element from the list.
77279         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77280         (_dl_map_object): Likewise.
77282 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77284         [BZ #12159]
77285         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77286         into all bytes of SSE register.
77287         Patch by Richard Li <richardpku@gmail.com>.
77289 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77291         [BZ #12140]
77292         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77293         perturbing.
77295 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77297         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77298         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77299         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77300         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77302         submachine.
77303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77305 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77307         * include/dlfcn.h (__RTLD_SECURE): Define.
77308         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77309         mode & __RTLD_SECURE instead.
77310         (open_path): Rename preloaded parameter to secure.
77311         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77312         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77313         * elf/dl-deps.c (openaux): Likewise.
77314         * elf/rtld.c (struct map_args): Remove is_preloaded.
77315         (map_doit): Don't use it.
77316         (dl_main): Likewise.
77317         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77318         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77320 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77322         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77323         (sysd-rules-targets): Remove duplicates.
77324         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77325         rtld-%.$o dependency.
77327 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77329         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77330         _dl_map_object do it.
77332 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77334         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77335         fast fma builtins, define the macros in the C99 standard.
77336         (FP_FAST_FMAF): Likewise.
77337         (FP_FAST_FMAL): Likewise.
77338         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77340         * bits/mathdef.h: Update copyright year.
77341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77343 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77345         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77346         builtins, define the macros in the C99 standard.
77347         (FP_FAST_FMAF): Likewise.
77348         (FP_FAST_FMAL): Likewise.
77349         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77350         multiply/add.
77351         (FP_FAST_FMAF): Likewise.
77353 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77355         [BZ #3268]
77356         * math/libm-test.inc (fma_test): Some new testcases.
77357         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77359         y and infinite z.  Do multiplication by C already in long double.
77360         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77362         y and infinite z.  Do bitwise or of inexact bit into u.d.
77363         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77364         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77365         * sysdeps/i386/fpu/s_fma.S: Removed.
77366         * sysdeps/i386/fpu/s_fmal.S: Removed.
77368 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77370         [BZ #3268]
77371         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77373         computation is not scheduled after fetestexcept.  Fix value
77374         of minimum denormal long double.
77376 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77378         [BZ #3268]
77379         * math/libm-test.inc (fma_test): Add some more tests.
77380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77381         correctly.
77383 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77385         * scripts/data/localplt-s390-linux-gnu.data: New file.
77386         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77388 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77390         [BZ #3268]
77391         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77392         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77393         instead of dbl-64.
77394         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77395         inlines.
77396         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77398         if one of x and y is very large and the other is subnormal.
77399         * sysdeps/s390/fpu/s_fmaf.c: New file.
77400         * sysdeps/s390/fpu/s_fma.c: New file.
77401         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77402         * sysdeps/powerpc/fpu/s_fma.S: New file.
77403         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77404         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77405         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77407 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77409         [BZ #3268]
77410         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77411         fma tests.
77412         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77413         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77414         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77415         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77416         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77417         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77418         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77420 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77422         [BZ #12078]
77423         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77424         * posix/bug-regex31.input: Add test case.
77426 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77428         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77429         * posix/bug-regex31.input: New file.
77431         [BZ #12078]
77432         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77433         (parse_sub_exp): Fix last change, use postorder.
77435         * posix/bug-regex31.c: New file.
77436         * posix/Makefile: Add rules to build and run bug-regex31.
77438         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77440         [BZ #12078]
77441         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77443         [BZ #12108]
77444         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77445         to have entries in sys_siglist.
77447         [BZ #12093]
77448         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77449         be NULL.
77451 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77453         [BZ #3268]
77454         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77455         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77456         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77457         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77458         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77459         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77460         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77461         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77462         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77463         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77464         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77465         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77466         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77467         * math/ftestexcept.c (fetestexcept): Likewise.
77468         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77469         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77470         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77471         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77472         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77473         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77474         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77476 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77478         [BZ #12107]
77479         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77480         newline.
77482 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77484         * string/bug-strstr1.c: New file.
77485         * string/Makefile: Add rules to build and run bug-strstr1.
77487 2010-10-05  Eric Blake  <eblake@redhat.com>
77489         [BZ #12092]
77490         * string/str-two-way.h (two_way_long_needle): Always clear memory
77491         when skipping input due to the shift table.
77493 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77495         [BZ #12005]
77496         * malloc/mcheck.c: Handle large requests.
77498         [BZ #12077]
77499         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77500         for strncmp and strncasecmp.
77501         * string/stratcliff.c: Add tests for strcmp and strncmp.
77502         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77504 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77506         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77507         __set_fpscr.
77509 2010-09-30  Andreas Jaeger  <aj@suse.de>
77511         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77512         (CGROUP_SUPER_MAGIC): Define.
77513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77514         Handle btrfs and cgroup file systems.
77515         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77516         Likewise.
77518 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77520         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77521         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77523 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77525         [BZ #12067]
77526         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77527         trying to locate the ELF header.
77529 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77531         [BZ #11611]
77532         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77533         Mask out sign-bit copies when constructing f_fsid.
77535 2010-09-24  Petr Baudis <pasky@suse.cz>
77537         * debug/stack_chk_fail_local.c: Add missing licence exception.
77538         * debug/warning-nop.c: Likewise.
77540 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77542         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77543         implementing getdents64 using getdents syscall, set d_type if
77544         __ASSUME_GETDENTS32_D_TYPE.
77546 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77548         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77549         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77551 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77553         [BZ #12037]
77554         * posix/unistd.h: Undo change of feature selection for ftruncate from
77555         2010-01-11.
77557 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77559         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77560         detection.
77562 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77564         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77565         fanotify_mark.
77566         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77568 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77570         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77571         variables after CHECK_SP call.
77572         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77574 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77575             Ulrich Drepper  <drepper@redhat.com>
77577         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77578         re-relocationg ld.so.
77579         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77580         _dl_init_paths call.
77581         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77582         here anymore.
77584 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77586         * resolv/res_init.c (__res_vinit): Count the default server we added.
77588 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77589             Ulrich Drepper  <drepper@redhat.com>
77591         [BZ #11968]
77592         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77593         (____longjmp_chk): Use %ebx for saving value across system call.
77594         Add unwind info.
77596 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77598         * manual/Makefile: Don't mix pattern rules with normal rules.
77600 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77602         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77603         operation.
77604         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77605         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77606         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77607         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77609         Likewise.
77611 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77613         [BZ #11979]
77614         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77615         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77617 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77619         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77620         * sysdeps/x86_64/addmul_1.S: Likewise.
77621         * sysdeps/x86_64/lshift.S: Likewise.
77622         * sysdeps/x86_64/mul_1.S: Likewise.
77623         * sysdeps/x86_64/rshift.S: Likewise.
77624         * sysdeps/x86_64/sub_n.S: Likewise.
77625         * sysdeps/x86_64/submul_1.S: Likewise.
77627 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77629         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77630         Define __sched_param instead of SCHED_* and sched_param when
77631         <bits/sched.h> is included with __need_schedparam defined.
77632         * bits/sched.h [__need_schedparam]
77633         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77634         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77635         (__defined_schedparam): Define to 1.
77636         (__sched_param): New structure, identical to sched_param.
77637         (__need_schedparam): Undefine.
77639 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77641         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77642         (epoll_create1): Declare.
77644         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77646 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77648         [BZ #7066]
77649         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77650         shifting retval into place.
77652 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77654         * nis/rpcsvc/nis.h: Update copyright notice.
77655         * nis/rpcsvc/nis.x: Likewise.
77656         * nis/rpcsvc/nis_callback.h: Likewise.
77657         * nis/rpcsvc/nis_callback.x: Likewise.
77658         * nis/rpcsvc/nis_object.x: Likewise.
77659         * nis/rpcsvc/nis_tags.h: Likewise.
77660         * nis/rpcsvc/yp.h: Likewise.
77661         * nis/rpcsvc/yp.x: Likewise.
77662         * nis/rpcsvc/ypupd.h: Likewise.
77663         * nis/yp_xdr.c: Likewise.
77664         * nis/ypupdate_xdr.c: Likewise.
77666         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77667         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77668         (pmap_getport): Use __libc_rpc_getport.
77669         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77670         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77671         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77673 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77676         fanotify_mark.
77678 2010-08-27  Roland McGrath  <roland@redhat.com>
77680         * sysdeps/i386/i686/multiarch/Makefile
77681         (CFLAGS-varshift.c): New variable.
77683 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77685         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77686         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77688         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77690         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77692 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77694         * sysdeps/x86_64/strlen.S: Unroll the loop.
77695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77696         strlen-sse2 strlen-sse2-bsf.
77697         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77698         __strlen_no_bsf if bit_Slow_BSF is set.
77699         (__strlen_sse42): Removed.
77700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77701         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77703 2010-08-25  Roland McGrath  <roland@redhat.com>
77705         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77706         * sysdeps/x86_64/multiarch/varshift.c: New file.
77707         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77708         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77709         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77710         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77712 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77715         strlen-sse2 strlen-sse2-bsf.
77716         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77717         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77718         (__strlen_sse2): Removed.
77719         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77720         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77722         bit_Slow_BSF for Atom.
77723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77724         (index_Slow_BSF): Define.
77725         (HAS_SLOW_BSF): Define.
77727 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77729         [BZ #10851]
77730         * resolv/res_init.c (__res_vinit): When no server address at all
77731         is given default to loopback.
77733 2010-08-24  Roland McGrath  <roland@redhat.com>
77735         * configure.in: Remove config-name.h generation.
77736         * configure: Regenerated.
77737         * config-name.in: File removed.
77738         * scripts/config-uname.sh: New file.
77739         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77740         ($(objdir)config-name.h): New target.
77742         * sunrpc/rpc_parse.h: Avoid nested comment.
77744 2010-08-24  Richard Henderson  <rth@redhat.com>
77745             Ulrich Drepper  <drepper@redhat.com>
77746             H.J. Lu  <hongjiu.lu@intel.com>
77748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77750         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77751         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77752         _mm_alignr_epi8 with _mm_loadu_si128.
77753         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77754         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77755         (__m128i_shift_right): Removed.
77756         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77757         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77758         * sysdeps/x86_64/multiarch/varshift.h: New file.
77759         * sysdeps/x86_64/multiarch/varshift.S: New file.
77761 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77763         * configure.in: Move assembler checks to before sysdep dir checking.
77765 2010-08-20  Petr Baudis  <pasky@suse.cz>
77767         * LICENSES: Sync the sunrpc license.
77769 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77771         * sunrpc/auth_des.c: Update copyright notice once again.
77772         * sunrpc/auth_none.c: Likewise.
77773         * sunrpc/auth_unix.c: Likewise.
77774         * sunrpc/authdes_prot.c: Likewise.
77775         * sunrpc/authuxprot.c: Likewise.
77776         * sunrpc/bindrsvprt.c: Likewise.
77777         * sunrpc/clnt_gen.c: Likewise.
77778         * sunrpc/clnt_perr.c: Likewise.
77779         * sunrpc/clnt_raw.c: Likewise.
77780         * sunrpc/clnt_simp.c: Likewise.
77781         * sunrpc/clnt_tcp.c: Likewise.
77782         * sunrpc/clnt_udp.c: Likewise.
77783         * sunrpc/clnt_unix.c: Likewise.
77784         * sunrpc/des_crypt.c: Likewise.
77785         * sunrpc/des_soft.c: Likewise.
77786         * sunrpc/get_myaddr.c: Likewise.
77787         * sunrpc/getrpcport.c: Likewise.
77788         * sunrpc/key_call.c: Likewise.
77789         * sunrpc/key_prot.c: Likewise.
77790         * sunrpc/openchild.c: Likewise.
77791         * sunrpc/pm_getmaps.c: Likewise.
77792         * sunrpc/pm_getport.c: Likewise.
77793         * sunrpc/pmap_clnt.c: Likewise.
77794         * sunrpc/pmap_prot.c: Likewise.
77795         * sunrpc/pmap_prot2.c: Likewise.
77796         * sunrpc/pmap_rmt.c: Likewise.
77797         * sunrpc/rpc/auth.h: Likewise.
77798         * sunrpc/rpc/auth_unix.h: Likewise.
77799         * sunrpc/rpc/clnt.h: Likewise.
77800         * sunrpc/rpc/des_crypt.h: Likewise.
77801         * sunrpc/rpc/key_prot.h: Likewise.
77802         * sunrpc/rpc/netdb.h: Likewise.
77803         * sunrpc/rpc/pmap_clnt.h: Likewise.
77804         * sunrpc/rpc/pmap_prot.h: Likewise.
77805         * sunrpc/rpc/pmap_rmt.h: Likewise.
77806         * sunrpc/rpc/rpc.h: Likewise.
77807         * sunrpc/rpc/rpc_des.h: Likewise.
77808         * sunrpc/rpc/rpc_msg.h: Likewise.
77809         * sunrpc/rpc/svc.h: Likewise.
77810         * sunrpc/rpc/svc_auth.h: Likewise.
77811         * sunrpc/rpc/types.h: Likewise.
77812         * sunrpc/rpc/xdr.h: Likewise.
77813         * sunrpc/rpc_clntout.c: Likewise.
77814         * sunrpc/rpc_cmsg.c: Likewise.
77815         * sunrpc/rpc_common.c: Likewise.
77816         * sunrpc/rpc_cout.c: Likewise.
77817         * sunrpc/rpc_dtable.c: Likewise.
77818         * sunrpc/rpc_hout.c: Likewise.
77819         * sunrpc/rpc_main.c: Likewise.
77820         * sunrpc/rpc_parse.c: Likewise.
77821         * sunrpc/rpc_parse.h: Likewise.
77822         * sunrpc/rpc_prot.c: Likewise.
77823         * sunrpc/rpc_sample.c: Likewise.
77824         * sunrpc/rpc_scan.c: Likewise.
77825         * sunrpc/rpc_scan.h: Likewise.
77826         * sunrpc/rpc_svcout.c: Likewise.
77827         * sunrpc/rpc_tblout.c: Likewise.
77828         * sunrpc/rpc_util.c: Likewise.
77829         * sunrpc/rpc_util.h: Likewise.
77830         * sunrpc/rpcinfo.c: Likewise.
77831         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77832         * sunrpc/rpcsvc/key_prot.x: Likewise.
77833         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77834         * sunrpc/rpcsvc/mount.x: Likewise.
77835         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77836         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77837         * sunrpc/rpcsvc/rex.x: Likewise.
77838         * sunrpc/rpcsvc/rstat.x: Likewise.
77839         * sunrpc/rpcsvc/rusers.x: Likewise.
77840         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77841         * sunrpc/rpcsvc/spray.x: Likewise.
77842         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77843         * sunrpc/rtime.c: Likewise.
77844         * sunrpc/svc.c: Likewise.
77845         * sunrpc/svc_auth.c: Likewise.
77846         * sunrpc/svc_authux.c: Likewise.
77847         * sunrpc/svc_raw.c: Likewise.
77848         * sunrpc/svc_run.c: Likewise.
77849         * sunrpc/svc_simple.c: Likewise.
77850         * sunrpc/svc_tcp.c: Likewise.
77851         * sunrpc/svc_udp.c: Likewise.
77852         * sunrpc/svc_unix.c: Likewise.
77853         * sunrpc/svcauth_des.c: Likewise.
77854         * sunrpc/xcrypt.c: Likewise.
77855         * sunrpc/xdr.c: Likewise.
77856         * sunrpc/xdr_array.c: Likewise.
77857         * sunrpc/xdr_float.c: Likewise.
77858         * sunrpc/xdr_mem.c: Likewise.
77859         * sunrpc/xdr_rec.c: Likewise.
77860         * sunrpc/xdr_ref.c: Likewise.
77861         * sunrpc/xdr_sizeof.c: Likewise.
77862         * sunrpc/xdr_stdio.c: Likewise.
77864         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77865         handling.
77867 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77869         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77871 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77873         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77874         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77875         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77876         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77877         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77878         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77879         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77880         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77882         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77883         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77884         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77885         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77886         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77888 2010-07-26  Anton Blanchard  <anton@samba.org>
77890         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77891         * malloc/arena.c (heap_trim): Likewise.
77893 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77895         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77896         here.  Not...
77897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77898         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77900 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77902         * sysdeps/i386/elf/Makefile: New file.
77904 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77906         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77907         from fanotify_init.
77908         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77911 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77913         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77914         of strncasecmp_l.
77915         * sysdeps/multiarch/strcmp.S: Likewise.
77917 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77919         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77920         strncase_l-nonascii.
77921         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77922         Add strncase_l-ssse3.
77923         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77924         * sysdeps/x86_64/strcmp.S: Likewise.
77925         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77926         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77927         * sysdeps/x86_64/strncase.S: New file.
77928         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77929         * sysdeps/x86_64/strncase_l.S: New file.
77930         * string/Makefile (strop-tests): Add strncasecmp.
77931         * string/test-strncasecmp.c: New file.
77933         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77934         warning.
77936         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77937         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77939 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77941         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77943 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77945         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77947         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77949 2010-05-01  Alan Modra  <amodra@gmail.com>
77951         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77952         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77953         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77954         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77955         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77956         tidying.  Don't tail-call __sigjmp_save for static lib.
77957         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77958         save location.
77959         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77960         (CALL_MCOUNT): Add eh info, and nop after bl.
77961         (TAIL_CALL_SYSCALL_ERROR): New macro.
77962         (PSEUDO_RET): Use it.
77963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77964         Correct save location of integer regs and cr.
77965         (_dl_profile_resolve): Correct cr save location.  Delete nops
77966         after bl when SHARED.  Reduce cfi size a little by better
77967         placement of cfi directives.
77968         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77969         make a stack frame.  Instead use parm save area as a temp.
77970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77971         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77973         Don't make a stack frame for parent, use parm save area.
77974         Increase child stack frame to 112 bytes.  Don't save unused reg,
77975         and adjust reg usage.  Set up cfi on error recovery and
77976         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77978         (__makecontext): Add dummy nop after jump to exit.
77979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77980         Use correct parm save area and cr save, reduce stack frame.
77981         Correct cfi for possible PSEUDO_RET frame setup.
77982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77983         Branch to local label emitted by PSEUDO_RET rather than
77984         __syscall_error.
77986 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77988         [BZ #11904]
77989         * locale/programs/locale.c (print_assignment): New function.
77990         (show_locale_vars): Use it.
77992 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77994         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77995         field.
77996         (struct statfs64): Likewise.
77997         (_STATFS_F_FLAGS): Define.
77998         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77999         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78000         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78001         (ST_VALID): Define locally.
78002         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78003         __statvfs_getflags, use the provided value.
78004         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78005         __ASSUME_STATFS_F_FLAGS.
78007         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78009         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78010         Add sys/fanotify.h.
78011         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78012         fanotify_mask for GLIBC_2.13.
78013         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78014         fanotify_init and fanotify_mark.
78015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78016         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78018         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78019         Add prlimit.
78020         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78021         prlimit64 for GLIBC_2.13.
78022         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78023         prlimit64.
78024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78025         syscall.
78026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78027         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78028         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78029         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78031         add prlimit alias.
78032         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78034         [BZ #11903]
78035         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78036         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78038         * nss/Makefile: Add rules to build and run tst-nss-test1.
78039         * shlib-versions: Add entry for libnss_test1.
78040         * nss/nss_test1.c: New file.
78041         * nss/tst-nss-test1.c: New file.
78043         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78044         (__nss_configure_lookup): Set appropriate entry in
78045         __nss_configure_lookup to true.
78046         * nss/nsswitch.h: Define enum with indeces of databases in
78047         databases and __nss_database_custom arrays.  Declare
78048         __nss_database_custom.
78049         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78050         to avoid using nscd when custom rules are installed.
78051         * nss/getXXbyYY_r.c: Likewise.
78052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78054         * nss/nss_files/files-parse.c: Whitespace fixes.
78056 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78058         [BZ #11883]
78059         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78060         * posix/fnmatch_loop.c: Likewise.
78062 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78064         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78065         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78066         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78067         * Versions.def [GLIBC_2.13]: Add.
78069 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78071         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78072         Also fail if tpwd after pwuid call is NULL.
78074 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78076         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78077         when converting to ms.
78079 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78081         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78082         EOPNOTSUPP errors with ENOTTY.
78083         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78084         EOPNOTSUPP errors with ENOTTY.
78086 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78088         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78089         Add strcasecmp_l-ssse3.
78090         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78091         strcasecmp.
78092         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78093         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78094         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78096 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78098         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78100         * string/Makefile (strop-tests): Add strcasecmp.
78101         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78102         strcasecmp_l-nonascii.
78103         (gen-as-const-headers): Add locale-defines.sym.
78104         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78105         * sysdeps/x86_64/strcasecmp.S: New file.
78106         * sysdeps/x86_64/strcasecmp_l.S: New file.
78107         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78108         * sysdeps/x86_64/locale-defines.sym: New file.
78109         * string/test-strcasecmp.c: New file.
78111         * string/test-strcasestr.c: Test both ends of the range of characters.
78112         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78114 2010-07-29  Roland McGrath  <roland@redhat.com>
78116         [BZ #11856]
78117         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78119 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78121         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78122         for ld.so.
78124 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78126         * manual/memory.texi (Malloc Tunable Parameters): Document
78127         M_PERTURB.
78129 2010-07-26  Roland McGrath  <roland@redhat.com>
78131         [BZ #11840]
78132         * configure.in (-fgnu89-inline check): Set and substitute
78133         gnu89_inline, not libc_cv_gnu89_inline.
78134         * configure: Regenerated.
78135         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78137 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78139         * string/test-strnlen.c: New file.
78140         * string/Makefile (strop-tests): Add strnlen.
78141         * string/tester.c (test_strnlen): Add a few more test cases.
78142         * string/tst-strlen.c: Better error reporting.
78144         * sysdeps/x86_64/strnlen.S: New file.
78146 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78148         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78149         lower-latency instructions.
78151 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78153         * string/test-strcasestr.c: New file.
78154         * string/test-strstr.c: New file.
78155         * string/Makefile (strop-tests): Add strstr and strcasestr.
78156         * string/str-two-way.h: Don't undefine MAX.
78157         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78159 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78162         strcasestr-nonascii.
78163         (CFLAGS-strcasestr-nonascii.c): Define.
78164         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78165         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78166         Remove unused attribute.
78168 2010-07-20  Roland McGrath  <roland@redhat.com>
78170         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78171         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78172         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78173         like LD_HWCAP_MASK can disable hwcaps.
78175 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78177         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78179 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78181         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78182         call in strcasestr.
78183         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78184         __strcasestr_sse42_nonascii.
78185         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78186         strcasestr-nonascii.c.
78187         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78189 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78191         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78192         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78193         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78196 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78198         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78199         fcntl.
78201 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78203         [BZ #11577]
78204         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78205         dl_signal_cerror.
78207 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78210         _PC_PIPE_BUF using F_GETPIPE_SZ.
78212 2010-07-05  Roland McGrath  <roland@redhat.com>
78214         * manual/arith.texi (Rounding Functions): Fix rint description
78215         implicit in round description.
78217 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78219         * elf/Makefile: Fix linking for a few tests to make recent linker
78220         happy.
78222 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78224         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78225         $(common-objpfx)libc_nonshared.a.
78227 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78229         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78230         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78231         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78232         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78233         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78234         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78235         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78236         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78251         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78252         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78253         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78254         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78255         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78256         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78257         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78258         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78259         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78260         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78261         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78262         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78278 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78280         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78281         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78282         * string/memmove.c (memmove): Renamed to ...
78283         (MEMMOVE): ...this.  Default to memmove.
78284         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78285         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78286         (END_CHK): Define.
78287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78288         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78289         mempcpy-ssse3-back memmove-ssse3-back.
78290         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78291         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78293         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78294         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78295         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78296         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78297         * sysdeps/x86_64/multiarch/memmove.c: New file.
78298         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78299         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78300         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78301         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78302         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78303         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78304         Define.
78305         (index_Fast_Copy_Backward): Define.
78306         (HAS_ARCH_FEATURE): Define.
78307         (HAS_FAST_REP_STRING): Define.
78308         (HAS_FAST_COPY_BACKWARD): Define.
78310 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78312         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78313         Restore proper fallback handling.
78315 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78317         [BZ #11701]
78318         * posix/group_member.c (__group_member): Correct checking loop.
78320         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78321         OOM in getpwuid_r correctly.  Return error number when the caller
78322         should return, otherwise -1.
78323         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78324         call returning > 0 value.
78325         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78327 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78329         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78330         libc_nonshared.a from targets in modules-names.
78332 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78334         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78335         requires it.
78337 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78339         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78340         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78344 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78346         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78348 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78351         and F_GETPIPE_SZ.
78352         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78359 2010-06-14  Roland McGrath  <roland@redhat.com>
78361         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78363 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78365         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78366         __REDIRECT followed by __THROW.
78367         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78368         * posix/getopt.h (getopt): Likewise.
78370 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78372         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78373         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78374         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78375         in AT_FLAGS.
78376         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78377         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78379 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78383 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78385         [BZ #11640]
78386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78387         Properly check family and model.
78389 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78391         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78393 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78395         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78397 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78399         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78400         symbol reference.
78402 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78404         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78405         symbol reference.
78407 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78409         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78410         and internal_recvmmsg.
78411         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78412         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78413         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78414         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78416         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78417         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78418         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78420 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78422         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78424 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78426         POWER7 optimizations.
78427         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78428         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78430 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78432         * version.h: Update for 2.13 development version.
78434 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78436         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78437         exceptions.  Return 0.
78439 2010-05-07  Roland McGrath  <roland@redhat.com>
78441         * elf/ldconfig.c (main): Add a const.
78443 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78445         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78446         (args_options): Add no-idn option.
78447         (ahosts_keys_int): Add idn_flags to ai_flags.
78448         (parse_option): Handle 'i' option to clear idn_flags.
78450         * malloc/malloc.c (_int_free): Possible race in the most recently
78451         added check.  Only act on the data if no current modification
78452         happened.
78454 See ChangeLog.17 for earlier changes.